Skip to content

Instantly share code, notes, and snippets.

@Wenzel

Wenzel/gdb.c Secret

Last active July 20, 2022 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wenzel/969d5c06982246cd6cb2eb8cdf252a18 to your computer and use it in GitHub Desktop.
Save Wenzel/969d5c06982246cd6cb2eb8cdf252a18 to your computer and use it in GitHub Desktop.
xl hang stacktrace
(gdb) t a a bt
Thread 2 (Thread 0x7f09d3077780 (LWP 3351) "xl"):
#0 __read_chk (fd=fd@entry=26, buf=buf@entry=0x7f09cc001070, nbytes=nbytes@entry=16, buflen=buflen@entry=18446744073709551615) at ./debug/read_chk.c:33
#1 0x00007f09d2cf74ee in read (__nbytes=<optimized out>, __buf=0x7f09cc001070, __fd=26) at /usr/include/x86_64-linux-gnu/bits/unistd.h:38
#2 read_all (fd=26, data=data@entry=0x7f09cc001070, len=len@entry=16, nonblocking=nonblocking@entry=0) at xs.c:402
#3 0x00007f09d2cf7616 in read_message (h=h@entry=0x55c1a9d56550, nonblocking=nonblocking@entry=0) at xs.c:1265
#4 0x00007f09d2cf8021 in read_thread (arg=0x55c1a9d56550) at xs.c:1337
#5 0x00007f09d2dc8b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007f09d2e5aa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 1 (Thread 0x7f09d2c44ec0 (LWP 3350) "xl"):
#0 0x00007f09d2e4cd7f in __GI___poll (fds=0x7f09cc001040, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f09d2e6a6c2 in __poll_chk (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>, fdslen=fdslen@entry=18446744073709551615) at ./debug/poll_chk.c:27
#2 0x00007f09d2fcfbeb in poll (__timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
#3 eventloop_iteration (egc=egc@entry=0x7ffc05d64fe0, poller=poller@entry=0x55c1a9d54aa0) at libxl_event.c:1893
#4 0x00007f09d2fcfdc5 in libxl_event_wait (ctx=0x55c1a9d55e00, event_r=event_r@entry=0x7ffc05d65130, typemask=typemask@entry=18446744073709551615, pred=pred@entry=0x0, pred_user=pred_user@entry=0x0) at libxl_event.c:1932
#5 0x000055c1a946fec8 in domain_wait_event (domid=1, event_r=event_r@entry=0x7ffc05d65130) at xl_vmcontrol.c:299
#6 0x000055c1a9471e6e in create_domain (dom_info=dom_info@entry=0x7ffc05d65710) at xl_vmcontrol.c:1034
#7 0x000055c1a9472385 in main_create (argc=1, argv=0x7ffc05d65930) at xl_vmcontrol.c:1260
#8 0x000055c1a9458614 in main (argc=2, argv=0x7ffc05d65928) at xl.c:455
(gdb) thread apply all bt full
Thread 2 (Thread 0x7f09d3077780 (LWP 3351) "xl"):
#0 __read_chk (fd=fd@entry=26, buf=buf@entry=0x7f09cc001070, nbytes=nbytes@entry=16, buflen=buflen@entry=18446744073709551615) at ./debug/read_chk.c:33
sc_ret = -512
#1 0x00007f09d2cf74ee in read (__nbytes=<optimized out>, __buf=0x7f09cc001070, __fd=26) at /usr/include/x86_64-linux-gnu/bits/unistd.h:38
No locals.
#2 read_all (fd=26, data=data@entry=0x7f09cc001070, len=len@entry=16, nonblocking=nonblocking@entry=0) at xs.c:402
done = <optimized out>
#3 0x00007f09d2cf7616 in read_message (h=h@entry=0x55c1a9d56550, nonblocking=nonblocking@entry=0) at xs.c:1265
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {94290266383696, -8162878062864618883, 139680171915136, 0, 139680169101392, 140720406416736, -8162878062910756227, -8162877443619935619}, __mask_was_saved = 0}}, __pad = {0x7f09d3076f70, 0x0, 0x0, 0x0}}
__cancel_routine = <optimized out>
__cancel_arg = <optimized out>
__not_first_call = <optimized out>
msg = 0x7f09cc001060
body = 0x0
saved_errno = 0
ret = -1
#4 0x00007f09d2cf8021 in read_thread (arg=0x55c1a9d56550) at xs.c:1337
h = 0x55c1a9d56550
fd = <optimized out>
#5 0x00007f09d2dc8b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
ret = <optimized out>
pd = <optimized out>
out = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140720406416384, 8116620847910759037, 139680171915136, 0, 139680169101392, 140720406416736, -8162878062858327427, -8162877604567569795}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f09d2e5aa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.
Thread 1 (Thread 0x7f09d2c44ec0 (LWP 3350) "xl"):
#0 0x00007f09d2e4cd7f in __GI___poll (fds=0x7f09cc001040, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
sc_ret = -516
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f09d2e6a6c2 in __poll_chk (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>, fdslen=fdslen@entry=18446744073709551615) at ./debug/poll_chk.c:27
No locals.
#2 0x00007f09d2fcfbeb in poll (__timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
No locals.
#3 eventloop_iteration (egc=egc@entry=0x7ffc05d64fe0, poller=poller@entry=0x55c1a9d54aa0) at libxl_event.c:1893
gc = 0x7ffc05d64fe0
rc = 0
nfds = 2
now = {tv_sec = 1658328562, tv_usec = 821622}
out = <optimized out>
timeout = -1
__func__ = "eventloop_iteration"
#4 0x00007f09d2fcfdc5 in libxl_event_wait (ctx=0x55c1a9d55e00, event_r=event_r@entry=0x7ffc05d65130, typemask=typemask@entry=18446744073709551615, pred=pred@entry=0x0, pred_user=pred_user@entry=0x0) at libxl_event.c:1932
rc = -11
poller = 0x55c1a9d54aa0
egc = {{gc = {alloc_maxsize = 0, alloc_ptrs = 0x0, owner = 0x55c1a9d55e00}, occurred_for_callback = {tqh_first = 0x0, tqh_last = 0x7ffc05d64ff8}, aos_for_callback = {tqh_first = 0x0, tqh_last = 0x7ffc05d65008}, aops_for_callback = {tqh_first = 0x0, tqh_last = 0x7ffc05d65018}, ev_immediates = {stqh_first = 0x0, stqh_last = 0x7ffc05d65028}}}
gc = 0x7ffc05d64fe0
#5 0x000055c1a946fec8 in domain_wait_event (domid=1, event_r=event_r@entry=0x7ffc05d65130) at xl_vmcontrol.c:299
ret = <optimized out>
__func__ = "domain_wait_event"
#6 0x000055c1a9471e6e in create_domain (dom_info=dom_info@entry=0x7ffc05d65710) at xl_vmcontrol.c:1034
event = 0x7f09cc000cb0
domid = 1
d_config = {c_info = {type = LIBXL_DOMAIN_TYPE_HVM, hap = {val = 1}, oos = {val = 1}, ssidref = 12, ssid_label = 0x0, name = 0x55c1a9d59420 "ubuntu", domid = 4294967295, uuid = {uuid = "i\254\263\303T7Kr\265\311D\277\214\327[W"}, xsdata = 0x0, platformdata = 0x0, poolid = 0, pool_name = 0x0, run_hotplug_scripts = {val = 1}, driver_domain = {val = -1}, passthrough = LIBXL_PASSTHROUGH_DISABLED, xend_suspend_evtchn_compat = {val = -1}}, b_info = {max_vcpus = 1, avail_vcpus = {size = 1, map = 0x55c1a9d5aa10 "\001"}, cpumap = {size = 0, map = 0x0}, nodemap = {size = 8, map = 0x55c1a9d56090 "\377\377\377\377\377\377\377\377"}, num_vcpu_hard_affinity = 0, vcpu_hard_affinity = 0x0, num_vcpu_soft_affinity = 0, vcpu_soft_affinity = 0x0, numa_placement = {val = -1}, tsc_mode = LIBXL_TSC_MODE_DEFAULT, max_memkb = 2097152, target_memkb = 2097152, video_memkb = 8192, shadow_memkb = 8192, iommu_memkb = 0, rtc_timeoffset = 0, exec_ssidref = 0, exec_ssid_label = 0x0, localtime = {val = -1}, disable_migrate = {val = -1}, cpuid = 0x0, blkdev_start = 0x55c1a9d5aa70 "xvda", num_vnuma_nodes = 0, vnuma_nodes = 0x0, max_grant_frames = 4294967295, max_maptrack_frames = 4294967295, max_grant_version = 2, device_model_version = LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN, device_model_stubdomain = {val = -1}, stubdomain_memkb = 0, stubdomain_kernel = 0x0, stubdomain_cmdline = 0x0, stubdomain_ramdisk = 0x0, device_model = 0x0, device_model_ssidref = 0, device_model_ssid_label = 0x0, device_model_user = 0x0, extra = 0x0, extra_pv = 0x0, extra_hvm = 0x0, sched_params = {sched = LIBXL_SCHEDULER_UNKNOWN, weight = -1, cap = -1, period = -1, budget = -1, extratime = -1, slice = -1, latency = -1}, num_ioports = 0, ioports = 0x0, num_irqs = 0, irqs = 0x0, num_iomem = 0, iomem = 0x0, claim_mode = {val = 1}, event_channels = 1023, kernel = 0x0, cmdline = 0x0, ramdisk = 0x0, device_tree = 0x0, acpi = {val = 1}, bootloader = 0x0, bootloader_args = 0x0, timer_mode = LIBXL_TIMER_MODE_NO_DELAY_FOR_MISSED_TICKS, nested_hvm = {val = -1}, apic = {val = 1}, dm_restrict = {val = -1}, tee = LIBXL_TEE_TYPE_NONE, type = LIBXL_DOMAIN_TYPE_HVM, u = {hvm = {firmware = 0x0, bios = LIBXL_BIOS_TYPE_SEABIOS, pae = {val = 1}, apic = {val = 0}, acpi = {val = 1}, acpi_s3 = {val = 1}, acpi_s4 = {val = 1}, acpi_laptop_slate = {val = -1}, nx = {val = 1}, viridian = {val = -1}, viridian_enable = {size = 0, map = 0x0}, viridian_disable = {size = 0, map = 0x0}, timeoffset = 0x0, hpet = {val = 1}, vpt_align = {val = 1}, mmio_hole_memkb = 0, timer_mode = LIBXL_TIMER_MODE_UNKNOWN, nested_hvm = {val = 0}, altp2m = {val = -1}, system_firmware = 0x0, smbios_firmware = 0x0, acpi_firmware = 0x0, hdtype = LIBXL_HDTYPE_IDE, nographic = {val = -1}, vga = {kind = LIBXL_VGA_INTERFACE_TYPE_CIRRUS}, vnc = {enable = {val = 1}, listen = 0x55c1a9d54bf0 "127.0.0.1", passwd = 0x0, display = 0, findunused = {val = 1}}, keymap = 0x0, sdl = {enable = {val = -1}, opengl = {val = 0}, display = 0x0, xauthority = 0x0}, spice = {enable = {val = -1}, port = 0, tls_port = 0, host = 0x0, disable_ticketing = {val = 0}, passwd = 0x0, agent_mouse = {val = 0}, vdagent = {val = 0}, clipboard_sharing = {val = 0}, usbredirection = 0, image_compression = 0x0, streaming_video = 0x0}, gfx_passthru = {val = -1}, gfx_passthru_kind = LIBXL_GFX_PASSTHRU_KIND_DEFAULT, serial = 0x55c1a9d5a120 "pty", boot = 0x55c1a9d59720 "d", usb = {val = -1}, usbversion = 0, usbdevice = 0x0, vkb_device = {val = 1}, soundhw = 0x0, xen_platform_pci = {val = 1}, usbdevice_list = 0x0, vendor_device = LIBXL_VENDOR_DEVICE_NONE, ms_vm_genid = {bytes = '\000' <repeats 15 times>}, serial_list = 0x0, rdm = {strategy = LIBXL_RDM_RESERVE_STRATEGY_IGNORE, policy = LIBXL_RDM_RESERVE_POLICY_RELAXED}, rdm_mem_boundary_memkb = 2097152, mca_caps = 0}, pv = {kernel = 0x0, slack_memkb = 4294967298, bootloader = 0x100000000 <error: Cannot access memory at address 0x100000000>, bootloader_args = 0x100000001, cmdline = 0x1ffffffff <error: Cannot access memory at address 0x1ffffffff>, ramdisk = 0xffffffff <error: Cannot access memory at address 0xffffffff>, features = 0x0, e820_host = {val = 0}}, pvh = {pvshim = {val = 0}, pvshim_path = 0x100000002 <error: Cannot access memory at address 0x100000002>, pvshim_cmdline = 0x100000000 <error: Cannot access memory at address 0x100000000>, pvshim_extra = 0x100000001 <error: Cannot access memory at address 0x100000001>}}, arch_arm = {gic_version = LIBXL_GIC_VERSION_DEFAULT, vuart = LIBXL_VUART_TYPE_UNKNOWN}, arch_x86 = {msr_relaxed = {val = -1}, assisted_xapic = {val = 1}, assisted_x2apic = {val = 1}}, altp2m = LIBXL_ALTP2M_MODE_DISABLED, vmtrace_buf_kb = 0, vpmu = {val = -1}}, num_disks = 1, disks = 0x55c1a9d59df0, num_nics = 0, nics = 0x0, num_pcidevs = 0, pcidevs = 0x0, num_rdms = 0, rdms = 0x0, num_dtdevs = 0, dtdevs = 0x0, num_vfbs = 0, vfbs = 0x0, num_vkbs = 0, vkbs = 0x0, num_vtpms = 0, vtpms = 0x0, num_p9s = 0, p9s = 0x0, num_pvcallsifs = 0, pvcallsifs = 0x0, num_vdispls = 0, vdispls = 0x0, num_vsnds = 0, vsnds = 0x0, num_channels = 0, channels = 0x0, num_usbctrls = 0, usbctrls = 0x0, num_usbdevs = 0, usbdevs = 0x0, on_poweroff = LIBXL_ACTION_ON_SHUTDOWN_DESTROY, on_reboot = LIBXL_ACTION_ON_SHUTDOWN_RESTART, on_watchdog = LIBXL_ACTION_ON_SHUTDOWN_DESTROY, on_crash = LIBXL_ACTION_ON_SHUTDOWN_DESTROY, on_soft_reset = LIBXL_ACTION_ON_SHUTDOWN_SOFT_RESET}
debug = <optimized out>
daemonize = 1
monitor = 1
paused = <optimized out>
vncautopass = 0
config_file = <optimized out>
extra_config = <optimized out>
restore_file = <optimized out>
config_source = <optimized out>
restore_source = <optimized out>
migrate_fd = <optimized out>
config_in_json = <optimized out>
i = 1
need_daemon = 0
ret = <optimized out>
rc = <optimized out>
deathw = 0x55c1a9d59440
diskws = 0x55c1a9d596c0
num_diskws = 0
config_data = 0x55c1a9d5aab0
config_len = 7245
restore_fd = -1
restore_fd_to_close = -1
send_back_fd = -1
autoconnect_console_how = <optimized out>
notify_pipe = {-1, -1}
hdr = {magic = '\000' <repeats 31 times>, byteorder = 0, mandatory_flags = 0, optional_flags = 0, optional_data_len = 0}
domid_soft_reset = 4294967295
restoring = 0
__PRETTY_FUNCTION__ = "create_domain"
autoconnect_console_how_buf = {callback = 0x0, for_event = 0, for_callback = 0x0}
__func__ = "create_domain"
#7 0x000055c1a9472385 in main_create (argc=1, argv=0x7ffc05d65930) at xl_vmcontrol.c:1260
filename = 0x7ffc05d6685d "Bureau/hvm.cfg"
dom_info = {debug = 0, daemonize = 1, monitor = 1, paused = 0, dryrun = 0, quiet = 0, vnc = 0, vncautopass = 0, console_autoconnect = 0, checkpointed_stream = 0, ignore_global_affinity_masks = 0, config_file = 0x7ffc05d6685d "Bureau/hvm.cfg", extra_config = 0x0, restore_file = 0x0, colo_proxy_script = 0x0, userspace_colo_proxy = false, migrate_fd = -1, send_back_fd = -1, migration_domname_r = 0x0}
paused = 0
debug = 0
daemonize = 1
console_autoconnect = 0
quiet = 0
monitor = 1
vnc = 0
vncautopass = 0
ignore_masks = 0
opt = <optimized out>
rc = <optimized out>
opts = {{name = 0x55c1a947db9d "defconfig", has_arg = 1, flag = 0x0, val = 102}, {name = 0x55c1a947dba7 "dryrun", has_arg = 0, flag = 0x0, val = 110}, {name = 0x55c1a947ed98 "ignore-global-affinity-masks", has_arg = 0, flag = 0x0, val = 105}, {name = 0x55c1a9480c39 "quiet", has_arg = 0, flag = 0x0, val = 113}, {name = 0x55c1a94766c4 "vncviewer", has_arg = 0, flag = 0x0, val = 86}, {name = 0x55c1a947fcbb "vncviewer-autopass", has_arg = 0, flag = 0x0, val = 65}, {name = 0x55c1a947620c "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
#8 0x000055c1a9458614 in main (argc=2, argv=0x7ffc05d65928) at xl.c:455
opt = <optimized out>
cmd = 0x7ffc05d66856 "create"
cspec = <optimized out>
ret = <optimized out>
config_data = 0x55c1a9d53ee0
config_len = 1602
xtl_flags = <optimized out>
(gdb) t a a bt
Thread 2 (Thread 0x7ff474a3a780 (LWP 6316) "xl"):
#0 __read_chk (fd=fd@entry=11, buf=buf@entry=0x7ff470000c30, nbytes=nbytes@entry=16, buflen=buflen@entry=18446744073709551615) at ./debug/read_chk.c:33
#1 0x00007ff4746ba4ee in read (__nbytes=<optimized out>, __buf=0x7ff470000c30, __fd=11) at /usr/include/x86_64-linux-gnu/bits/unistd.h:38
#2 read_all (fd=11, data=data@entry=0x7ff470000c30, len=len@entry=16, nonblocking=nonblocking@entry=0) at xs.c:402
#3 0x00007ff4746ba616 in read_message (h=h@entry=0x55f435115bc0, nonblocking=nonblocking@entry=0) at xs.c:1265
#4 0x00007ff4746bb021 in read_thread (arg=0x55f435115bc0) at xs.c:1337
#5 0x00007ff47478bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007ff47481da00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 1 (Thread 0x7ff474607ec0 (LWP 6315) "xl"):
#0 __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=6316, futex_word=0x7ff474a3aa50) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=true, private=128, abstime=0x0, clockid=0, expected=6316, futex_word=0x7ff474a3aa50) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7ff474a3aa50, expected=6316, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=128) at ./nptl/futex-internal.c:139
#3 0x00007ff47478d6a4 in __pthread_clockjoin_ex (threadid=140687905630080, thread_return=thread_return@entry=0x0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, block=block@entry=true) at ./nptl/pthread_join_common.c:105
#4 0x00007ff47478d543 in ___pthread_join (threadid=<optimized out>, thread_return=thread_return@entry=0x0) at ./nptl/pthread_join.c:24
#5 0x00007ff4746bb44b in xs_daemon_close (h=0x55f435115bc0) at xs.c:366
#6 0x00007ff4746bb45f in xs_close (xsh=<optimized out>) at xs.c:386
#7 0x00007ff47495da36 in libxl_ctx_free (ctx=0x55f4351152e0) at libxl.c:173
#8 0x000055f4339ad5a3 in xl_ctx_free () at xl.c:370
#9 0x00007ff47473c495 in __run_exit_handlers (status=0, listp=0x7ff474910838 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:113
#10 0x00007ff47473c610 in __GI_exit (status=<optimized out>) at ./stdlib/exit.c:143
#11 0x00007ff474720d97 in __libc_start_call_main (main=main@entry=0x55f4339ae425 <main>, argc=argc@entry=4, argv=argv@entry=0x7ffeee292f68) at ../sysdeps/nptl/libc_start_call_main.h:74
#12 0x00007ff474720e40 in __libc_start_main_impl (main=0x55f4339ae425 <main>, argc=4, argv=0x7ffeee292f68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeee292f58) at ../csu/libc-start.c:392
#13 0x000055f4339ad425 in _start ()
(gdb) thread apply all bt full
Thread 2 (Thread 0x7ff474a3a780 (LWP 6316) "xl"):
#0 __read_chk (fd=fd@entry=11, buf=buf@entry=0x7ff470000c30, nbytes=nbytes@entry=16, buflen=buflen@entry=18446744073709551615) at ./debug/read_chk.c:33
sc_ret = -512
#1 0x00007ff4746ba4ee in read (__nbytes=<optimized out>, __buf=0x7ff470000c30, __fd=11) at /usr/include/x86_64-linux-gnu/bits/unistd.h:38
No locals.
#2 read_all (fd=11, data=data@entry=0x7ff470000c30, len=len@entry=16, nonblocking=nonblocking@entry=0) at xs.c:402
done = <optimized out>
#3 0x00007ff4746ba616 in read_message (h=h@entry=0x55f435115bc0, nonblocking=nonblocking@entry=0) at xs.c:1265
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {94507350711232, 5715789836193504819, 140687905630080, 0, 140687902816336, 140732894091904, 5715789836113813043, 5715790319036276275}, __mask_was_saved = 0}}, __pad = {0x7ff474a39f70, 0x0, 0x0, 0x0}}
__cancel_routine = <optimized out>
__cancel_arg = <optimized out>
__not_first_call = <optimized out>
msg = 0x7ff470000c20
body = 0x0
saved_errno = 0
ret = -1
#4 0x00007ff4746bb021 in read_thread (arg=0x55f435115bc0) at xs.c:1337
h = 0x55f435115bc0
fd = <optimized out>
#5 0x00007ff47478bb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
ret = <optimized out>
pd = <optimized out>
out = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140732894091552, -5712119218619933133, 140687905630080, 0, 140687902816336, 140732894091904, 5715789836203990579, 5715790464145694259}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007ff47481da00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.
Thread 1 (Thread 0x7ff474607ec0 (LWP 6315) "xl"):
#0 __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=6316, futex_word=0x7ff474a3aa50) at ./nptl/futex-internal.c:57
sc_cancel_oldtype = 0
sc_ret = <optimized out>
resultvar = <optimized out>
__arg6 = <optimized out>
__arg5 = <optimized out>
__arg4 = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a6 = <optimized out>
_a5 = <optimized out>
_a4 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
#1 __futex_abstimed_wait_common (cancel=true, private=128, abstime=0x0, clockid=0, expected=6316, futex_word=0x7ff474a3aa50) at ./nptl/futex-internal.c:87
err = <optimized out>
clockbit = 256
op = 265
err = <optimized out>
clockbit = <optimized out>
op = <optimized out>
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7ff474a3aa50, expected=6316, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=128) at ./nptl/futex-internal.c:139
No locals.
#3 0x00007ff47478d6a4 in __pthread_clockjoin_ex (threadid=140687905630080, thread_return=thread_return@entry=0x0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, block=block@entry=true) at ./nptl/pthread_join_common.c:105
ret = <optimized out>
_buffer = {__routine = 0x7ff47478d550 <cleanup>, __arg = 0x7ff474a3ada8, __canceltype = 0, __prev = 0x0}
tid = <optimized out>
pd = 0x7ff474a3a780
self = <optimized out>
result = 0
pd_result = <optimized out>
#4 0x00007ff47478d543 in ___pthread_join (threadid=<optimized out>, thread_return=thread_return@entry=0x0) at ./nptl/pthread_join.c:24
No locals.
#5 0x00007ff4746bb44b in xs_daemon_close (h=0x55f435115bc0) at xs.c:366
No locals.
#6 0x00007ff4746bb45f in xs_close (xsh=<optimized out>) at xs.c:386
No locals.
#7 0x00007ff47495da36 in libxl_ctx_free (ctx=0x55f4351152e0) at libxl.c:173
i = 4
gc = {{alloc_maxsize = 0, alloc_ptrs = 0x0, owner = 0x55f4351152e0}}
__PRETTY_FUNCTION__ = "libxl_ctx_free"
eject = <optimized out>
poller = <optimized out>
poller_tmp = <optimized out>
#8 0x000055f4339ad5a3 in xl_ctx_free () at xl.c:370
No locals.
#9 0x00007ff47473c495 in __run_exit_handlers (status=0, listp=0x7ff474910838 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:113
atfct = <optimized out>
onfct = <optimized out>
cxafct = <optimized out>
arg = 0x0
f = <optimized out>
new_exitfn_called = <optimized out>
cur = 0x7ff474911f00 <initial>
#10 0x00007ff47473c610 in __GI_exit (status=<optimized out>) at ./stdlib/exit.c:143
No locals.
#11 0x00007ff474720d97 in __libc_start_call_main (main=main@entry=0x55f4339ae425 <main>, argc=argc@entry=4, argv=argv@entry=0x7ffeee292f68) at ../sysdeps/nptl/libc_start_call_main.h:74
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -5712119218620457421, 140732894097256, 94507326170149, 94507326360472, 140687905890368, 5712716655603883571, 5715790519577222707}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#12 0x00007ff474720e40 in __libc_start_main_impl (main=0x55f4339ae425 <main>, argc=4, argv=0x7ffeee292f68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeee292f58) at ../csu/libc-start.c:392
No locals.
#13 0x000055f4339ad425 in _start ()
No symbol table info available.
quit
Detaching from program: /usr/local/sbin/xl, process 6315
[Inferior 1 (process 6315) detached]
@Wenzel
Copy link
Author

Wenzel commented Jul 20, 2022

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment