• Bug#254460: xsane: segfault with epson 1200 scsi

    From Andreas von Heydwolff@1:229/2 to All on Fri Aug 13 13:20:06 2004
    From: [email protected]

    Package: xsane
    Version: 0.94-4
    Followup-For: Bug #254460

    Hello,
    after selecting the source (sane/epson or epsonkowa driver, doesn't matter which I choose, xsane segfaults. Commandline scanning with the
    epsonkowa driver is working. Below is the end of the strace output.

    Greetings,
    A.v. Heydwolff

    --
    _llseek(39, 31931, [31931], SEEK_SET) = 0
    _llseek(39, 31931, [31931], SEEK_SET) = 0
    _llseek(39, 31931, [31931], SEEK_SET) = 0
    _llseek(39, 31931, [31931], SEEK_SET) = 0
    _llseek(39, 31931, [31931], SEEK_SET) = 0
    _llseek(39, 31931, [31931], SEEK_SET) = 0
    _llseek(39, 31931, [31931], SEEK_SET) = 0
    close(39) = 0
    munmap(0x41436000, 131072) = 0
    write(5, "5\1\4\0\304\0\300\4}\0\0\0\16\0\20\0008\0\4\0\36\0\300"..., 2048) = 2048
    uname({sys="Linux", node="linde", ...}) = 0
    getpid() = 9984
    write(5, "B\1S\0\307\0\300\4\36\0\300\4l\0\37\0q\0\37\0w\0\37\0z"..., 2036) = 2036
    write(5, "\234\10\t\0\3\0\300\4\33\0\300\4\34\0\300\4\331\0\300\4"..., 2048) = 2048
    uname({sys="Linux", node="linde", ...}) = 0
    getpid() = 9984
    write(5, "B\10O\0\356\0\300\4\36\0\300\4\v\0\7\0\v\0\7\0\16\0\7\0"..., 2032) = 2032
    write(5, "\234\10\t\0\3\0\300\4\33\0\300\4\34\0\300\4\372\0\300\4"..., 2040) = 2040
    writev(5, [{"B\10E\0\v\1\300\4\36\0\300\4\1\0\4\0\5\0\4\0\10\0\4\0\v"..., 2048}, {"\1\0\0\0", 4}], 2) = 2052
    brk(0) = 0x83eb000
    brk(0x840c000) = 0x840c000 open("/usr/share/locale/de_AT@euro/LC_MESSAGES/sane-backends.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/de@euro/LC_MESSAGES/sane-backends.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/de_AT/LC_MESSAGES/sane-backends.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/de/LC_MESSAGES/sane-backends.mo", O_RDONLY) = 39 fstat64(39, {st_mode=S_IFREG|0644, st_size=58056, ...}) = 0
    mmap2(NULL, 58056, PROT_READ, MAP_PRIVATE, 39, 0) = 0x41436000
    close(39) = 0
    write(5, "B\10E\0\37\1\300\4\36\0\300\4\n\0\0\0\n\0\0\0\t\0\1\0\t"..., 2048) = 2048
    brk(0) = 0x840c000
    brk(0x842d000) = 0x842d000
    mmap2(NULL, 393216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41445000
    munmap(0x41445000, 393216) = 0
    getuid32() = 1000
    gettimeofday({1092394396, 230255}, NULL) = 0
    getpid() = 9984 open("/tmp//xsane-preview-level-0-epson:_dev_sg2.ppm-1000-bTuqnZ", O_RDWR|O_CREAT|O_EXCL, 0600) = 39
    close(39) = 0 open("/tmp//xsane-preview-level-0-epson:_dev_sg2.ppm-1000-bTuqnZ", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 39
    close(39) = 0
    getuid32() = 1000
    gettimeofday({1092394396, 240277}, NULL) = 0
    getpid() = 9984 open("/tmp//xsane-preview-level-1-epson:_dev_sg2.ppm-1000-XR2QKh", O_RDWR|O_CREAT|O_EXCL, 0600) = 39
    close(39) = 0 open("/tmp//xsane-preview-level-1-epson:_dev_sg2.ppm-1000-XR2QKh", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 39
    close(39) = 0
    getuid32() = 1000
    gettimeofday({1092394396, 250748}, NULL) = 0
    getpid() = 9984 open("/tmp//xsane-preview-level-2-epson:_dev_sg2.ppm-1000-rx72uy", O_RDWR|O_CREAT|O_EXCL, 0600) = 39
    close(39) = 0 open("/tmp//xsane-preview-level-2-epson:_dev_sg2.ppm-1000-rx72uy", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 39
    close(39) = 0
    uname({sys="Linux", node="linde", ...}) = 0
    getpid() = 9984
    write(5, "B\10\7\0004\1\300\4\36\0\300\4\2\0\21\0\21\0\21\0\2\0\22"..., 2044) = 2044
    write(5, "B\10;\0?\1\300\4\36\0\300\4\1\0\t\0\1\0\t\0\t\0\t\0\n\0"..., 2048) = 2048
    write(5, "B\10\r\0S\1\300\4\36\0\300\4\f\0\16\0\16\0\16\0\2\0\17"..., 2044) = 2044
    write(5, "B\10!\0c\1\300\4\36\0\300\4\1\0\16\0\1\0\16\0\t\0\16\0"..., 2048) = 2048
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++





    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable'), (500, 'testing')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7
    Locale: LANG=de_AT, LC_CTYPE=de_AT@euro (ignored: LC_ALL set to de_AT@euro)

    Versions of packages xsane depends on:
    ii libatk1.0-0 1.6.1-3 The ATK accessibility toolkit
    hi libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an ii libgimp2.0 2.0.4-1 Libraries necessary to run the GIM ii libglib2.0-0 2.4.5-2 The GLib library of C routines
    ii libgtk2.0-0 2.4.4-2 The GTK+ graphical user interface ii libieee1284-3 0.2.8-2 Cross-platform library for paralle ii libjpeg62 6b-9 The Independent JPEG Group's JPEG ii libpango1.0-0 1.4.1-1 Layout and rendering of internatio ii libpng12-0