Summary: | ASTERISK-17114: [patch] *** glibc detected *** /usr/sbin/asterisk: free(): invalid pointer on shutdown | ||
Reporter: | Paul Belanger (pabelanger) | Labels: | |
Date Opened: | 2010-12-15 14:09:48.000-0600 | Date Closed: | 2010-12-16 00:51:53.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_fax |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20101215__issue18481.diff.txt ( 1) backtrace.txt ( 2) valgrind.txt | |
Description: | Ran into this issue under the testsuite, with tests/mixmonitor. Seem to happen on shutdown. | ||
Comments: | By: Tilghman Lesher (tilghman) 2010-12-15 14:22:38.000-0600 Just an ordering problem on shutdown. Patch uploaded. By: Paul Belanger (pabelanger) 2010-12-15 15:58:28.000-0600 +1 here, seems to have resolved the issue. Thanks Tilghman. By: Digium Subversion (svnbot) 2010-12-15 18:28:05.000-0600 Repository: asterisk Revision: 298392 U branches/1.4/cdr/cdr_sqlite.c ------------------------------------------------------------------------ r298392 | tilghman | 2010-12-15 18:28:04 -0600 (Wed, 15 Dec 2010) | 8 lines Unregister before shutting down the connection, to avoid a race. (closes issue ASTERISK-17114) Reported by: pabelanger Patches: 20101215__issue18481.diff.txt uploaded by tilghman (license 14) Tested by: pabelanger ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=298392 By: Digium Subversion (svnbot) 2010-12-15 18:29:11.000-0600 Repository: asterisk Revision: 298393 _U branches/1.6.2/ U branches/1.6.2/cdr/cdr_sqlite.c ------------------------------------------------------------------------ r298393 | tilghman | 2010-12-15 18:29:10 -0600 (Wed, 15 Dec 2010) | 15 lines Merged revisions 298392 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r298392 | tilghman | 2010-12-15 18:28:04 -0600 (Wed, 15 Dec 2010) | 8 lines Unregister before shutting down the connection, to avoid a race. (closes issue ASTERISK-17114) Reported by: pabelanger Patches: 20101215__issue18481.diff.txt uploaded by tilghman (license 14) Tested by: pabelanger ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=298393 By: Digium Subversion (svnbot) 2010-12-15 18:30:06.000-0600 Repository: asterisk Revision: 298394 _U branches/1.8/ U branches/1.8/cdr/cdr_sqlite.c ------------------------------------------------------------------------ r298394 | tilghman | 2010-12-15 18:30:05 -0600 (Wed, 15 Dec 2010) | 22 lines Merged revisions 298393 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r298393 | tilghman | 2010-12-15 18:29:10 -0600 (Wed, 15 Dec 2010) | 15 lines Merged revisions 298392 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r298392 | tilghman | 2010-12-15 18:28:04 -0600 (Wed, 15 Dec 2010) | 8 lines Unregister before shutting down the connection, to avoid a race. (closes issue ASTERISK-17114) Reported by: pabelanger Patches: 20101215__issue18481.diff.txt uploaded by tilghman (license 14) Tested by: pabelanger ........ ................ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=298394 By: Digium Subversion (svnbot) 2010-12-16 00:51:53.000-0600 Repository: asterisk Revision: 298441 _U trunk/ U trunk/cdr/cdr_sqlite.c ------------------------------------------------------------------------ r298441 | tilghman | 2010-12-16 00:51:52 -0600 (Thu, 16 Dec 2010) | 29 lines Merged revisions 298394 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r298394 | tilghman | 2010-12-15 18:30:04 -0600 (Wed, 15 Dec 2010) | 22 lines Merged revisions 298393 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r298393 | tilghman | 2010-12-15 18:29:10 -0600 (Wed, 15 Dec 2010) | 15 lines Merged revisions 298392 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r298392 | tilghman | 2010-12-15 18:28:04 -0600 (Wed, 15 Dec 2010) | 8 lines Unregister before shutting down the connection, to avoid a race. (closes issue ASTERISK-17114) Reported by: pabelanger Patches: 20101215__issue18481.diff.txt uploaded by tilghman (license 14) Tested by: pabelanger ........ ................ ................ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=298441 |