[Bug 844587] Re: scanadf invalid pointer: crash
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/844587 Title: scanadf invalid pointer: crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-frontends/+bug/844587/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 844587] [NEW] scanadf invalid pointer: crash
Public bug reported: scanadf (and/or sane) crashes when scanning duplex documents when using a Fujitsu M3091DCd document scanner. The same hardware worked perfectly with older versions of sane/scanadf. Simplex documents (omitting the 'source' option) works well. user@alpha:/tmp$ scanadf -d fujitsu:/dev/sg1 --source "ADF Duplex" --mode Lineart -l 0 -t 0 -x 201 -y 297 -o pat%04d.pnm scanadf: rounded value of br-x from 201 to 200.994 scanadf: rounded value of br-y from 297 to 279.364 *** glibc detected *** scanadf: free(): invalid pointer: 0x022057c0 *** === Backtrace: = /lib/x86_64-linux-gnu/libc.so.6(+0x78a8f)[0x7fdcbc6a9a8f] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x73)[0x7fdcbc6ad8e3] /usr/lib/sane/libsane-fujitsu.so.1(sane_fujitsu_read+0x6dc)[0x7fdcbc21d9fc] scanadf[0x40292e] scanadf[0x4045a6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7fdcbc64feff] scanadf[0x401549] === Memory map: 0040-00406000 r-xp fc:02 6049415 /usr/bin/scanadf 00606000-00607000 r--p 6000 fc:02 6049415 /usr/bin/scanadf 00607000-00608000 rw-p 7000 fc:02 6049415 /usr/bin/scanadf 00608000-00616000 rw-p 00:00 0 021d1000-02226000 rw-p 00:00 0 [heap] 7fdcb400-7fdcb4021000 rw-p 00:00 0 7fdcb4021000-7fdcb800 ---p 00:00 0 7fdcbbde2000-7fdcbbdf7000 r-xp fc:02 2752583 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fdcbbdf7000-7fdcbbff6000 ---p 00015000 fc:02 2752583 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fdcbbff6000-7fdcbbff7000 r--p 00014000 fc:02 2752583 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fdcbbff7000-7fdcbbff8000 rw-p 00015000 fc:02 2752583 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fdcbbff8000-7fdcbbffe000 r-xp fc:02 2752692 /lib/libusb-0.1.so.4.4.4 7fdcbbffe000-7fdcbc1fe000 ---p 6000 fc:02 2752692 /lib/libusb-0.1.so.4.4.4 7fdcbc1fe000-7fdcbc1ff000 r--p 6000 fc:02 2752692 /lib/libusb-0.1.so.4.4.4 7fdcbc1ff000-7fdcbc20 rw-p 7000 fc:02 2752692 /lib/libusb-0.1.so.4.4.4 7fdcbc20-7fdcbc201000 rw-p 00:00 0 7fdcbc201000-7fdcbc22a000 r-xp fc:02 789120 /usr/lib/sane/libsane-fujitsu.so.1.0.22 7fdcbc22a000-7fdcbc429000 ---p 00029000 fc:02 789120 /usr/lib/sane/libsane-fujitsu.so.1.0.22 7fdcbc429000-7fdcbc42a000 r--p 00028000 fc:02 789120 /usr/lib/sane/libsane-fujitsu.so.1.0.22 7fdcbc42a000-7fdcbc42b000 rw-p 00029000 fc:02 789120 /usr/lib/sane/libsane-fujitsu.so.1.0.22 7fdcbc42b000-7fdcbc42d000 rw-p 00:00 0 7fdcbc42d000-7fdcbc42f000 r-xp fc:02 2756494 /lib/x86_64-linux-gnu/libdl-2.13.so 7fdcbc42f000-7fdcbc62f000 ---p 2000 fc:02 2756494 /lib/x86_64-linux-gnu/libdl-2.13.so 7fdcbc62f000-7fdcbc63 r--p 2000 fc:02 2756494 /lib/x86_64-linux-gnu/libdl-2.13.so 7fdcbc63-7fdcbc631000 rw-p 3000 fc:02 2756494 /lib/x86_64-linux-gnu/libdl-2.13.so 7fdcbc631000-7fdcbc7bb000 r-xp fc:02 2756491 /lib/x86_64-linux-gnu/libc-2.13.so 7fdcbc7bb000-7fdcbc9ba000 ---p 0018a000 fc:02 2756491 /lib/x86_64-linux-gnu/libc-2.13.so 7fdcbc9ba000-7fdcbc9be000 r--p 00189000 fc:02 2756491 /lib/x86_64-linux-gnu/libc-2.13.so 7fdcbc9be000-7fdcbc9bf000 rw-p 0018d000 fc:02 2756491 /lib/x86_64-linux-gnu/libc-2.13.so 7fdcbc9bf000-7fdcbc9c5000 rw-p 00:00 0 7fdcbc9c5000-7fdcbc9cc000 r-xp fc:02 6034241 /usr/lib/libsane.so.1.0.22 7fdcbc9cc000-7fdcbcbcb000 ---p 7000 fc:02 6034241 /usr/lib/libsane.so.1.0.22 7fdcbcbcb000-7fdcbcbcc000 r--p 6000 fc:02 6034241 /usr/lib/libsane.so.1.0.22 7fdcbcbcc000-7fdcbcbcd000 rw-p 7000 fc:02 6034241 /usr/lib/libsane.so.1.0.22 7fdcbcbcd000-7fdcbcc51000 r-xp fc:02 2756495 /lib/x86_64-linux-gnu/libm-2.13.so 7fdcbcc51000-7fdcbce5 ---p 00084000 fc:02 2756495 /lib/x86_64-linux-gnu/libm-2.13.so 7fdcbce5-7fdcbce51000 r--p 00083000 fc:02 2756495 /lib/x86_64-linux-gnu/libm-2.13.so 7fdcbce51000-7fdcbce52000 rw-p 00084000 fc:02 2756495 /lib/x86_64-linux-gnu/libm-2.13.so 7fdcbce52000-7fdcbce73000 r-xp fc:02 2756488 /lib/x86_64-linux-gnu/ld-2.13.so 7fdcbcf55000-7fdcbd048000 rw-p 00:00 0 7fdcbd06f000-7fdcbd072000 rw-p 00:00 0 7fdcbd072000-7fdcbd073000 r--p 0002 fc:02 2756488 /lib/x86_64-linux-gnu/ld-2.13.so 7fdcbd073000-7fdcbd075000 rw-p 00021000 fc:02 2756488 /lib/x86_64-l
[Bug 844582] Re: "Invalid argument" when trying to scan
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 844582] [NEW] "Invalid argument" when trying to scan
Public bug reported: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) ** Affects: gscan2pdf (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 681491] Re: avra doesn't work with supplied *.inc files
** Patch added: "Only for the m8def.inc file: Just comment all the # out." https://bugs.launchpad.net/bugs/681491/+attachment/1745016/+files/m8def_hash_directives.diff -- avra doesn't work with supplied *.inc files https://bugs.launchpad.net/bugs/681491 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 681491] [NEW] avra doesn't work with supplied *.inc files
Public bug reported: Binary package hint: avra 1) # lsb_release -rd Description:Ubuntu 10.10 Release:10.10 2) # apt-cache policy avra avra: Installed: 1.2.3a-1 Candidate: 1.2.3a-1 Version table: *** 1.2.3a-1 0 500 http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/ubuntu/ubuntu/ maverick/universe amd64 Packages 100 /var/lib/dpkg/status 3) assembling shipped *.inc files without errors. 4) According [1] Avra is supplied with *.inc files for different AVRs, e.g. /usr/share/avra/m8def.inc Putting .include "m8def.inc" into test.asm and running # avra -I /usr/share/avra test.asm produces errors. No file is assembled: Output > Pass 1... > /usr/share/avra/m8def.inc(40) : Error : Unknown mnemonic/macro: #ifndef > /usr/share/avra/m8def.inc(41) : Error : Unknown mnemonic/macro: #define > /usr/share/avra/m8def.inc(44) : Error : Unknown mnemonic/macro: #pragma Please ship include files with avra which work with avra. The include files are assembler version 2 whereas avra does only understand version 1 files. Thanks a lot! [1] http://packages.ubuntu.com/en/maverick/amd64/avra/filelist ** Affects: avra (Ubuntu) Importance: Undecided Status: New -- avra doesn't work with supplied *.inc files https://bugs.launchpad.net/bugs/681491 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs