Bug #13471 Memory leak in ha_tina

Submitted: 25 Sep 2005 17:13 Modified: 26 Sep 2005 9:52
Reporter: Ingo Strüwing Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0.14-rc, tadays pull OS:Linux (Linux)
Assigned to: Petr Chardin CPU Architecture:Any

[25 Sep 2005 17:13] Ingo Strüwing
Description:
TEST                            RESULT
-------------------------------------------------------
csv                            [ pass ]   
-------------------------------------------------------

Ending Tests
Shutting-down MySQL daemon

Master shutdown finished
Slave shutdown finished
All 1 tests were successful.
WARNING: Got errors/warnings while running tests. Please examine
/home/mydev/mysql-5.0-5000/mysql-test/var/log/warnings for details.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Extract of mysql-test/var/log/master.err:

CURRENT_TEST: csv
...
050925 20:02:31 [Note] /home/mydev/mysql-5.0-5000/sql/mysqld: ready for connections.
Version: '5.0.14-rc-debug-log'  socket: '/home/mydev/mysql-5.0-5000/mysql-test/var/tmp/master.sock'  port: 9306  Source distribution
050925 20:02:33 [Note] Got signal 15 to shutdown mysqld
050925 20:02:33 [Note] /home/mydev/mysql-5.0-5000/sql/mysqld: Normal shutdown

050925 20:02:33  InnoDB: Starting shutdown...
050925 20:02:35  InnoDB: Shutdown completed; log sequence number 0 43655
050925 20:02:35 [Note] /home/mydev/mysql-5.0-5000/sql/mysqld: Shutdown complete
...
Warning: Not freed memory segments: 1
Warning: Memory that was not free'ed (256 bytes):
           256 bytes at 0x008eb0808, allocated at line  155 in 'examples/ha_tina.cc'
Maximum memory usage: 1723719 bytes (1684k)

How to repeat:
BUILD/compile-pentium-debug-max
cd mysql-test && ./mysql-test-run csv
[25 Sep 2005 21:02] MySQL Verification Team
TEST                            RESULT
-------------------------------------------------------
csv                            [ pass ]   
-------------------------------------------------------

Ending Tests
Shutting-down MySQL daemon

Master shutdown finished
Slave shutdown finished
All 1 tests were successful.
WARNING: Got errors/warnings while running tests. Please examine
/home/miguel/dbs/mysql-5.0/mysql-test/var/log/warnings for details.

miguel@hegel:~/dbs/mysql-5.0/mysql-test> cat /home/miguel/dbs/mysql-5.0/mysql-test/var/log/warnings 
Warning: Not freed memory segments: 1
Warning: Memory that was not free'ed (256 bytes):
[26 Sep 2005 5:45] Brian Aker
Check with Serg (he I believe just added an init and a destruction method)

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.