Skip to content

Instantly share code, notes, and snippets.

@aep
Created December 13, 2019 12:17
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 aep/42852a261050cae36979bbdb56d788e7 to your computer and use it in GitHub Desktop.
Save aep/42852a261050cae36979bbdb56d788e7 to your computer and use it in GitHub Desktop.
(gdb) bt
#0 0x00007ffff776f689 in () at /usr/lib/libusb-1.0.so.0
#1 0x00007ffff776fa2f in libusb_bulk_transfer () at /usr/lib/libusb-1.0.so.0
#2 0x00007ffff7ef78df in scpi_usbtmc_bulkout
(uscpi=uscpi@entry=0x5555555e0580, msg_id=msg_id@entry=1 '\001', data=data@entry=0x5555555a93d0, size=<optimized out>, transfer_attributes=transfer_attributes@entry=1 '\001') at src/scpi/scpi_usbtmc_libusb.c:504
#3 0x00007ffff7ef79be in scpi_usbtmc_libusb_send (priv=0x5555555e0580, command=0x5555555a93d0 "SYST:LOCAL\n") at src/scpi/scpi_usbtmc_libusb.c:576
#4 0x00007ffff7eee1fe in scpi_send_variadic
(format=format@entry=0x7ffff7f8118c "SYST:LOCAL", args=args@entry=0x7fffffffe320, scpi=<optimized out>, scpi=<optimized out>) at src/scpi/scpi.c:164
#5 0x00007ffff7eef9af in sr_scpi_cmd
(sdi=<optimized out>, cmdtable=<optimized out>, channel_command=channel_command@entry=0, channel_name=channel_name@entry=0x0, command=command@entry=2)
at src/scpi/scpi.c:1272
#6 0x00007ffff7f550b2 in dev_close (sdi=<optimized out>) at src/hardware/scpi-pps/api.c:309
#7 0x00007ffff7edf7ce in std_dev_clear_with_callback (driver=0x7ffff7fc4d80 <scpi_pps_driver_info>, clear_private=0x7ffff7f55700 <clear_helper>)
at src/std.c:449
#8 0x00007ffff7edf2d4 in std_cleanup (di=0x7ffff7fc4d80 <scpi_pps_driver_info>) at src/std.c:98
#9 0x00007ffff7edad73 in sr_hw_cleanup_all (ctx=ctx@entry=0x55555558cfd0) at src/hwdriver.c:574
#10 0x00007ffff7ed702e in sr_exit (ctx=0x55555558cfd0) at src/backend.c:647
#11 0x0000555555558d21 in main (argc=<optimized out>, argv=<optimized out>) at main.c:309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment