[sane-devel] segfault
Vladimir Dergachev
volodya at mindspring.com
Fri May 3 09:08:19 BST 2002
On Fri, 3 May 2002, Tim Waugh wrote:
> 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?
I am using libusb-0.1.5 the latest, it was compiled recently, just before
I compiled sane. The error above appears when using CVS snapshot from a
couple of days ago.
Vladimir Dergachev
>
> Tim.
> */
>
More information about the sane-devel
mailing list