All pastes #248634 Raw Edit

Untitled

public text v1 · immutable
#248634 ·published 2006-11-14 21:23 UTC
rendered paste body
(gdb) thread apply all bt full

Thread 13 (process 4647):
#0  0x00002b93fd8c219f in __read_nocancel () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002b93fd58304b in el_push () from /usr/lib/libedit.so.2
No symbol table info available.
#2  0x00002b93fd583108 in el_getc () from /usr/lib/libedit.so.2
No symbol table info available.
#3  0x00002b93fd582f67 in el_push () from /usr/lib/libedit.so.2
No symbol table info available.
#4  0x00002b93fd58335d in el_gets () from /usr/lib/libedit.so.2
No symbol table info available.
#5  0x00002b93fd310f53 in openpbx_main (argc=<value optimized out>, argv=<value optimized out>) at openpbx.c:2379
        title = "OpenPBX Console on 'iCall-ewc-2' (pid 4647)", '\0' <repeats 13 times>, "h&#262;Üý\223+\000\000&#340;&#380;&#281;&#729;&#729;\177\000\000\202[\030ý\223+\000\000\000\000\000\000\000\000\000\000/s\030ý\223+\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\230$Žý\223+\000\000 +\030ý\223+\000\000\000\000\000\000\000\000\000\000/s\030ý\223+\000\000\002\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\020zý\223+\000\000 +\030ý\223+\000\000<pÝý\223+\000\000P#Ýýu\032i\t\002\000Üý\223+\000\000\024", '\0' <repeats 15 times>...
        c = <value optimized out>
        filename = "/root/.openpbx_history", '\0' <repeats 57 times>
        hostname = "iCall-ewc-2", '\0' <repeats 52 times>
        tmp = "\033[1;37;40mOpenPBX Ready.\n\033[0;37;40m\000&#729;\177\000\000H\023\031ý\223+\000\000pÂ&#281;&#729;&#729;\177\000\0000Â&#281;&#729;&#729;\177\000\000\000\000\000\000\000\000\000\000\216&#729;w\001\000\000\000"
        xarg = <value optimized out>
        x = <value optimized out>
        f = <value optimized out>
        sigs = {__val = {134238211, 0 <repeats 15 times>}}
        num = 1
        buf = 0x50d450 ""
        runuser = 0x2b93fd46d500 "icall"
        rungroup = 0x2b93fd46c980 "icall"
        __PRETTY_FUNCTION__ = "openpbx_main"
#6  0x00002b93fdde049b in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#7  0x000000000040058a in _start () at ../sysdeps/x86_64/elf/start.S:113
No locals.

Thread 12 (process 4649):
#0  0x00002b93fde82e22 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b93fd30c0e6 in listener (unused=<value optimized out>) at openpbx.c:577
        sunaddr = {sun_family = 0,
  sun_path = '\0' <repeats 46 times>, "\030&#350;Üý\223+\000\000()Žý\223+\000\000\000\000\000\000\000\000\000\000\210t\234ý\223+\000\000p&#272;\213ý\223+\000\000\000ž&#263;&#729;&#729;\177", '\0' <repeats 11 times>, "ž&#263;&#729;&#729;\177"}
        s = 0
        len = 0
---Type <return> to continue, or q <return> to quit---
        x = -1655280
        flags = <value optimized out>
        fds = {{fd = 4, events = 1, revents = 0}}
        attr = {__size = "\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\020", '\0' <repeats 37 times>, __align = 0}
        __PRETTY_FUNCTION__ = "listener"
#2  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 11 (process 4650):
#0  0x00002b93fd69eeb1 in mq_timedreceive () from /lib/librt.so.1
No symbol table info available.
#1  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#3  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 10 (process 4651):
#0  0x00002b93fd8bfa9a in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002b93fd305c91 in do_devstate_changes (data=<value optimized out>) at lock.h:618
        cur = (struct state_change *) 0x0
#2  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 9 (process 4654):
#0  0x00002b93fde84d76 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00002aaaaae5fff2 in do_parking_thread (ignore=<value optimized out>) at channel.h:1058
        ms = -1
        tms = <value optimized out>
        max = -1655600
        pu = <value optimized out>
        pl = (struct parkeduser *) 0x0
        tv = {tv_sec = 4294967, tv_usec = 295000}
        f = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        exten = '\0' <repeats 79 times>
        peername = <value optimized out>
        returnexten = '\0' <repeats 79 times>
        con = <value optimized out>
        x = <value optimized out>
        rfds = {fds_bits = {0 <repeats 16 times>}}
        efds = {fds_bits = {0 <repeats 16 times>}}
        nrfds = {fds_bits = {0 <repeats 16 times>}}
        nefds = {fds_bits = {0 <repeats 16 times>}}
        __PRETTY_FUNCTION__ = "do_parking_thread"
#2  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 8 (process 4655):
#0  0x00002b93fde82e22 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b93fd2b0534 in opbx_io_wait (ioc=0x531b70, howlong=-4) at io.c:274
        res = <value optimized out>
        x = <value optimized out>
        origcnt = <value optimized out>
#2  0x00002aaaab397536 in do_monitor (data=<value optimized out>) at chan_mgcp.c:3461
        reloading = 0
#3  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 7 (process 4656):
#0  0x00002b93fde82e22 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00002aaaab619200 in do_monitor (data=<value optimized out>) at chan_zap.c:6264
        count = 0
        res = <value optimized out>
        res2 = <value optimized out>
        spoint = 0
        pollres = -41168784
        i = <value optimized out>
        last = (struct zt_pvt *) 0x0
        thispass = 1163539073
---Type <return> to continue, or q <return> to quit---
        found = 0
        buf = '\0' <repeats 1023 times>
        pfds = (struct pollfd *) 0x5018b0
        lastalloc = 1
        __PRETTY_FUNCTION__ = "do_monitor"
#2  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 6 (process 4657):
#0  0x00002b93fde82e22 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b93fd2b0534 in opbx_io_wait (ioc=0x2aaaab5042a0, howlong=-4) at io.c:274
        res = <value optimized out>
        x = <value optimized out>
        origcnt = <value optimized out>
#2  0x00002aaaab95b623 in network_thread (ignore=<value optimized out>) at chan_iax2.c:7073
        res = <value optimized out>
        count = 0
        f = (struct iax_frame *) 0x0
        freeme = <value optimized out>
        __PRETTY_FUNCTION__ = "network_thread"
#3  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 5 (process 4658):
#0  0x00002b93fde82e22 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b93fd2b0534 in opbx_io_wait (ioc=0x2aaaab50ea60, howlong=-4) at io.c:274
        res = <value optimized out>
        x = <value optimized out>
        origcnt = <value optimized out>
#2  0x00002aaaabebe691 in do_monitor (data=<value optimized out>) at chan_sip.c:14286
        sin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"}
        res = 1
        sip = (struct sip_pvt *) 0x0
        peer = (struct sip_peer *) 0x0
        t = 1163539073
---Type <return> to continue, or q <return> to quit---
        fastrestart = 0
        lastpeernum = -1
        curpeernum = 7
        reloading = <value optimized out>
        __PRETTY_FUNCTION__ = "do_monitor"
#3  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 4 (process 4659):
#0  0x00002b93fde82e22 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b93fd2b0534 in opbx_io_wait (ioc=0x2aaaab50a890, howlong=-4) at io.c:274
        res = <value optimized out>
        x = <value optimized out>
        origcnt = <value optimized out>
#2  0x00002aaaabfd74c1 in network_thread (ignore=<value optimized out>) at pbx_dundi.c:2110
No locals.
#3  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (process 4660):
#0  0x00002b93fde54785 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b93fde545f0 in sleep () from /lib/libc.so.6
No symbol table info available.
#2  0x00002aaaabfdc87a in process_precache (ign=<value optimized out>) at pbx_dundi.c:2145
        now = 1163539073
        context = '\0' <repeats 255 times>
        number = '\0' <repeats 255 times>
        run = 0
#3  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

---Type <return> to continue, or q <return> to quit---
Thread 2 (process 4661):
#0  0x00002b93fde54785 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b93fde545f0 in sleep () from /lib/libc.so.6
No symbol table info available.
#2  0x00002aaaac0edbf4 in scan_thread (unused=<value optimized out>) at pbx_spool.c:362
        st = {st_dev = 2051, st_ino = 137314, st_nlink = 2, st_mode = 16872, st_uid = 1001, st_gid = 1001, pad0 = 0, st_rdev = 0, st_size = 80,
  st_blksize = 131072, st_blocks = 0, st_atim = {tv_sec = 1163539050, tv_nsec = 0}, st_mtim = {tv_sec = 1163539050, tv_nsec = 0}, st_ctim = {
    tv_sec = 1163539050, tv_nsec = 0}, __unused = {0, 0, 0}}
        dir = (DIR *) 0x2aaaaac12010
        de = <value optimized out>
        fn = "/opt/icall/var/spool/outgoing/test.call", '\0' <repeats 216 times>
        res = <value optimized out>
        last = 1163539050
        next = 1163539350
        now = 1163539073
        __PRETTY_FUNCTION__ = "scan_thread"
#3  0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (process 4669):
#0  0x00002b93fddf311d in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b93fddf484e in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00002b93fde27e41 in __fsetlocking () from /lib/libc.so.6
No symbol table info available.
#3  0x00002b93fde2d90e in malloc_usable_size () from /lib/libc.so.6
No symbol table info available.
#4  0x00002b93fde2dc56 in free () from /lib/libc.so.6
No symbol table info available.
#5  0x00002b93fe6df30f in sqlite3HashClear (pH=0x549200) at src/hash.c:58
        elem = (HashElem *) 0x510c20
#6  0x00002b93fe6e2153 in sqlite3_close (db=0x549060) at src/main.c:164
        i = (HashElem *) 0x0
        j = <value optimized out>
#7  0x00002aaaac6093cb in sqlite_log (cdr=0x54b0c0) at cdr_sqlite3.c:194
        res = 0
        zErr = 0x0
        tm = {tm_sec = 54, tm_min = 17, tm_hour = 22, tm_mday = 14, tm_mon = 10, tm_year = 106, tm_wday = 2, tm_yday = 317, tm_isdst = 0, tm_gmtoff = 3600,
  tm_zone = 0x501950 "CET"}
---Type <return> to continue, or q <return> to quit---
        t = 1163539074
        startstr = "2006-11-14 22:17:30", '\0' <repeats 60 times>
        answerstr = "1970-01-01 01:00:00", '\0' <repeats 60 times>
        endstr = "2006-11-14 22:17:54", '\0' <repeats 60 times>
        fn = "/opt/icall/log/cdr.db", '\0' <repeats 179 times>, "/s\030ý\223+\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\230$Žý\223+\000\000 +\030ý\223+", '\0' <repeats 14 times>, "u\032i\t\002\000\000\000\000\000\000\000`\220T", '\0' <repeats 13 times>, "\002\000\000\000\000\000\000\000<pÝý\223+\000\000P#Ýý\223+\000\000PiÜý\223+\000\000\024\000\000\000\000\000\000\000\000\236\222&#355;\223+\000\000&#340;\230Q&#356;&#350;*\000\000\200&#271;,A\000\000\000\000\030¤p&#377;&#350;*\000\000\2256&#280;\006\000\000\000\000Чp&#377;&#350;*\000\000\020\000\000\000\000\000\000\000"...
        sql = 0x0
        __PRETTY_FUNCTION__ = "sqlite_log"
#8  0x00002b93fd2f109d in post_cdr (cdr=0x54b0c0) at cdr.c:807
        chan = <value optimized out>
        i = (struct opbx_cdr_beitem *) 0x2aaaab525500
        __PRETTY_FUNCTION__ = "post_cdr"
#9  0x00002b93fd2f17ad in opbx_cdr_detach (cdr=0x54b0c0) at cdr.c:980
        curr = <value optimized out>
        __PRETTY_FUNCTION__ = "opbx_cdr_detach"
#10 0x00002b93fd2bc645 in opbx_hangup (chan=0x548390) at channel.c:1095
        res = <value optimized out>
        __PRETTY_FUNCTION__ = "opbx_hangup"
#11 0x00002b93fd2da466 in __opbx_pbx_run (c=0x548390) at pbx.c:2626
        digit = <value optimized out>
        exten = '\0' <repeats 255 times>
        pos = 0
        waittime = -47043009
        res = 0
        hash = 0
        __PRETTY_FUNCTION__ = "__opbx_pbx_run"
#12 0x00002b93fd2dab57 in opbx_pbx_run (c=0x548390) at pbx.c:2715
        res = OPBX_PBX_CALL_LIMIT
#13 0x00002b93fd2dc5fd in opbx_pbx_outgoing_exten (type=0x5349f4 "SIP", format=64, data=0x534af4, timeout=30000, context=0x534ef4 "faxout",
    exten=0x534df4 "s", priority=1, reason=0x412d01bc, sync=2, cid_num=0x534ff8 "", cid_name=0x5350f8 "", vars=0x530100, channel=0x0) at pbx.c:5196
        chan = (struct opbx_channel *) 0x548390
        as = <value optimized out>
        res = <value optimized out>
        cdr_res = <value optimized out>
        oh = {context = 0x534ef4 "faxout", exten = 0x534df4 "s", priority = 1, cid_num = 0x534ff8 "", cid_name = 0x5350f8 "", vars = 0x530100}
        attr = {
  __size = "ôJS\000\000\000\000\000ôMS\000\000\000\000\000ôNS\000\000\000\000\000`&#324;(A\000\000\000\000ôIS\000\000\000\000\000Ë\\\030ý\223+\000\000\001\000\000\000\000\000\000", __align = 5458676}
        __PRETTY_FUNCTION__ = "opbx_pbx_outgoing_exten"
#14 0x00002aaaac0eda2b in attempt_thread (data=<value optimized out>) at pbx_spool.c:266
        o = (struct outgoing *) 0x5348e0
        res = <value optimized out>
        reason = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        __PRETTY_FUNCTION__ = "attempt_thread"
#15 0x00002b93fd8bd0fa in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#16 0x00002b93fde8bce2 in clone () from /lib/libc.so.6
No symbol table info available.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)