# Re: sane doesnt work under red hat 6.1 (again)!

Luca Del Signore (lucadels@tin.it)
Thu, 04 Nov 1999 18:56:51 +0100

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Chris Pinkham: "Re: sane doesnt work under red hat 6.1 (again)!"
- Previous message: Luca Del Signore: "Re: sane doesnt work under red hat 6.1 (again)!"
- Maybe in reply to: Luca Del Signore: "sane doesnt work under red hat 6.1 (again)!"
- Next in thread: Vincent Parrilla: "Re: sane doesnt work under red hat 6.1 (again)!"

This is a multi-part message in MIME format.
--------------EB1B0DC45001056F91956F6F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Oliver Rauch wrote:
>
> Luca Del Signore wrote:
>
> >
> >
> > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> > Dear sirs
> > i have the following problems with SANE and red hat 6.1
> > I installed the right rpm packages for my red hat 6.1:
> > sane-1.0.1-4.i386.rpm
> > sane-devel-1.0.1-4.i386.rpm
> > from the red hat ftp site, so it should work.
> > Instead, when i type "xscanimage" or "scanimage \d artec /dev/scanner...." i always receive the follow error message:
> > " Segmentation fault (core dumped).
> > If it's not enough, the gimp menu bar doesnt show the "acquire image" option, even if i created the symlink to the /usr/lib/gimp/1.0/plug-ins directory.
> > What's wrong? Can you help me? I would like to stress out the fact that i didn't have this problem with other distributions (suse, mandrake).
> > Thanx in advance
> >
> > Luca Del Signore
>
> Hi,
>
> try to find out where the segfault happens:
> gdb xscanimage
> r <enter>
> after the segfault:
> backtrace <enter>
>
> And send the output (should be less than 100 lines) to the mailling list.
>
> Bye
> Oliver
So that's the output of the command (see the attachment) can it be
helpful?
> --
> Homepage: http://www.wolfsburg.de/~rauch
> sane-umax: http://www.wolfsburg.de/~rauch/sane/sane-umax.html
> xsane: http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
> E-Mail: mailto:Oliver.Rauch@Wolfsburg.DE
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
--------------EB1B0DC45001056F91956F6F
Content-Type: text/plain; charset=us-ascii;
name="typescript"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="typescript"

Script started on Thu Nov 4 18:53:14 1999
[root@localhost /root]# gdb xscanimage
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) r
Starting program: /usr/bin/xscanimage

Program received signal SIGSEGV, Segmentation fault.
0x4030502e in chunk_free (ar_ptr=0x40399040, p=0x80e0b48) at malloc.c:3057
3057 malloc.c: No such file or directory.
(gdb) backtrace
#0 0x4030502e in chunk_free (ar_ptr=0x40399040, p=0x80e0b48) at malloc.c:3057
#1 0x40304d75 in __libc_free (mem=0x80e0b50) at malloc.c:2959
#2 0x4046e8a6 in sanei_hp_free () from /usr/lib/sane/libsane-hp.so.1
#3 0x404737b3 in sanei_hp_scsi_destroy () from /usr/lib/sane/libsane-hp.so.1
#4 0x4046d9df in sanei_hp_device_new () from /usr/lib/sane/libsane-hp.so.1
#5 0x404696f0 in hp_get_dev () from /usr/lib/sane/libsane-hp.so.1
#6 0x40469752 in hp_attach () from /usr/lib/sane/libsane-hp.so.1
#7 0x4046bcdc in sanei_scsi_find_devices () from /usr/lib/sane/libsane-hp.so.1
#8 0x4046a9e4 in sanei_config_attach_matching_devices ()
from /usr/lib/sane/libsane-hp.so.1
#9 0x40469afd in hp_read_config () from /usr/lib/sane/libsane-hp.so.1
#10 0x40469c39 in hp_update_devlist () from /usr/lib/sane/libsane-hp.so.1
#11 0x40469dac in sane_hp_get_devices () from /usr/lib/sane/libsane-hp.so.1
#12 0x40014b0a in sane_dll_get_devices () from /usr/lib/libsane.so.1
#13 0x4001525d in sane_get_devices () from /usr/lib/libsane.so.1
#14 0x804f1b4 in init ()
#15 0x804f1da in interface ()
#16 0x804f316 in main ()
#17 0x402c41eb in __libc_start_main (main=0x804f2b0 <main>, argc=1,
argv=0xbffffc74, init=0x804ba28 <_init>, fini=0x8055cac <_fini>,
rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffc6c)
at ../sysdeps/generic/libc-start.c:90
(gdb) The program is running. Exit anyway? (y or n) y
[root@localhost /root]# exit

Script done on Thu Nov 4 18:53:58 1999

--------------EB1B0DC45001056F91956F6F--

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

- Next message: Chris Pinkham: "Re: sane doesnt work under red hat 6.1 (again)!"
- Previous message: Luca Del Signore: "Re: sane doesnt work under red hat 6.1 (again)!"
- Maybe in reply to: Luca Del Signore: "sane doesnt work under red hat 6.1 (again)!"
- Next in thread: Vincent Parrilla: "Re: sane doesnt work under red hat 6.1 (again)!"