[Pkg-gtkpod-devel] Bug#929764: usbmuxd segfaults on startup

James Henried jhenried42 at mailinator.com
Fri May 31 15:35:18 BST 2019


Bernhard Übelacker <bernhardu at mailbox.org> wrote:


> Maybe you could install the package systemd-coredump.
> That way in the journal would appear a backtrace that
> could give some hints where the segmentation fault happens.
> Visible in the output of:

>     journalctl --no-pager

Here it is:


May 31 10:29:05 debian systemd[1]: /lib/systemd/system/usbmuxd.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/usbmuxd.pid → /run/usbmuxd.pid; please update the unit file accordingly.
May 31 10:29:05 debian systemd[1]: getty at tty1.service: Current command vanished from the unit file, execution of the command list won't be resumed.
May 31 10:29:05 debian systemd[1]: Listening on Process Core Dump Socket.
May 31 10:29:19 debian su[28045]: pam_unix(su:session): session closed for user root
May 31 10:29:34 debian su[29407]: (to root) jh on pts/0
May 31 10:29:34 debian su[29407]: pam_unix(su:session): session opened for user root by (uid=1000)
May 31 10:29:38 debian usbmuxd[29410]: [1] Another instance is already running (pid 26593). exiting.
May 31 10:29:38 debian kernel: do_general_protection: 496 callbacks suppressed
May 31 10:29:38 debian kernel: traps: usbmuxd[29410] general protection ip:7f9e393d49bd sp:7ffd67ab0b60 error:0 in libc-2.28.so[7f9e39372000+148000]
May 31 10:29:38 debian systemd[1]: Created slice system-systemd\x2dcoredump.slice.
May 31 10:29:38 debian systemd[1]: Started Process Core Dump (PID 29411/UID 0).
May 31 10:29:38 debian systemd-coredump[29412]: Process 29410 (usbmuxd) of user 0 dumped core.
                                                 
                                                 Stack trace of thread 29410:
                                                 #0  0x00007f9e393d49bd __GI___libc_free (libc.so.6)
                                                 #1  0x00007f9e391a09f0 OPENSSL_sk_pop_free (libcrypto.so.1.1)
                                                 #2  0x00007f9e392ccc29 n/a (libssl.so.1.1)
                                                 #3  0x00007f9e3913af1a OPENSSL_cleanup (libcrypto.so.1.1)
                                                 #4  0x00007f9e3938a2b7 __cxa_finalize (libc.so.6)
                                                 #5  0x00007f9e3903c093 n/a (libcrypto.so.1.1)
                                                 #6  0x00007f9e399bf6f6 _dl_fini (ld-linux-x86-64.so.2)
                                                 #7  0x00007f9e39389d8c __run_exit_handlers (libc.so.6)
                                                 #8  0x00007f9e39389eba __GI_exit (libc.so.6)
                                                 #9  0x00007f9e393740a2 __libc_start_main (libc.so.6)
                                                 #10 0x000055821d8f0b0a n/a (usbmuxd)


> Additional you could install the package gdb and start
> usbmuxd with the following command:

Done:

Script started on 2019-05-31 10:32:30-04:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="69" LINES="41"]
Reading symbols from usbmuxd...(no debugging symbols found)...done.
Starting program: /usr/sbin/usbmuxd 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
__GI___libc_free (mem=0x101040104070701) at malloc.c:3093
3093	malloc.c: No such file or directory.
rax            0x0                 0
rbx            0x0                 0
rcx            0x1                 1
rdx            0x79e               1950
rsi            0x7ffff7923f08      140737346944776
rdi            0x101040104070701   72343471423686401
rbp            0x555555589d20      0x555555589d20
rsp            0x7fffffffdf10      0x7fffffffdf10
r8             0xf                 15
r9             0x55555556da50      93824992336464
r10            0x0                 0
r11            0x246               582
r12            0x7ffff78e92b0      140737346704048
r13            0x7ffff7b2cd90      140737349078416
r14            0x2                 2
r15            0x7ffff7b2cd80      140737349078400
rip            0x7ffff79f49bd      0x7ffff79f49bd <__GI___libc_free+29>
eflags         0x10202             [ IF RF ]
cs             0x33                51
ss             0x2b                43
ds             0x0                 0
es             0x0                 0
fs             0x0                 0
gs             0x0                 0
1: x/i $pc
=> 0x7ffff79f49bd <__GI___libc_free+29>:	mov    -0x8(%rdi),%rax
#0  __GI___libc_free (mem=0x101040104070701) at malloc.c:3093
#1  0x00007ffff77c09f0 in OPENSSL_sk_pop_free () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
#2  0x00007ffff78ecc29 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
#3  0x00007ffff775af1a in OPENSSL_cleanup () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
#4  0x00007ffff79aa2b7 in __cxa_finalize (d=0x7ffff78b2000) at cxa_finalize.c:83
#5  0x00007ffff765c093 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
#6  0x00007fffffffe0a0 in ?? ()
#7  0x00007ffff7fe46f6 in _dl_fini () at dl-fini.c:138
Backtrace stopped: frame did not save the PC
>From                To                  Syms Read   Shared Object Library
0x00007ffff7fd6090  0x00007ffff7ff3b20  Yes         /lib64/ld-linux-x86-64.so.2
0x00007ffff7d872b0  0x00007ffff7d936dc  Yes (*)     /lib/x86_64-linux-gnu/libusb-1.0.so.0
0x00007ffff7b6a0e0  0x00007ffff7b7af47  Yes (*)     /usr/local/lib/libimobiledevice.so.6
0x00007ffff7b54340  0x00007ffff7b5cfe6  Yes (*)     /usr/lib/x86_64-linux-gnu/libplist.so.3
0x00007ffff7b375b0  0x00007ffff7b45641  Yes         /lib/x86_64-linux-gnu/libpthread.so.0
0x00007ffff7992320  0x00007ffff7ad839b  Yes         /lib/x86_64-linux-gnu/libc.so.6
0x00007ffff794e710  0x00007ffff796486a  Yes (*)     /lib/x86_64-linux-gnu/libudev.so.1
0x00007ffff78d6450  0x00007ffff79208f6  Yes (*)     /usr/lib/x86_64-linux-gnu/libssl.so.1.1
0x00007ffff765c000  0x00007ffff77f30dc  Yes (*)     /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
0x00007ffff75c5440  0x00007ffff75c8e1b  Yes (*)     /usr/lib/x86_64-linux-gnu/libusbmuxd.so.4
0x00007ffff75bb3b0  0x00007ffff75be49c  Yes         /lib/x86_64-linux-gnu/librt.so.1
0x00007ffff75b5130  0x00007ffff75b5e75  Yes         /lib/x86_64-linux-gnu/libdl.so.2
(*): Shared library is missing debugging information.
#0  __GI___libc_free (mem=0x101040104070701) at malloc.c:3093
        ar_ptr = <optimized out>
        p = <optimized out>
        hook = 0x0
#1  0x00007ffff77c09f0 in OPENSSL_sk_pop_free () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#2  0x00007ffff78ecc29 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#3  0x00007ffff775af1a in OPENSSL_cleanup () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#4  0x00007ffff79aa2b7 in __cxa_finalize (d=0x7ffff78b2000) at cxa_finalize.c:83
        check = 2
        cxafn = <optimized out>
        cxaarg = <optimized out>
        f = 0x7ffff7b2cd90 <initial+16>
        funcs = 0x7ffff7b2cd80 <initial>
#5  0x00007ffff765c093 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#6  0x00007fffffffe0a0 in ?? ()
No symbol table info available.
#7  0x00007ffff7fe46f6 in _dl_fini () at dl-fini.c:138
        do_audit = <optimized out>
        __PRETTY_FUNCTION__ = "_dl_fini"
Backtrace stopped: frame did not save the PC
Detaching from program: /usr/sbin/usbmuxd, process 29465
[Inferior 1 (process 29465) detached]

Script done on 2019-05-31 10:32:30-04:00 [COMMAND_EXIT_CODE="0"]


Please let me know if this is useful/ok or if I need to do anything
else.

Meanwhile, I will try to determine what if anything changed on this
system in the past 6 months to affect this.

Thanks!



More information about the Pkg-gtkpod-devel mailing list