Bug #51741 Unit test pfs-t failing in mysql-next-mr-bugfixing
Submitted: 5 Mar 2010 0:40 Modified: 10 Mar 2010 18:18
Reporter: Marc ALFF Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Performance Schema Severity:S3 (Non-critical)
Version:mysql-next-mr-bugfixing OS:Any
Assigned to: Marc ALFF CPU Architecture:Any

[5 Mar 2010 0:40] Marc ALFF
Description:
In mysql-next-mr-bugfixing, the unit test pfs-t fails.

These tests fails:
not ok 88 - instrumented
not ok 115 - instrumented
which later leads to a crash

pfs-t: pfs.cc:1346: PSI_file_locker* get_thread_file_stream_locker_v1(PSI_file*, PSI_file_operation): Assertion `pfs_file != __null' failed.

How to repeat:
./pfs-t
[5 Mar 2010 1:14] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/102384

3122 Marc Alff	2010-03-04
      Bug#51741 Unit test pfs-t failing in mysql-next-mr-bugfixing
      
      The root cause of the failure is that when
      Bug#51447 performance schema evil twin files
      was fixed, instrumented file names got normalized.
      
      The pfs-t unit test depends on this file normalization,
      but it was not updated.
      
      This fix aligns pfs-t.cc lookup_file_by_name()
      with the logic in pfs_instr.cc find_or_create_file().
[5 Mar 2010 1:14] Marc ALFF
See related
Bug#51447 performance schema evil twin files
[5 Mar 2010 13:34] Marc ALFF
Approved by Olav by email
[7 Mar 2010 19:06] Marc ALFF
Queued in:
- mysql-next-mr-bugfixing (5.6.99-m4)
- mysql-6.0-codebase-bugfixing
[10 Mar 2010 13:38] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100310133305-0jdlngbtrkoqzckh) (version source revid:alik@sun.com-20100310132404-uqarl0o0vlra2kjx) (merge vers: 6.0.14-alpha) (pib:16)
[10 Mar 2010 13:38] Bugs System
Pushed into 5.5.3-m3 (revid:alik@sun.com-20100310132634-zpyjzn346sgrm59u) (version source revid:alik@sun.com-20100310132634-zpyjzn346sgrm59u) (merge vers: 5.5.3-m3) (pib:16)
[10 Mar 2010 13:39] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100310132718-l0tegumhbg8umgjd) (version source revid:alik@sun.com-20100310132252-kpi29r22kjtl493x) (pib:16)
[10 Mar 2010 15:07] Marc ALFF
Doc team:
- fix merged in 5.5.3 and 6.0
- first P_S release, nothing to document
[10 Mar 2010 18:18] Paul DuBois
Not in any released version. No changelog entry needed.