Binary package hint: asterisk
After an upgrade to 10.04, I get a seg fault in /usr/sbin/asterisk (package version 1:1.6.2.5-0ubuntu1 amd64)
SIGSEGV (gdb) fr 0 #0 masq_park_call (rchan=0x7f4276028170, peer=0x0, timeout=<value optimized out>, extout=<value optimized out>, play_announcement=<value optimized out>, args=0x7f424ef90160) at features.c:873 873 args->orig_chan_name = ast_strdupa(peer->name); (gdb) up #1 0x00007f425083529c in parkandannounce_exec (chan=0x7f4276028170, data=<value optimized out>) at app_parkandannounce.c:137 137 res = ast_masq_park_call(chan, NULL, timeout, &lot);
This was easily fixed by adding '&& peer' to the conditional at features.c:872. if (!play_announcement && args == &pack_args && peer)
thankyou
Binary package hint: asterisk
After an upgrade to 10.04, I get a seg fault in /usr/sbin/asterisk (package version 1:1.6.2.5-0ubuntu1 amd64)
SIGSEGV 0x7f4276028170, peer=0x0, announcement= <value optimized out>, args=0x7f424ef9 0160) chan_name = ast_strdupa( peer->name) ; _exec (chan=0x7f42760 28170, unce.c: 137 park_call( chan, NULL, timeout, &lot);
(gdb) fr 0
#0 masq_park_call (rchan=
timeout=<value optimized out>, extout=<value optimized out>,
play_
at features.c:873
873 args->orig_
(gdb) up
#1 0x00007f425083529c in parkandannounce
data=<value optimized out>) at app_parkandanno
137 res = ast_masq_
This was easily fixed by adding '&& peer' to the conditional at features.c:872.
if (!play_announcement && args == &pack_args && peer)
thankyou