[Asterisk-Users] Regular Crashes
Andrew Gough
AGough at gcdtech.com
Wed Jan 4 01:43:12 MST 2006
Will that give a fuller bt's than the two below? These were done from
core dumps with asterisk compiled with dont-optimize. I can run asterisk
through gdb but at the moment running with safe_asterisk at least it
automatically restarts after a crash. Though if it will further help
sorting the probem I can run it through gdb.
Regards
Andrew
FIRST TRACE
#0 0x400268b7 in pthread_mutex_trylock () from /lib/tls/libpthread.so.0
No symbol table info available.
#1 0x0806c146 in ast_mutex_trylock (pmutex=0x672e33fc) at lock.h:597 No
locals.
#2 0x0806175a in ast_queue_hangup (chan=0x672e3330) at channel.c:671
f = {frametype = 4, subclass = 1, datalen = 0, samples = 0,
mallocd = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec =
0,
tv_usec = 0}, prev = 0x0, next = 0x0}
#3 0x408fc2d9 in __sip_autodestruct (data=0x81be208) at chan_sip.c:1315
p = (struct sip_pvt *) 0x81be208
#4 0x08056c3e in ast_sched_runq (con=0x8172f28) at sched.c:373
current = (struct sched *) 0x8174868
tv = {tv_sec = 1135275568, tv_usec = 989877}
x = 0
res = 1083432672
#5 0x40927e28 in do_monitor (data=0x0) at chan_sip.c:11253
res = 0
sip = (struct sip_pvt *) 0x0
peer = (struct sip_peer *) 0x0
t = 1135275568
fastrestart = 0
lastpeernum = -1
curpeernum = 6
reloading = 0
#6 0x40024b63 in start_thread () from /lib/tls/libpthread.so.0 No
symbol table info available.
#7 0x401ac18a in clone () from /lib/tls/libc.so.6 No symbol table info
available.
SECOND TRACE
#0 0x400268b7 in pthread_mutex_trylock () from /lib/tls/libpthread.so.0
No symbol table info available.
#1 0x0806c146 in ast_mutex_trylock (pmutex=0x120010c) at lock.h:597 No
locals.
#2 0x0806175a in ast_queue_hangup (chan=0x1200040) at channel.c:671
f = {frametype = 4, subclass = 1, datalen = 0, samples = 0,
mallocd = 0, offset = 0, src = 0x0,
data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, prev = 0x0, next =
0x0}
#3 0x408fc2d9 in __sip_autodestruct (data=0x81eb518) at chan_sip.c:1315
p = (struct sip_pvt *) 0x81eb518
#4 0x08056c3e in ast_sched_runq (con=0x8172f78) at sched.c:373
current = (struct sched *) 0x8174528
tv = {tv_sec = 1135343875, tv_usec = 693503}
x = 1
res = 0
#5 0x40927e28 in do_monitor (data=0x0) at chan_sip.c:11253
res = 0
sip = (struct sip_pvt *) 0x0
peer = (struct sip_peer *) 0x0
t = 1135343875
fastrestart = 0
lastpeernum = -1
curpeernum = 6
reloading = 0
#6 0x40024b63 in start_thread () from /lib/tls/libpthread.so.0 No
symbol table info available.
#7 0x401ac18a in clone () from /lib/tls/libc.so.6 No symbol table info
available.
Regards
Andrew Gough
Senior Partner
GCD Technologies
Unit 414
Lisburn Enterprise Park
Ballinderry Road
Lisburn
Co Antrim
BT28 2BP
E: agough at gcdtech.com
W: www.gcdtech.com
T: 028 9264 1144
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Robert La Ferla
> Sent: 03 January 2006 17:29
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Regular Crashes
>
> Did you try running * under gdb? When it crashes, do a "bt" to get a
> back trace and post it to the mailing list.
>
> e.g.
>
> % gdb /usr/sbin/asterisk
> GNU gdb Red Hat Linux (6.3.0.0-1.84rh)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "i386-redhat-linux-gnu"...Using host
> libthread_db library "/lib/libthread_db.so.1".
> (gdb) run
>
> .... wait for crash ....
>
> (gdb) bt
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list