Re: Floating point error with snapscan backend

From: Raimar Wulkenhaar (raimar@doppler.thp.univie.ac.at)
Date: Mon May 29 2000 - 23:53:12 PDT

  • Next message: Henrik Schmidt: "v1.0.2 and Solaris 2.6"

    Petter Reinholdtsen wrote:
    >
    > [Raimar Wulkenhaar]
    > > But scanimage -T or with any option other than -V or -L aborts with
    > > `Floating point exception'.
    >
    > Try running it in the debugger ('gdb scanimage -T' and 'run'), and
    > check the back trace ('bt') to see where it crashes.
    > --

    Hi,

    sorry for the late answer, I was temporarily abroad. I have run
    scanimage in the debugger. There seems to be a problem in
    snapscan-sources.c:

    (gdb) run -T
    Starting program: /usr/local/bin/scanimage -T

    Program received signal SIGFPE, Arithmetic exception.
    0x400ff653 in SCSISource_init (pself=0x8055ce8, pss=0x804d8c0)
        at snapscan-sources.c:160
    160 pself->absolute_max =
    (gdb) bt
    #0 0x400ff653 in SCSISource_init (pself=0x8055ce8, pss=0x804d8c0)
        at snapscan-sources.c:160
    #1 0x400ffa1a in create_base_source (pss=0x804d8c0, st=SCSI_SRC,
        pps=0x8055630) at snapscan-sources.c:342
    #2 0x40100583 in create_source_chain (pss=0x804d8c0, bst=SCSI_SRC,
        pps=0x8055630) at snapscan-sources.c:819
    #3 0x401044f2 in sane_snapscan_start (h=0x804d8c0) at snapscan.c:2371
    #4 0x4000d2df in sane_dll_start (handle=0x8055a28) at dll.c:826
    #5 0x4000d5c9 in sane_start (h=0x8055a28) at dll-s.c:46
    #6 0x804a654 in test_it () at scanimage.c:985
    #7 0x804b3c5 in main (argc=2, argv=0xbffffa24) at scanimage.c:1399
    (gdb)

    Can anyone help me? Best regards,

    Raimar

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Mon May 29 2000 - 23:46:59 PDT