Bug #8032 auto_increment.test - warning about unfreed memory + unclosed files
Submitted: 20 Jan 2005 9:17 Modified: 5 Apr 2005 12:11
Reporter: Sergey Petrunya Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0-bk OS:Linux (linux x86)
Assigned to: Sergei Golubchik CPU Architecture:Any

[20 Jan 2005 9:17] Sergey Petrunya
Description:
auto_increment test produces warnings with 5.0 tree, compiled with compile-pentium-debug-max ( didn't happen with -debug last time for me)
tip cset: ChangeSet@1.1822, 2005-01-19 23:11:50+03:00, sergefp@mysql.com

How to repeat:
run ./mysql-test-run --force and get this in master.err:

CURRENT_TEST: auto_increment
050120 11:56:40 [Note] Got signal 15 to shutdown mysqld
050120 11:56:40 [Note] /home/psergey/mysql-5.0-look3/sql/mysqld: Normal shutdown
050120 11:56:40  InnoDB: Starting shutdown...
050120 11:56:42  InnoDB: Shutdown completed; log sequence number 0 43725
050120 11:56:42 [Note] /home/psergey/mysql-5.0-look3/sql/mysqld: Shutdown complete

^G/home/psergey/mysql-5.0-look3/sql/mysqld: 5 files and 0 streams is left open

User time 0.17, System time 0.20
Maximum resident set size 0, Integral resident set size 0
Non-physical pagefaults 10636, Physical pagefaults 0, Swaps 0
Blocks in 0 out 0, Messages in 0 out 0, Signals 0
Voluntary context switches 70, Involuntary context switches 98
Warning: Not freed memory segments: 6
Warning: Memory that was not free'ed (326 bytes):
            14 bytes at 0x008d251a8, allocated at line  132 in 'my_open.c'
            14 bytes at 0x008d25178, allocated at line  132 in 'my_open.c'
            14 bytes at 0x008d36258, allocated at line  132 in 'my_open.c'
            14 bytes at 0x008d004d0, allocated at line  132 in 'my_open.c'
            14 bytes at 0x008cce2a0, allocated at line  132 in 'my_open.c'
           256 bytes at 0x008cce2d0, allocated at line  280 in 'examples/ha_archive.cc'
Maximum memory usage: 1742231 bytes (1702k)
[5 Apr 2005 12:11] Sergei Golubchik
Cannot repeat anymore