chan_iax2 crashes on nonexistent fr->callno (patch available)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Asterisk |
Fix Released
|
Undecided
|
Unassigned | ||
asterisk (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: asterisk
We are getting occasional segfaults on a karmic system (1:1.6.
[442046.620342] asterisk[8552]: segfault at 48d ip b6022c71 sp b4ee04a0 error 4 in chan_iax2.
A backtrace reveals:
Core was generated by `/usr/sbin/asterisk -f -p -g -U asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0 0xb6022c71 in socket_process (thread=<value optimized out>) at chan_iax2.c:9451
9451 if (ast_test_
(gdb) bt
#0 0xb6022c71 in socket_process (thread=<value optimized out>) at chan_iax2.c:9451
#1 0xb602bfa1 in iax2_process_thread (data=0xb8fb5748) at chan_iax2.c:11133
#2 0xb76b56b4 in dummy_start (data=0xb8fb1fb0) at utils.c:968
#3 0xb714b80e in start_thread () from /lib/tls/
#4 0xb735e7ee in clone () from /lib/tls/
This bug was reported as part of another bug report in the Asterisk issues system (https:/
Please consider applying this patch, as it is causing Asterisk-wide crashes. Thank you.
Changed in asterisk: | |
status: | Unknown → In Progress |
Changed in asterisk (Ubuntu): | |
status: | Confirmed → New |
Changed in asterisk (Ubuntu Karmic): | |
status: | New → Confirmed |
tags: |
added: verification-done removed: verification-needed |
description: | updated |
I patched the source, here's the debdiff.
This is my first patch, so I hope I've done it well. Any comment/suggestion will be very useful.