Segfault in xscanimage

From: Karl Heinz Kremer (khk@khk.net)
Date: Sat Jan 29 2000 - 07:11:46 PST

  • Next message: Dave: "HP PhotoSmart: Feeding slides, the entire area is not scanned"

    I need some help debugging a problem (or ruling out that my
    backend is causing this problme):

    When I run xscanimage with the latest CVS version of the Epson
    backend I get a segmentation fault when
       - Advanced options are _NOT_ selected
       - and I click on scan or preview

    When the advanced options are displayed everything works fine.

    The following output is produced when running xscanimage in gdb:

    (gdb) run
    Starting program: /usr/bin/xscanimage

    Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkGammaCurve'

    Program received signal SIGSEGV, Segmentation fault.
    0x8054e37 in gsg_sync (dialog=0x8097ae0) at gtkglue.c:1334
    1334 curve = GTK_GAMMA_CURVE (dialog->element[i].widget)->curve;
    (gdb) quit

    The fault happens in line 1334 of gtkglue.c.

    Is this my fault, and if so, where should I look?

    Thanks,

    Karl Heinz

    -- 
    Karl Heinz Kremer                                      khk@khk.net
                                                    http://www.khk.net
                                                         ICQ: 41190739
    


    --
    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 : Sat Jan 29 2000 - 07:08:48 PST