libusb crash when run as non root user -
backtrace :
program received signal sigsegv, segmentation fault. 0x00007ffff7bca558 in add_to_flying_list (transfer=0x6527b0) @ io.c:1364 1364 struct libusb_context *ctx = itransfer_ctx(transfer); (gdb) bt
0 0x00007ffff7bca558 in add_to_flying_list (transfer=0x6527b0) @ io.c:1364
1 libusb_submit_transfer (transfer=transfer@entry=0x652848) @ io.c:1483
2 0x00007ffff7bcc779 in do_sync_bulk_transfer (dev_handle=0x0, endpoint=, buffer=0x613728 "\f", length=8, transferred=0x7fffffffe7c0, timeout=1000,
type=type@entry=2 '\002') @ sync.c:174
3 0x00007ffff7bccb14 in libusb_bulk_transfer (dev_handle=, endpoint=, data=, length=, transferred=,
timeout=<optimized out>) @ sync.c:257
4 0x0000000000402cfa in dm_usb_send (context=0x652010, msg_ptr=0x613728 ) @ rel/1.0/src/dm-usb-context.c:136
does 1 see kind of crash when run non root user ? (works fine when run root)
i got crash because of permission issues.i have added myself plugdev group.after adding plugdev group didnt see crash
Comments
Post a Comment