Re: [Libusbx-devel] [libusbx] Linux: libusbx crashes with segmentation fault (#25)

2013-07-17 Thread Alexandru Csete
It works for me too. Thanks for the hidapi patch @jwrdegoede. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/25#issuecomment-21150497 -- See everything from the browser to

Re: [Libusbx-devel] Fwd: [Bug 985484] New: Deadlock in linux_udev_event_thread_main at os/linux_udev.c:153

2013-07-17 Thread Chris Dickens
Hi, I have identified the problem. When libusb_exit() is called, the linux backend will acquire the linux_hotplug_lock before calling linux_stop_event_monitor(). In this user's particular case, it looks like the event monitor thread is seeing activity from udev and then tries to acquire the linux_

[Libusbx-devel] Fwd: [Bug 985484] New: Deadlock in linux_udev_event_thread_main at os/linux_udev.c:153

2013-07-17 Thread Hans de Goede
Hi all, I'm going on vacation for a week starting tomorrow so I don't have time to look into this myself atm. If anyone has any clues / ideas as to what is going on here, you're insight is appreciated. Regards, Hans Original Message Subject: [Bug 985484] New: Deadlock in linu

Re: [Libusbx-devel] [libusbx] Mac OSX: libusbx crashes when unplugging a device (1.0.16) (#121)

2013-07-17 Thread Lilk
Well, I managed to get a little more output by also changing -g to -g3 in my app. ``` [ 6.852191] [6703] libusbx: debug [handle_events] poll() returned 1 [ 6.852199] [6703] libusbx: debug [op_handle_events] checking fd 7 with revents = 0 nf is disconnected ? ;) [ 6.852203] [6703] lib

Re: [Libusbx-devel] [libusbx] Mac OSX: libusbx crashes when unplugging a device (1.0.16) (#121)

2013-07-17 Thread Lilk
Sorry, I forgot the stacktrace since it so extremely short. I tried recompiling libusbx with ./configure CC='icc' CXX='icpc' CXXFLAGS='-O3 -g3' CCFLAGS=' -O3 -g3' but it did not help to get anything more verbose. Program received signal EXC_BAD_ACCESS, Could not access memory. Reaso