vuescan epson 2490 - invalid pointer

vuescan epson 2490 - invalid pointer

Post by rogerx » Tue, 30 May 2006 07:28:43


It looks as if, one recieves the following "invalid pointer error", the
Epson 2490 may need to be first initialized by the iscan linux software
(if they're using a linux based o/s) before vuescan will successfully
start. Starting iscan seems to initialize the scanner to some sort of
"ON" state. From there, vuescan starts w/o further problems.

(*Note: On linux based o/s's, the epson 2490 uses drivers provided by
iscan and not sane/xsane. I believe they're closed sourced and also
provides firmware to be loaded at plugin. Reading strace output shows
it looks as if vuescan is having problems initializing the scanner as
needed.)

$ ./vuescan
*** glibc detected *** free(): invalid pointer
$


$ strace vuescan
- - - snip - - -
open("/etc/ld.so.cache", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=162762, ...}) = 0
mmap2(NULL, 162762, PROT_READ, MAP_PRIVATE, 6, 0) = 0xb202b000
close(6) = 0
open("/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6", O_RDONLY) =
6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\373"...,
512) = 512
fstat64(6, {st_mode=S_IFREG|0755, st_size=845268, ...}) = 0
mmap2(0x41de2000, 860756, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x41de2000
madvise(0x41de2000, 860756, MADV_SEQUENTIAL|0x1) = 0
mmap2(0x41eaa000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0xc8) = 0x41eaa000
mmap2(0x41eaf000, 21076, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x41eaf000
close(6) = 0
futex(0x41eabde4, FUTEX_WAKE, 2147483647) = 0
munmap(0xb202b000, 162762) = 0
mmap2(NULL, 2101248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb1e52000
gettimeofday({1148854803, 343093}, NULL) = 0
ioctl(5, USBDEVFS_SUBMITURB, 0xbfb5a080) = 0
ioctl(5, USBDEVFS_REAPURBNDELAY, 0xbfb59fe4) = -1 EAGAIN (Resource
temporarily unavailable)
select(6, NULL, [5], NULL, {0, 1000}) = 1 (out [5], left {0, 1000})
gettimeofday({1148854803, 344814}, NULL) = 0
ioctl(5, USBDEVFS_REAPURBNDELAY, 0xbfb59fe4) = 0
gettimeofday({1148854803, 345606}, NULL) = 0
ioctl(5, USBDEVFS_SUBMITURB, 0xbfb5a080) = 0
ioctl(5, USBDEVFS_REAPURBNDELAY, 0xbfb59fe4) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 6
writev(6, [{"*** glibc detected *** ", 23}, {"free(): invalid pointer",
23}, {": 0x", 4}, {"089adc10", 8}, {" ***\n", 5}], 5*** glibc detected
*** free(): invalid pointer: 0x089adc10 ***
) = 63
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(22220, 22220, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++