Ticket #132 (closed defect: needinfo)

Opened 13 months ago

Last modified 3 months ago

libusb_open_device_with_vid_pid libusb 1.0.9 Segmentation fault: 11

Reported by: thireus Owned by:
Milestone: 1.0.10 Component: libusb-1.0 Darwin backend
Keywords: MacOS, Darwin, libusb_open_device_with_vid_pid, 1.0.8, 1.0.9 Cc:
Blocked By: Blocks:

Description

Hi there,

With the latest version on MacOS 10.7.4 libusb 1.0.9 using libusb_open_device_with_vid_pid function causes Segmentation fault.

I do not have any other log file to provide. With libusb 1.0.8 everything is ok with this function.

Regards,
Thi.

Change History

comment:1 Changed 13 months ago by xiaofan

Please provide the log and more details. If not, it is very difficult for people to help you.

comment:2 Changed 13 months ago by sping

Are you aware of configure parameter --enable-debug-log ?

If you would rather not touch your system installation of libusb, you do not have to. This is how I made lsusb use a local version of libusb 1.0.9 with debug logging enabled:

wget http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2
tar xf libusb-1.0.9.tar.bz2
cd libusb-1.0.9
./configure --enable-debug-log --prefix="$PWD/usr"
make
make install

LD_LIBRARY_PATH="$PWD/usr/lib" /usr/bin/lsusb
Last edited 13 months ago by sping (previous) (diff)

comment:3 Changed 13 months ago by sping

  • Milestone set to 1.0.10

comment:4 Changed 4 months ago by hjelmn

I need some for of log or backtrace to figure out why this might be happening. If I don't get anything I will have to close this ticket *(you can reopen if the problem occurs with 1.0.16).

BTW, on OSX he needs to set DYLD_LIBRARY_PATH.

comment:5 Changed 3 months ago by hjelmn

  • Resolution set to needinfo
  • Status changed from new to closed

I am closing this ticket due to lack of info. Please try 1.0.16 when it is released and reopen this ticket if the segmentation fault still occurs.

Note: See TracTickets for help on using tickets.