Ticket #39 (closed defect: needinfo)

Opened 3 years ago

Last modified 21 months ago

Libusb1.0.6 Segmentation Fault

Reported by: sandy Owned by:
Milestone: Component: libusb-1.0
Keywords: Cc:
Blocked By: Blocks:

Description

I'm getting Segmentation fault in libusb1.0.6

File : linux_usbfs.c
Function : handle_bulk_completion
Line No. : 1775
Statement: int num_urbs = tpriv->num_urbs;

Kindly refer to below gdb log:
#0 handle_bulk_completion () at linux_usbfs.c:1775
1775 int num_urbs = tpriv->num_urbs;
Missing separate debuginfos, use: debuginfo-install glibc-2.9-2.i686 libgcc-4.3.2-7.i386 libstdc++-4.3.2-7.i386
(gdb) bt
#0 handle_bulk_completion () at linux_usbfs.c:1775
#1 reap_for_handle () at linux_usbfs.c:2076
#2 op_handle_events (ctx=0x8a33008, fds=0x8a33920, nfds=3, num_ready=0) at linux_usbfs.c:2114
#3 0x00116083 in handle_events (ctx=0x8a33008, tv=0xb7661e44) at io.c:1867
#4 0x00116486 in libusb_handle_events_timeout (ctx=0x8a33008, tv=0xb7661e7c) at io.c:1938
#5 0x00116532 in libusb_handle_events (ctx=0x8a33008) at io.c:1981
#6 0x00116a40 in do_sync_bulk_transfer (dev_handle=0x8a33590, endpoint=<value optimized out>, buffer=0xb5d741fc " 22203", length=1318014,

transferred=0xb7661f08, timeout=10000, type=2 '02') at sync.c:175

Change History

comment:1 Changed 3 years ago by sandy

Please let me know ASAP

comment:2 Changed 3 years ago by xiaofan

Could you try 1.08 or better latest git?

comment:3 Changed 23 months ago by xiaofan

This old ticket without further information for a long time should probably be closed.

comment:4 Changed 21 months ago by stuge

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

Yes you're absolutely right. If the problem persists with a recent version of the code then please reopen the ticket.

Note: See TracTickets for help on using tickets.