>
> On Monday 27 March 2006 10:27, you wrote:
>   
>> / Hello,
>>     
> />/
> />/ what do I need to do to get this info?
> /
> strace or ltrace :)
>
> man strace
> man ltrace
>
> strace -ff asterisk
>
> Have the bug show up and the copy&paste the last hundred of output lines.
>
> Bye,
>
>   

Please find following the strace output:

[pid 17360] <... poll resumed> [{fd=15, events=POLLIN}], 1, 1000) = 0
[pid 17360] gettimeofday({1143474566, 597569}, NULL) = 0
[pid 17360] gettimeofday({1143474566, 598243}, NULL) = 0
[pid 17360] poll( <unfinished ...>
[pid 17352] <... nanosleep resumed> NULL) = 0
[pid 17352] gettimeofday({1143474566, 666065}, NULL) = 0
[pid 17352] nanosleep({0, 94000000}, NULL) = 0
[pid 17352] gettimeofday({1143474566, 765980}, NULL) = 0
[pid 17352] nanosleep({0, 94000000},  <unfinished ...>
[pid 17355] <... poll resumed> [{fd=9, events=POLLIN}], 1, 1000) = 0
[pid 17355] time(NULL)                  = 1143474566
[pid 17355] poll( <unfinished ...>
[pid 17352] <... nanosleep resumed> NULL) = 0
[pid 17352] gettimeofday({1143474566, 865589}, NULL) = 0
[pid 17352] nanosleep({0, 95000000}, NULL) = 0
[pid 17352] gettimeofday({1143474566, 965568}, NULL) = 0
[pid 17352] nanosleep({0, 95000000}, NULL) = 0
[pid 17352] gettimeofday({1143474567, 65553}, NULL) = 0
[pid 17352] nanosleep({0, 95000000},  <unfinished ...>
[pid 17361] <... poll resumed> [{fd=17, events=POLLIN|POLLERR}, {fd=13,
events=POLLIN|POLLERR}, {fd=25, events=POLLIN|POLLERR}, {fd=22,
events=POLLIN|POLLERR}, {fd=21, events=POLLIN|POLLERR}, {fd=20,
events=POLLIN|POLLERR, revents=POLLIN}, {fd=24, events=POLLIN|POLLERR},
{fd=23, events=POLLIN|POLLERR}, {fd=14, events=POLLIN|POLLERR}], 9, -1) = 1
[pid 17361] time(NULL)                  = 1143474567
[pid 17361] recvmsg(20, {msg_name(4)={sa_family=0x6a88 /* AF_??? */,
sa_data="\23\300\254\370Z\267\210\2[\267\234\2[\267"},
msg_iov(1)=[{"\10\1\25\5\241\4\3\200\220\243\30\1\211l\f!\2031729169"...,
512}], msg_controllen=0, msg_flags=MSG_OOB}, 0) = 40
[pid 17361] write(19, " ", 1)           = 1
[pid 17361] open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = -1 ENXIO (No
such device or address)
[pid 17361] writev(2, [{"*** glibc detected *** ", 23}, {"asterisk", 8},
{": ", 2}, {"munmap_chunk(): invalid pointer", 31}, {": 0x", 4},
{"081827a0", 8}, {" ***\n", 5}], 7) = 81
[pid 17361] open("/etc/ld.so.cache", O_RDONLY) = 7
[pid 17361] fstat64(7, {st_mode=S_IFREG|0644, st_size=29231, ...}) = 0
[pid 17361] mmap2(NULL, 29231, PROT_READ, MAP_PRIVATE, 7, 0) = 0xb70a1000
[pid 17361] close(7)                    = 0
[pid 17361] open("/lib/libgcc_s.so.1", O_RDONLY) = 7
[pid 17361] read(7,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\26"..., 512) = 512
[pid 17361] fstat64(7, {st_mode=S_IFREG|0755, st_size=44132, ...}) = 0
[pid 17361] mmap2(NULL, 43172, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb7096000
[pid 17361] madvise(0xb7096000, 43172, MADV_SEQUENTIAL|0x1) = 0
[pid 17361] mmap2(0xb70a0000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x9) = 0xb70a0000
[pid 17361] close(7)                    = 0
[pid 17361] munmap(0xb70a1000, 29231)   = 0
[pid 17361] futex(0xb7e859dc, FUTEX_WAKE, 2147483647) = 0
[pid 17361] futex(0xb70a0784, FUTEX_WAKE, 2147483647) = 0
[pid 17361] write(2, "======= Backtrace: =========\n", 29) = 29
[pid 17361] writev(2, [{"/lib/libc.so.6", 14}, {"[0x", 3}, {"b7dcacc0",
8}, {"]\n", 2}], 4) = 27
[pid 17361] writev(2, [{"/usr/local/lib/libq931.so.0", 27}, {"(", 1},
{"q931_dlc_put", 12}, {"+0x", 3}, {"6c", 2}, {")", 1}, {"[0x", 3},
{"b7583d6c", 8}, {"]\n", 2}], 9) = 59
[pid 17361] writev(2, [{"/usr/local/lib/libq931.so.0", 27}, {"(", 1},
{"q931_msg_put", 12}, {"+0x", 3}, {"77", 2}, {")", 1}, {"[0x", 3},
{"b75840f7", 8}, {"]\n", 2}], 9) = 59
[pid 17361] writev(2, [{"/usr/local/lib/libq931.so.0", 27}, {"(", 1},
{"q931_receive", 12}, {"+0x", 3}, {"384", 3}, {")", 1}, {"[0x", 3},
{"b7569364", 8}, {"]\n", 2}], 9) = 60
[pid 17361] writev(2, [{"/usr/lib/asterisk/modules/chan_v"..., 39},
{"[0x", 3}, {"b75a633e", 8}, {"]\n", 2}], 4) = 52
[pid 17361] writev(2, [{"/usr/lib/asterisk/modules/chan_v"..., 39},
{"[0x", 3}, {"b75a6615", 8}, {"]\n", 2}], 4) = 52
[pid 17361] writev(2, [{"/lib/libpthread.so.0", 20}, {"[0x", 3},
{"b7f492db", 8}, {"]\n", 2}], 4) = 33
[pid 17361] writev(2, [{"/lib/libc.so.6", 14}, {"(", 1}, {"__clone", 7},
{"+0x", 3}, {"5e", 2}, {")", 1}, {"[0x", 3}, {"b7e24c9e", 8}, {"]\n",
2}], 9) = 41
[pid 17361] write(2, "======= Memory map: ========\n", 29) = 29
[pid 17361] open("/proc/self/maps", O_RDONLY) = 7
[pid 17361] read(7, "08048000-0810b000 r-xp 00000000 "..., 1024) = 1024
[pid 17361] write(2, "08048000-0810b000 r-xp 00000000 "..., 1024) = 1024
[pid 17361] read(7, "risk/modules/app_addon_sql_mysql"..., 1024) = 1024
[pid 17361] write(2, "risk/modules/app_addon_sql_mysql"..., 1024) = 1024
[pid 17361] read(7, "0000 03:05 17109604   /usr/lib/a"..., 1024) = 1024
[pid 17361] write(2, "0000 03:05 17109604   /usr/lib/a"..., 1024) = 1024
[pid 17361] read(7, "erisk/modules/cdr_manager.so\nb71"..., 1024) = 1024
[pid 17361] write(2, "erisk/modules/cdr_manager.so\nb71"..., 1024) = 1024
[pid 17361] read(7, "w-p 00001000 03:05 16921862   /u"..., 1024) = 1024
[pid 17361] write(2, "w-p 00001000 03:05 16921862   /u"..., 1024) = 1024
[pid 17361] read(7, "  /usr/lib/asterisk/modules/form"..., 1024) = 1024
[pid 17361] write(2, "  /usr/lib/asterisk/modules/form"..., 1024) = 1024
[pid 17361] read(7, "u.so\nb7169000-b716b000 r-xp 0000"..., 1024) = 1024
[pid 17361] write(2, "u.so\nb7169000-b716b000 r-xp 0000"..., 1024) = 1024
[pid 17361] read(7, "16889237   /usr/lib/asterisk/mod"..., 1024) = 1024
[pid 17361] write(2, "16889237   /usr/lib/asterisk/mod"..., 1024) = 1024
[pid 17361] read(7, "k/modules/app_externalivr.so\nb71"..., 1024) = 1024
[pid 17361] write(2, "k/modules/app_externalivr.so\nb71"..., 1024) = 1024
[pid 17361] read(7, "k/modules/app_md5.so\nb71dd000-b7"..., 1024) = 1024
[pid 17361] write(2, "k/modules/app_md5.so\nb71dd000-b7"..., 1024) = 1024
[pid 17361] read(7, "b71ef000-b71f0000 rw-p 00001000 "..., 1024) = 1024
[pid 17361] write(2, "b71ef000-b71f0000 rw-p 00001000 "..., 1024) = 1024
[pid 17361] read(7, "0000 03:05 16889215   /usr/lib/a"..., 1024) = 1024
[pid 17361] write(2, "0000 03:05 16889215   /usr/lib/a"..., 1024) = 1024
[pid 17361] read(7, "03:05 16889210   /usr/lib/asteri"..., 1024) = 1024
[pid 17361] write(2, "03:05 16889210   /usr/lib/asteri"..., 1024) = 1024
[pid 17361] read(7, "k/modules/app_read.so\nb7228000-b"..., 1024) = 1024
[pid 17361] write(2, "k/modules/app_read.so\nb7228000-b"..., 1024) = 1024
[pid 17361] read(7, "3a000-b723c000 r-xp 00000000 03:"..., 1024) = 1024
[pid 17361] write(2, "3a000-b723c000 r-xp 00000000 03:"..., 1024) = 1024
[pid 17361] read(7, "1000 03:05 16889193   /usr/lib/a"..., 1024) = 1024
[pid 17361] write(2, "1000 03:05 16889193   /usr/lib/a"..., 1024) = 1024
[pid 17361] read(7, " r-xp 00000000 03:05 16889187   "..., 1024) = 1024
[pid 17361] write(2, " r-xp 00000000 03:05 16889187   "..., 1024) = 1024
[pid 17361] read(7, "001000 03:05 16836830   /usr/lib"..., 1024) = 1024
[pid 17361] write(2, "001000 03:05 16836830   /usr/lib"..., 1024) = 1024
[pid 17361] read(7, "  /usr/lib/asterisk/modules/app_"..., 1024) = 1024
[pid 17361] write(2, "  /usr/lib/asterisk/modules/app_"..., 1024) = 1024
[pid 17361] read(7, "p 00000000 03:05 16836817   /usr"..., 1024) = 1024
[pid 17361] write(2, "p 00000000 03:05 16836817   /usr"..., 1024) = 1024
[pid 17361] read(7, "0 03:05 4238514    /usr/local/li"..., 1024) = 1024
[pid 17361] write(2, "0 03:05 4238514    /usr/local/li"..., 1024) = 1024
[pid 17361] read(7, "1489614930 (deleted)\nb75c3000-b7"..., 1024) = 1024
[pid 17361] write(2, "1489614930 (deleted)\nb75c3000-b7"..., 1024) = 1024
[pid 17361] read(7, "3d000 r-xp 00000000 03:05 169218"..., 1024) = 1024
[pid 17361] write(2, "3d000 r-xp 00000000 03:05 169218"..., 1024) = 1024
[pid 17361] read(7, "00 0 \nb7956000-b7959000 r-xp 000"..., 1024) = 1024
[pid 17361] write(2, "00 0 \nb7956000-b7959000 r-xp 000"..., 1024) = 1024
[pid 17361] read(7, "lib/libnss_files-2.3.90.so\nb79cd"..., 1024) = 1024
[pid 17361] write(2, "lib/libnss_files-2.3.90.so\nb79cd"..., 1024) = 1024
[pid 17361] read(7, "/modules/res_monitor.so\nb7b6a000"..., 1024) = 1024
[pid 17361] write(2, "/modules/res_monitor.so\nb7b6a000"..., 1024) = 1024
[pid 17361] read(7, "0.9.8\nb7d4f000-b7d64000 rw-p 001"..., 1024) = 1024
[pid 17361] write(2, "0.9.8\nb7d4f000-b7d64000 rw-p 001"..., 1024) = 1024
[pid 17361] read(7, "0:00 0 \nb7f44000-b7f53000 r-xp 0"..., 1024) = 897
[pid 17361] write(2, "0:00 0 \nb7f44000-b7f53000 r-xp 0"..., 897) = 897
[pid 17361] read(7, "", 1024)           = 0
[pid 17361] close(7)                    = 0
[pid 17361] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
[pid 17361] tgkill(17348, 17361, SIGABRT) = 0
[pid 17361] --- SIGABRT (Aborted) @ 0 (0) ---
Process 17348 detached
Process 17361 detached
[pid 17359] <... poll resumed> [{fd=12, events=POLLIN}], 1, 1000) = -1
EINTR (Interrupted system call)
[pid 17353] <... select resumed> )      = ? ERESTARTNOHAND (To be restarted)
[pid 17351] <... futex resumed> )       = -1 EINTR (Interrupted system call)
[pid 17362] <... read resumed> 0xb73101c8, 2) = ? ERESTARTSYS (To be
restarted)
[pid 17350] <... poll resumed> [{fd=3, events=POLLIN}], 1, -1) = -1
EINTR (Interrupted system call)
[pid 17356] <... nanosleep resumed> 0xb7887204) = ?
ERESTART_RESTARTBLOCK (To be restarted)
[pid 17354] <... nanosleep resumed> 0xb7955094) = ?
ERESTART_RESTARTBLOCK (To be restarted)
[pid 17358] <... poll resumed> [{fd=10, events=POLLIN}], 1, 1000) = -1
EINTR (Interrupted system call)
[pid 17360] <... poll resumed> [{fd=15, events=POLLIN}], 1, 1000) = -1
EINTR (Interrupted system call)
[pid 17355] <... poll resumed> [{fd=9, events=POLLIN}], 1, 1000) = -1
EINTR (Interrupted system call)
[pid 17352] <... nanosleep resumed> 0)  = ? ERESTART_RESTARTBLOCK (To be
restarted)
[pid 17359] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17359 leader 17348
[pid 17358] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17358 leader 17348
[pid 17353] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17353 leader 17348
[pid 17351] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17351 leader 17348
[pid 17362] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17362 leader 17348
[pid 17350] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17350 leader 17348
[pid 17356] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17356 leader 17348
[pid 17354] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17354 leader 17348
[pid 17360] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17360 leader 17348
[pid 17355] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17355 leader 17348
[pid 17352] +++ killed by SIGABRT +++
PANIC: handle_group_exit: 17352 leader 17348
Process 17348 detached

_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to