[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] Linphone crash and patch for nullpointer in linpho
From: |
Stian Hvatum |
Subject: |
[Linphone-developers] Linphone crash and patch for nullpointer in linphone_core_media_description_contains_video_stream |
Date: |
Tue, 9 Sep 2014 09:52:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 |
Hello,
during a call with latest Linphone from git
(053fd46975de0cdbfd60055dd3bf3a73177d531b) I received the following from
GDB. I have compiled linphone without video-support. The attached patch
seems to fix the problem. Are the mailing list the correct place to
report bugs and submit patches?
Program received signal SIGSEGV, Segmentation fault.
linphone_core_media_description_contains_video_stream (address@hidden)
at misc.c:942
942 for (i = 0; i < md->nb_streams; i++) {
(gdb) p i
$1 = 0
(gdb) p md
$2 = (const SalMediaDescription *) 0x0
(gdb) bt
#0 linphone_core_media_description_contains_video_stream
(address@hidden) at misc.c:942
#1 0x00007ffff7b7b233 in _linphone_core_accept_call_update
(address@hidden, address@hidden,
address@hidden, next_state=LinphoneCallStreamsRunning,
state_info=0x7ffff7bbba85 "LinphoneCallStreamsRunning")
at linphonecore.c:3069
#2 0x00007ffff7b7b3be in linphone_core_accept_call_update
(address@hidden, address@hidden,
address@hidden) at linphonecore.c:3037
#3 0x00007ffff7b8501d in call_updated_by_remote (lc=0x71e680,
call=0xaced30, is_update=<optimized out>) at callbacks.c:558
#4 0x00007ffff7bad1d1 in process_request_event (op_base=0xaf53e0,
event=0x7fffffffd1b0) at bellesip_sal/sal_op_call.c:534
#5 0x00007ffff202b426 in belle_sip_provider_dispatch_request
(req=0xb32a20, prov=<optimized out>) at provider.c:140
#6 belle_sip_provider_dispatch_message (prov=<optimized out>,
msg=0xb32a20) at provider.c:209
#7 0x00007ffff202c40d in notify_incoming_messages (obj=0xa25060) at
channel.c:438
#8 0x00007ffff202ec92 in belle_sip_channel_process_stream
(eos=<optimized out>, obj=<optimized out>) at channel.c:532
#9 belle_sip_channel_process_read_data (obj=<optimized out>) at
channel.c:563
#10 belle_sip_channel_process_data (obj=0xa25060, revents=1) at
channel.c:584
#11 0x00007ffff20368aa in on_udp_data (lp=0x8140d0, events=1) at
transports/udp_listeningpoint.c:187
#12 0x00007ffff201f230 in belle_sip_main_loop_iterate
(address@hidden) at belle_sip_loop.c:443
#13 0x00007ffff201f408 in belle_sip_main_loop_run (address@hidden)
at belle_sip_loop.c:473
#14 0x00007ffff201f44c in belle_sip_main_loop_sleep (ml=0x812ce0,
milliseconds=<optimized out>) at belle_sip_loop.c:485
#15 0x00007ffff20289f9 in belle_sip_stack_sleep (stack=<optimized out>,
milliseconds=<optimized out>) at sipstack.c:191
#16 0x00007ffff7ba7f12 in sal_iterate (sal=<optimized out>) at
bellesip_sal/sal_impl.c:736
#17 0x00007ffff7b8019d in linphone_core_iterate (address@hidden)
at linphonecore.c:2032
#18 0x0000000000419e00 in linphone_gtk_iterate (lc=0x71e680) at main.c:673
#19 0x00007ffff2792633 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007ffff2791b8d in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#21 0x00007ffff2791f68 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007ffff2792292 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#23 0x00007ffff4ad1417 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00000000004174f5 in main (argc=1, argv=0x7fffffffe898) at main.c:2336
(gdb)
0001-fix-nullpointer-in-linphone_core_media_description_c.patch
Description: 0001-fix-nullpointer-in-linphone_core_media_description_c.patch
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] Linphone crash and patch for nullpointer in linphone_core_media_description_contains_video_stream,
Stian Hvatum <=