Open pavel-odintsov opened 4 months ago
I run it manually via gdb and replicated crash:
sudo gdb /usr/sbin/usbmuxd
GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/usbmuxd...
(No debugging symbols found in /usr/sbin/usbmuxd)
(gdb) run --user usbmux --systemd
Starting program: /usr/sbin/usbmuxd --user usbmux --systemd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2
[14:49:01.446][3] usbmuxd v1.1.1 starting up
[14:49:01.449][3] Successfully dropped privileges to 'usbmux'
[14:49:01.449][3] Using libusb 1.0.27
[New Thread 0x7ffff74006c0 (LWP 27291)]
[14:49:01.455][3] Initialization complete
[14:49:01.455][3] Enabled exit on SIGUSR1 if no devices are attached. Start a new instance with "--exit" to trigger.
libusb: warning [op_get_configuration] device unconfigured
libusb: error [op_get_active_config_descriptor] device unconfigured
[14:49:20.416][3] Could not get old configuration descriptor for device 1-71: LIBUSB_ERROR_NOT_FOUND
[14:49:20.474][3] Connecting to new device on location 0x10047 as ID 1
[14:49:20.475][3] Connected to v2.0 device 1 on location 0x10047 with serial number 00008130-000439411E98001C
[New Thread 0x7ffff6a006c0 (LWP 27316)]
[New Thread 0x7ffff60006c0 (LWP 27349)]
[14:49:20.891][1] ERROR: Failed to read '/var/lib/lockdown/00008130-000439411E98001C.plist': No such file or directory
[14:49:21.168][3] Removed device 1 on location 0x10047
[Thread 0x7ffff60006c0 (LWP 27349) exited]
Thread 1 "usbmuxd" received signal SIGUSR1, User defined signal 1.
0x00007ffff7d1ba00 in __GI_ppoll (fds=0x555555575650, nfds=4, timeout=<optimised out>, sigmask=0x7fffffffe1f0)
at ../sysdeps/unix/sysv/linux/ppoll.c:42
warning: 42 ../sysdeps/unix/sysv/linux/ppoll.c: No such file or directory
(gdb)
Backtrace:
(gdb)
(gdb) bt
#0 0x00007ffff7d1ba00 in __GI_ppoll (fds=0x555555575650, nfds=4, timeout=<optimised out>, sigmask=0x7fffffffe1f0)
at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1 0x000055555555a22d in ?? ()
#2 0x00007ffff7c2a1ca in __libc_start_call_main (main=main@entry=0x5555555594e0, argc=argc@entry=4,
argv=argv@entry=0x7fffffffe468) at ../sysdeps/nptl/libc_start_call_main.h:58
#3 0x00007ffff7c2a28b in __libc_start_main_impl (main=0x5555555594e0, argc=4, argv=0x7fffffffe468, init=<optimised out>,
fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fffffffe458) at ../csu/libc-start.c:360
#4 0x000055555555c715 in ?? ()
Hello!
I hope you're doing well.
I'm trying to plug iPhone 15 Pro Max to my Ubuntu 24.04 LTS laptop (frame.work) via USB-C (official Apple cable) and it crashes with segmentation fault:
Software versions:
Output from daemon itself: