Am 09.04.19 um 23:27 schrieb Bernhard Übelacker:
> Hello Alf,
> thanks for the fast response.
> You can query to which package a shared object belongs by:
>
>     dpkg -S /usr/lib/x86_64-linux-gnu/libbellesip.so.0
>
> That should show 'libbellesip0' I guess.
>
> So, if package libbellesip0-dbgsym gets installed, another
> retry should have all needed debug information to show
> for each line of the backtrace debug information.


Wqas too late yesterday night, but here the result is coming in
gdb_linphone_2019-04-10_11-07-23.log

Hope this helps you to locate the root cause.
Many thanks for the lesson how to collect the necessary information!

Best regards,
Alf
Script started on 2019-04-10 11:07:23+02:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="165" LINES="28"]
Reading symbols from linphonec...Reading symbols from /usr/lib/debug/.build-id/a6/e413996c0caf2689202302196ba19a26ce481f.debug...done.
done.
Starting program: /usr/bin/linphonec -d 5 -l linphone-debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe81ea700 (LWP 2922)]
Ready
Warning: video is disabled in linphonec, use -V or -C or -D to enable.
[New Thread 0x7fffe79e9700 (LWP 2923)]
linphonec> Refreshing on sip:061234567...@tel.t-online.de...
linphonec> Registration on sip:tel.t-online.de failed: Unauthorized 11030230348
linphonec>
Password for 061234567818 on tel.t-online.de: [top secret]
Refreshing on sip:061234567...@tel.t-online.de...
linphonec>
Thread 1 "linphonec" received signal SIGSEGV, Segmentation fault.
__strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:31
31	../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Datei oder Verzeichnis nicht gefunden.
#0  __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:31
#1  0x00007ffff7a52782 in authorization_context_fill_from_auth (auth_context=auth_context@entry=0x555555747df0, authenticate=authenticate@entry=0x555555738e20, from_uri=from_uri@entry=0x555555761e10) at ./src/provider.c:1035
#2  0x00007ffff7a528aa in belle_sip_provider_update_or_create_auth_context (p=0x555555739020, call_id=0x55555574b280, authenticate=0x555555738e20, from_uri=0x555555761e10, realm=<optimized out>) at ./src/provider.c:1109
#3  0x00007ffff7a53da7 in belle_sip_provider_dispatch_response (msg=0x5555557e8140, p=0x555555739020) at ./src/provider.c:235
#4  belle_sip_provider_dispatch_message (prov=0x555555739020, msg=0x5555557e8140) at ./src/provider.c:290
#5  0x00007ffff7a34b9d in notify_incoming_messages (obj=0x55555578fdd0) at ./src/channel.c:526
#6  belle_sip_channel_process_stream (obj=0x55555578fdd0, eos=<optimized out>) at ./src/channel.c:632
#7  0x00007ffff7a36a57 in belle_sip_channel_process_read_data (obj=0x55555578fdd0) at ./src/channel.c:670
#8  belle_sip_channel_process_data (obj=obj@entry=0x55555578fdd0, revents=revents@entry=1) at ./src/channel.c:695
#9  0x00007ffff7a5c0de in on_udp_data (lp=0x555555738530, events=1) at ./src/transports/udp_listeningpoint.c:195
#10 0x00007ffff7a2a860 in belle_sip_main_loop_iterate (ml=0x5555557395c0) at ./src/belle_sip_loop.c:559
#11 belle_sip_main_loop_run (ml=0x5555557395c0) at ./src/belle_sip_loop.c:614
#12 0x00007ffff7a2ab6c in belle_sip_main_loop_sleep (ml=0x5555557395c0, milliseconds=<optimized out>) at ./src/belle_sip_loop.c:626
#13 0x00007ffff7a57df9 in belle_sip_stack_sleep (stack=<optimized out>, milliseconds=<optimized out>) at ./src/sipstack.c:221
#14 0x00005555555b1cc2 in sal_iterate (sal=<optimized out>) at ./coreapi/bellesip_sal/sal_impl.c:838
#15 0x00005555555eabc6 in linphone_core_iterate (lc=0x555555693480) at ./coreapi/linphonecore.c:3194
#16 0x00005555555a83db in linphonec_idle_call () at ./console/linphonec.c:1023
#17 0x00005555555a858d in linphonec_readline (prompt=<optimized out>) at ./console/linphonec.c:543
#18 0x00005555555a6dd8 in linphonec_main_loop (opm=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:64
#19 main (argc=<optimized out>, argv=<optimized out>) at ./console/linphonec.c:652
#0  __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:31
No locals.
#1  0x00007ffff7a52782 in authorization_context_fill_from_auth (auth_context=auth_context@entry=0x555555747df0, authenticate=authenticate@entry=0x555555738e20, from_uri=from_uri@entry=0x555555761e10) at ./src/provider.c:1035
No locals.
#2  0x00007ffff7a528aa in belle_sip_provider_update_or_create_auth_context (p=0x555555739020, call_id=0x55555574b280, authenticate=0x555555738e20, from_uri=0x555555761e10, realm=<optimized out>) at ./src/provider.c:1109
        auth_context_lst = 0x55555575ee40
        auth_context = 0x555555747df0
#3  0x00007ffff7a53da7 in belle_sip_provider_dispatch_response (msg=0x5555557e8140, p=0x555555739020) at ./src/provider.c:235
        authorization = <optimized out>
        www_authenticate = 0x555555738e20
        authentication_info = 0x5555557d91e0
        authorization_lst = 0x5555557d2670
        from = <optimized out>
        req = <optimized out>
        call_id = 0x55555574b280
        from_uri = 0x555555761e10
        t = 0x55555570b6a0
        t = <optimized out>
        nonce = <optimized out>
        req = <optimized out>
        authorization = <optimized out>
        auth_context_with_nonce = <optimized out>
        req = <optimized out>
        authentication_info = <optimized out>
        authorization_lst = <optimized out>
        call_id = <optimized out>
        from = <optimized out>
        from_uri = <optimized out>
        authorization = <optimized out>
        www_authenticate = <optimized out>
        chan = <optimized out>
        event = <optimized out>
        __copy = <optimized out>
        __elem = <optimized out>
        __method = <optimized out>
        __obj = <optimized out>
#4  belle_sip_provider_dispatch_message (prov=0x555555739020, msg=0x5555557e8140) at ./src/provider.c:290
No locals.
#5  0x00007ffff7a34b9d in notify_incoming_messages (obj=0x55555578fdd0) at ./src/channel.c:526
        msg = 0x5555557e8140
        methods = <optimized out>
        listener = 0x555555739020
        elem = 0x55555572fe20
        l_it = 0x555555748b50
        listeners = 0x555555748b50
        elem = <optimized out>
        l_it = <optimized out>
        listeners = <optimized out>
        listener = <optimized out>
        msg = <optimized out>
        methods = <optimized out>
#6  belle_sip_channel_process_stream (obj=0x55555578fdd0, eos=<optimized out>) at ./src/channel.c:632
        elem = <optimized out>
        msg = <optimized out>
        dump = <optimized out>
#7  0x00007ffff7a36a57 in belle_sip_channel_process_read_data (obj=0x55555578fdd0) at ./src/channel.c:670
        begin = <optimized out>
        num = 723
        ret = 1
        num = <optimized out>
        ret = <optimized out>
        begin = <optimized out>
        logbuf = <optimized out>
#8  belle_sip_channel_process_data (obj=obj@entry=0x55555578fdd0, revents=revents@entry=1) at ./src/channel.c:695
        rret = <optimized out>
        ret = 1
#9  0x00007ffff7a5c0de in on_udp_data (lp=0x555555738530, events=1) at ./src/transports/udp_listeningpoint.c:195
        chan = 0x55555578fdd0
        ai = {ai_flags = 0, ai_family = 2, ai_socktype = 0, ai_protocol = 0, ai_addrlen = 16, ai_addr = 0x7fffffffccf0, ai_canonname = 0x0, ai_next = 0x0}
        err = <optimized out>
        buf = "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 192.168.33.12:5060;received=91.54.154.109;rport=61087;branch=z9hG4bK.HIY2FHf9P\r\nTo: <sip:+4961239750...@tel.t-online.de>;tag=h7g4Esbg_5eac64fe010aa73760d712e9937cef6a\r"...
        addr = {ss_family = 2, __ss_padding = "\023\304\331\000\025A\000\000\000\000\000\000\000\000\060\000\000\000\060\000\000\000 \316\377\377\377\177\000\000 \315\377\377\377\177\000\000LÈ·\366\377\177\000\000\000\000\000\000\000\000\000\000Y\000\000\000\000\000\000\000Y\000\000\000\000\000\000\000`\337hUUU\000\000\260\000gUUU\000\000-Ö°\366\377\177\000\000l\000\000\000\000\000\000\000\260\000gUUU\000\000h\r\000\000\000\000\000", __ss_align = 140737333469856}
        addrlen = 16
#10 0x00007ffff7a2a860 in belle_sip_main_loop_iterate (ml=0x5555557395c0) at ./src/belle_sip_loop.c:559
        i = <optimized out>
        duration = <optimized out>
        ret = <optimized out>
        to_be_notified = <optimized out>
        tmp_pool = 0x0
        pfd = 0x555555740e90
        can_clean = 1
        pfd_size = <optimized out>
        s = 0x55555569cf00
        end = <optimized out>
        elem = 0x5555556a3720
        next = 0x555555747d40
        cur = 1554887254245
        it = <optimized out>
        pfd_size = <optimized out>
        pfd = <optimized out>
        i = <optimized out>
        s = <optimized out>
        elem = <optimized out>
        next = <optimized out>
        duration = <optimized out>
        ret = <optimized out>
        cur = <optimized out>
        to_be_notified = <optimized out>
        can_clean = <optimized out>
        tmp_pool = <optimized out>
        it = <optimized out>
        end = <optimized out>
        diff = <optimized out>
        next_wakeup_time = <optimized out>
        revents = <optimized out>
        expire = <optimized out>
        objdesc = <optimized out>
#11 belle_sip_main_loop_run (ml=0x5555557395c0) at ./src/belle_sip_loop.c:614
        ml = 0x5555557395c0
#12 0x00007ffff7a2ab6c in belle_sip_main_loop_sleep (ml=0x5555557395c0, milliseconds=<optimized out>) at ./src/belle_sip_loop.c:626
        s = 0x5555557f0d10
#13 0x00007ffff7a57df9 in belle_sip_stack_sleep (stack=<optimized out>, milliseconds=<optimized out>) at ./src/sipstack.c:221
No locals.
#14 0x00005555555b1cc2 in sal_iterate (sal=<optimized out>) at ./coreapi/bellesip_sal/sal_impl.c:838
No locals.
#15 0x00005555555eabc6 in linphone_core_iterate (lc=0x555555693480) at ./coreapi/linphonecore.c:3194
        calls = <optimized out>
        call = <optimized out>
        curtime_ms = <optimized out>
        elapsed = <optimized out>
        current_real_time = 1554887254
        diff_time = <optimized out>
        one_second_elapsed = 0 '\000'
        remote_provisioning_uri = <optimized out>
#16 0x00005555555a83db in linphonec_idle_call () at ./console/linphonec.c:1023
        opm = 0x555555693480
#17 0x00005555555a858d in linphonec_readline (prompt=<optimized out>) at ./console/linphonec.c:543
        prompt_reader_started = 1 '\001'
        pipe_reader_started = 0 '\000'
#18 0x00005555555a6dd8 in linphonec_main_loop (opm=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:64
        input = <optimized out>
        input = <optimized out>
        iptr = <optimized out>
        input_len = <optimized out>
#19 main (argc=<optimized out>, argv=<optimized out>) at ./console/linphonec.c:652
No locals.
Detaching from program: /usr/bin/linphonec, process 2918
[Inferior 1 (process 2918) detached]

Script done on 2019-04-10 11:07:34+02:00 [COMMAND_EXIT_CODE="0"]

Reply via email to