Hi Mat, I can easily replicate the problem. I just put an entry on the iax table for mysql, fire up iax soft client and BOOM .. asterisk core dumps. What's weird is sip is working fine using realtime. Here is a gdb backtrace. Not really a programmer. Hope someone helps. Thanks.
#0 0x00beeec0 in vfprintf () from /lib/tls/libc.so.6 (gdb) bt #0 0x00beeec0 in vfprintf () from /lib/tls/libc.so.6 #1 0x00c0f286 in vsnprintf () from /lib/tls/libc.so.6 #2 0x00bf7622 in snprintf () from /lib/tls/libc.so.6 #3 0x0031187a in ?? () from /usr/lib/asterisk/modules/res_config_mysql.so #4 0x00b19340 in ?? () #5 0x00000100 in ?? () #6 0x00330900 in ?? () from /usr/lib/asterisk/modules/res_config_mysql.so #7 0x00b19480 in ?? () #8 0x0082d5d6 in ?? () from /usr/lib/asterisk/modules/chan_iax2.so #9 0x003308fc in ?? () from /usr/lib/asterisk/modules/res_config_mysql.so #10 0x00b19720 in ?? () #11 0x0031174c in ?? () from /usr/lib/asterisk/modules/res_config_mysql.so #12 0x00000000 in ?? () On Apr 8, 2005 8:53 PM, Matt Schulte <[EMAIL PROTECTED]> wrote: > I've never actually core dumped but I *have* been able to hang asterisk > a couple times, I believed my problem was when I lost my mysql > connection. Why it lost connection is a mystery, the servers are on the > same testswitch. :/ > > I forgot which head ver it was, a couple weeks ago. > > -----Original Message----- > From: Paul P. Pongco [mailto:[EMAIL PROTECTED] > Sent: Friday, April 08, 2005 1:44 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] iax / realtime problems > > Hello, > > I am using CVS-NHEAD-03/29/05-15:51:16 and testing iax realtime. I have > configured a test account on iax.conf: > > [test] > type=friend > context=test > username=test > auth=md5 > secret=testing > host=dynamic > disallow=all > allow=ilbc > allow=gsm > callerid=1010 > trunk=no > qualify=no > > Then I insert an entry on mysql for testing realtime (btw realtime on > the asterisk box works well for sip on both the flatfile and mysql). It > has the same config as that on the flatfile but with different username > and password (iaxtest). Asterisk crashes with the following error: > > Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: > REGREQ > Timestamp: 00003ms SCall: 03403 DCall: 00000 [x.x.0.93:4569] > USERNAME : iaxtest > REFRESH : 300 > > Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: > ACK > Timestamp: 00003ms SCall: 00003 DCall: 03403 [x.x.0.93:4569] > -- Seeding 'iaxtest' at x.x.0.93:4569 for 60 > -- Seeding 'iaxtest' at x.x.0.93:4569 for 60 > -- Seeding 'iaxtest' at x.x.0.93:4569 for 60 > --snip, above lines just repeat here-- > -- Seeding 'iaxtest' at x.x.0.93:4569 for 60 > Ouch ... error while writing audio data: : Broken pipe Segmentation > fault (core dumped) > > On iax.conf > rtcachefriends=yes > rtnoupdate=yes > rtautoclear=yes > > What could be causing this? Anyone seen this problem before? Help would > be appreciated. Thanks. > > -- > Cheers, > > Paul P. Pongco > Mosaic Communications Inc. > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
