[Home]

Summary:ASTERISK-04064: SEGV with Realtime and IAX2
Reporter:Thorsten Lockert (tholo)Labels:
Date Opened:2005-05-04 11:22:10Date Closed:2005-05-04 12:08:50
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:So we have been experimenting a bit with Realtime on IAX2 -- when enabling RTCache on IAX2.

****** STEPS TO REPRODUCE ******

Enable Realtime using MySQL.  Enable RTCache on IAX2.  Register a peer.  Poof.

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

[following message is repeated 1-300 times]
   -- Seeding 'Bellit412' at AAA.BBB.CCC.DDD:XXX for 60
   -- Seeding 'Bellit412' at AAA.BBB.CCC.DDD:XXX for 60
   -- Seeding 'Bellit412' at AAA.BBB.CCC.DDD:XXX for 60

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3808176 (LWP 29260)]
0x007c31ef in _int_free () from /lib/tls/libc.so.6
(gdb) where
#0  0x007c31ef in _int_free () from /lib/tls/libc.so.6
#1  0x007c3afa in free () from /lib/tls/libc.so.6
#2  0x007dd745 in tzset_internal () from /lib/tls/libc.so.6
#3  0x007de19e in tzset () from /lib/tls/libc.so.6
#4  0x007e2bce in strftime_l () from /lib/tls/libc.so.6
ASTERISK-1  0x007e362b in strftime_l () from /lib/tls/libc.so.6
ASTERISK-2  0x007e2b2f in strftime () from /lib/tls/libc.so.6
ASTERISK-3  0x08055eda in ast_log (level=0, file=0x1f288d "res_config_mysql.c", line=120,
   function=0x1f2857 "realtime_mysql", fmt=0x1f2930 "MySQL RealTime: Retrieve SQL: %s\n")
   at logger.c:690
ASTERISK-4  0x001d395e in ?? () from /usr/lib/asterisk/modules/res_config_mysql.so
ASTERISK-5  0x00000000 in ?? ()
(gdb) frame 7
ASTERISK-3  0x08055eda in ast_log (level=0, file=0x1f288d "res_config_mysql.c", line=120,
   function=0x1f2857 "realtime_mysql", fmt=0x1f2930 "MySQL RealTime: Retrieve SQL: %s\n")
   at logger.c:690
690             strftime(date, sizeof(date), dateformat, &tm);
(gdb) print tm
$1 = {tm_sec = 12, tm_min = 8, tm_hour = 18, tm_mday = 4, tm_mon = 4, tm_year = 105, tm_wday = 3,
 tm_yday = 123, tm_isdst = 1, tm_gmtoff = 7200, tm_zone = 0x94aa078 "CEST"}
Comments:By: Kevin P. Fleming (kpfleming) 2005-05-04 12:07:49

Please search the bug tracker before posting a new bug.