[Home]

Summary:ASTERISK-04860: core dump when i try to authenticate with realtime mysql
Reporter:Giraudon Aurelien (spdy)Labels:
Date Opened:2005-08-19 09:40:50Date Closed:2005-08-23 07:06:42
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I use the august 18 2005 tarball, all my IAX information are in a mysql database.
When i want to authenticate a user with IAX, asterisk make the request to mysql and imediately go to a core dump.
The backtrace is in additional information.

****** ADDITIONAL INFORMATION ******

#0 realtime_peer (peername=0x81134c0 "à4\021\bå4\021\b") at chan_iax2.c:2593
#1 0x406274ce in register_verify (callno=1, sin=0x40796a20, ies=0x0)
at chan_iax2.c:804
#2 0x4062016f in socket_read (id=0x813cc98, fd=15, events=1, cbdata=0x813ccc8)
at chan_iax2.c:7159
#3 0x0805413d in ast_io_wait (ioc=0x813b7c0, howlong=1075861640) at io.c:268
#4 0x40622536 in network_thread (ignore=0x0) at chan_iax2.c:7743
ASTERISK-1 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-2 0x401ab18a in clone () from /lib/tls/libc.so.6
Comments:By: Mark Spencer (markster) 2005-08-20 11:35:06

This is not CVS head asterisk.  Please download latest CVS head Asterisk *via CVS* and rerun your test.  Also be sure to rm -rf /usr/lib/asterisk/modules (or move the directory) before doing the make install first.  Thanks.

By: Giraudon Aurelien (spdy) 2005-08-23 05:10:00

for sure.
Done now, i format and reinstall a debian sarge to make sure.
yesterday morning i get the cvs (zaptel,libpri,asterisk) and make;make install;
and then no more bug, the core dump has disapeared.
Maybe a problem with my sarge install, but to test, i re-format and re-get the cvs from (august 18) and as the same, make;make install; and core-dump, it was just to test if the bug come from my configuration and no it wasnt, it was the august 18 asterisk version which bug.
So i dont know if you have modify something between the 2 cvs but with the last version i dont have a core-dump.
So the bug is know solved.

By: Michael Jerris (mikej) 2005-08-23 07:06:41

bug reported fixed in latest head.