[sane-devel] segfault

Tim Waugh twaugh@redhat.com
Fri, 3 May 2002 08:21:22 +0100


--2fSbKhQ/kwrfWINy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.
*/

--2fSbKhQ/kwrfWINy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE80jpxyaXy9qA00+cRAjY1AKCAKCbR+SwgUhemFk0JtltYIp3/aACdFWUf
jhiWHf81h8nTMXMf/8URmSU=
=7HPR
-----END PGP SIGNATURE-----

--2fSbKhQ/kwrfWINy--