[sane-devel] segfault

Tim Waugh twaugh at redhat.com
Fri May 3 08:21:22 BST 2002


On Thu, May 02, 2002 at 11:12:04PM -0400, Vladimir Dergachev wrote:

> Program received signal SIGSEGV, Segmentation fault.
> sane_sm3600_init (version_code=0xbffff278, authCB=0x8049270
> <auth_callback>)
>     at sm3600.c:384
> 384               DBG(DEBUG_JUNK,"found dev %04X/%04X\n",
> (gdb) list
> 379           DBG(DEBUG_JUNK,"scanning bus %s\n", pbus->dirname);
> 380           for (pdev=pbus->devices; pdev; pdev  = pdev->next)
> 381             {
> 382               unsigned short *pidProduct;
> 383               iDev++;
> 384               DBG(DEBUG_JUNK,"found dev %04X/%04X\n",
> 385                       pdev->descriptor.idVendor,
> 386                       pdev->descriptor.idProduct);
> 387               /* the loop is not SO effective, but straight! */
> 388               for (pidProduct=aidProduct; *pidProduct; pidProduct++)

Hmm, smells like the same thing the gPhoto2 people have been seeing
with libusb.

> (gdb) print pdev

..but unfortunately, you didn't include enough information to be
sure.  Does a recompile of libusb, and the sane, fix the problem?

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020503/8ae767da/attachment.sig>


More information about the sane-devel mailing list