Bug#307089: sane: resolution slider failure on amd64 also

2005-08-02 Thread Julien BLACHE
reassign 307089 libsane-extras
retitle 307089: libsane-extras: [epkowa] uses a resolution range when scanner 
doesn't support it
thanks

Mark Nipper [EMAIL PROTECTED] wrote:

Hi Mark, David,

 However, it still segfaults when trying to move the resolution
 slider.  Attached the output using SANE_DEBUG_EPKOWA=255.

This problem has been diagnosed as a bug in the epkowa backend, which
always reports a resolution range even when the scanner supports only
a fixed list of resolutions.

This only happens for a precise type of scanners.

No ETA for the fix, but it shouldn't take long, hopefully.

Could you have a look to the advanced options, and see if you have an
option like show a list of resolutions ? I saw something like that
in the advanced options of my 2480, maybe it could be used as a
workaround until the fix.



As for the original bug report, the bug seen with the epson backend is
just not possible; the epson backend always reports a list of
resolutions.

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307089: sane: resolution slider failure on amd64 also

2005-07-30 Thread Julien BLACHE
Mark Nipper [EMAIL PROTECTED] wrote:

 Hell, I'll arrange shell access if you think it would help any.
 I should note here that I've successfully used just scanimage
 from the command line and alternate resolutions do work, so it's
 purely something related to the GUI code here.  But I'm sure you
 already knew that!  Just thought I'd mention it.

I tried to reproduce the bug with my Epson 2480, only to realize that
the 2480 uses a list of resolutions and not the resolution
slider. I've contacted the epkowa maintainer, but he has a release to
get out the door asap and has no time allocated for debugging :(

Does scanimage also segfault if you specify an unsupported resolution
? If you could get scanimage to segfault, *that* backtrace could help
a lot more than the xscanimage backtrace.

I think the backend goes nuts on unsupported resolutions, but that's
just a very wild guess right now. (so forget me if it ends up being
something totally different ;)


I wish I had more hardware available to do tests :/

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307089: sane: resolution slider failure on amd64 also

2005-07-21 Thread Julien BLACHE
Mark Nipper [EMAIL PROTECTED] wrote:

 the resolution to 312 and then segfaults.  I didn't think the
 output itself would be all that helpful unfortunately.  Let me

Well, there's a list of supported resolution before that, and 312
isn't in that list. That's a (very) wild guess, and I don't see how it
could cause GTK errors.

 know if you want me to try out whatever you come up with first or
 if you need me to build a new package with the most recent
 backend or some such.

I'll try to build the new package ASAP.

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307089: sane: resolution slider failure on amd64 also

2005-07-20 Thread Julien BLACHE
Mark Nipper [EMAIL PROTECTED] wrote:

   I just installed the gtk and glib debugging libraries
 also.  Maybe this backtrace will help more?  It's a full
 backtrace so I'm just attaching a separate file of that.

Hmm, thanks, but as long as their are only GTK functions in the
backtrace, I really can't make sense out of it :/

Could you run the epkowa backend with debugging
(SANE_DEBUG_EPKOWA=255) and send the output ?

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307089: sane: resolution slider failure on amd64 also

2005-07-20 Thread Julien BLACHE
Mark Nipper [EMAIL PROTECTED] wrote:

 Okaay... Guess I'll have to give a try to the epkowa backend for
 the Epson 2480 I own and see what happens, because the backtrace won't
 help :/

   Just tried the epson backend.  Any reason the epkowa uses
 a slider instead of a drop down like the epson backend?  The

Well, the backend is free to choose :)

 epson drop down worked without any segfaulting of course,
 although I didn't actually try scanning with it.

OK. Could you give a try to the test backend ? It uses a slider too,
and it doesn't segfault here, I'm not even getting a GTK warning.

If it works for you with the test backend, then the bug is in the
backend.

I'll try to update the epkowa backend to the latest version in the
upcoming days, maybe it'll fix this problem...

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307089: sane: resolution slider failure on amd64 also

2005-07-20 Thread Julien BLACHE
Mark Nipper [EMAIL PROTECTED] wrote:

Hi,

 Could you run the epkowa backend with debugging
 (SANE_DEBUG_EPKOWA=255) and send the output ?

   It's attached.

[...]
[epkowa] TPU detected
[epkowa] tpu tlx 0.00 tly 0.00 brx 144.77 bry 231.13 [mm]
[epkowa] model : Perfection 4870
[epkowa] [epkowa] sane_get_devices()
sane_get_devices()
[epkowa] sane_open(libusb:001:007)
[epkowa] sane_get_parameters()
[epkowa] max x:0 y:0
[epkowa] Preview = 0
[epkowa] Resolution = 300
[epkowa] get para 0x6438f0 0x6443c0 tlx 0.00 tly 0.00 brx 215.84 
bry 297.179993 [mm]
[epkowa] sane_open(libusb:001:007)
[epkowa] sane_get_parameters()
[epkowa] max x:0 y:0
[epkowa] Preview = 0
[epkowa] Resolution = 300
[epkowa] get para 0x6438f0 0x6443c0 tlx 0.00 tly 0.00 brx 215.84 
bry 297.179993 [mm]
[epkowa] sane_get_parameters()
[epkowa] max x:0 y:0
[epkowa] Preview = 0
[epkowa] Resolution = 312
[epkowa] get para 0x6438f0 0x6443c0 tlx 0.00 tly 0.00 brx 215.84 
bry 297.179993 [mm]
[epkowa] sane_get_parameters()
[epkowa] max x:0 y:0
[epkowa] Preview = 0
[epkowa] Resolution = 312
[epkowa] get para 0x6438f0 0x6443c0 tlx 0.00 tly 0.00 brx 215.84 
bry 297.179993 [mm]


OK, so it segfaults at this point ?

I'll do some tests here with the latest epkowa backend this week-end;
hope we'll have a fix.

Thanks for the help,

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307089: sane: resolution slider failure on amd64 also

2005-07-19 Thread Julien BLACHE
Mark Nipper [EMAIL PROTECTED] wrote:

   I'm having a similar problem on amd64.  I tried checking my
 gtk-theme with gtk-theme-switch2 (since I have no idea how to check it
 otherwise as I'm simply running sawfish and I had to install the
 gtk-theme-switch package just to get that) and it was set at Default.
 But I didn't have any of the gtk[2]-engines-* packages installed either
 until I installed gtk-engines-pixmap and gtk2-engines-pixbuf at the
 behest of gtk-theme-switch.  I'm using the epkowa backend currently if
 it matters.

Ah, epkowa.

 so it's a little different from the original report as I don't ever get
 a gtk_widget_event failure and mine just segfaults quickly afterward.

Given you're getting a nice segfault, could please send a backtrace ?

Run gdb xscanimage
- run
... do whatever is needed to get it to crash ...
- bt
[... send the output ...]

Thanks,

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED] 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307089: sane: resolution slider failure on amd64 also

2005-07-19 Thread Mark Nipper
On 19 Jul 2005, Julien BLACHE wrote:
 Given you're getting a nice segfault, could please send a backtrace ?
 
 Run gdb xscanimage
 - run
 ... do whatever is needed to get it to crash ...
 - bt
 [... send the output ...]

I went ahead and rebuilt sane with
DEB_BUILD_OPTIONS=debug nostrip just in case it is helpful.
Here's my gdb run:
---
(gdb) run
Starting program: /usr/bin/xscanimage 

(xscanimage:7319): GLib-GObject-CRITICAL **: g_object_notify: assertion 
`G_IS_OBJECT (object)' failed

(xscanimage:7319): GLib-GObject-CRITICAL **: g_object_notify: assertion 
`G_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault.
0x2bfe1593 in g_type_check_instance_is_a () from 
/usr/lib/libgobject-2.0.so.0
(gdb) bt
#0  0x2bfe1593 in g_type_check_instance_is_a () from 
/usr/lib/libgobject-2.0.so.0
#1  0x2bfcbd18 in g_object_notify () from /usr/lib/libgobject-2.0.so.0
#2  0x2b37979b in gtk_adjustment_value_changed () from 
/usr/lib/libgtk-x11-2.0.so.0
#3  0x2b3796d2 in gtk_adjustment_set_value () from 
/usr/lib/libgtk-x11-2.0.so.0
#4  0x2b454cf2 in _gtk_range_get_wheel_delta () from 
/usr/lib/libgtk-x11-2.0.so.0
#5  0x2b429807 in _gtk_marshal_BOOLEAN__ENUM_DOUBLE () from 
/usr/lib/libgtk-x11-2.0.so.0
#6  0x2bfca2d0 in g_cclosure_new_swap () from 
/usr/lib/libgobject-2.0.so.0
#7  0x2bfca056 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8  0x2bfd937a in g_signal_emit_by_name () from 
/usr/lib/libgobject-2.0.so.0
#9  0x2bfd8713 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#10 0x2bfd8bd3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0x2b453a95 in gtk_range_get_value () from 
/usr/lib/libgtk-x11-2.0.so.0
#12 0x2b453d10 in _gtk_range_get_wheel_delta () from 
/usr/lib/libgtk-x11-2.0.so.0
#13 0x2b429593 in _gtk_marshal_BOOLEAN__BOXED () from 
/usr/lib/libgtk-x11-2.0.so.0
#14 0x2bfca2d0 in g_cclosure_new_swap () from 
/usr/lib/libgobject-2.0.so.0
#15 0x2bfca056 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0x2bfd937a in g_signal_emit_by_name () from 
/usr/lib/libgobject-2.0.so.0
#17 0x2bfd8713 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#18 0x2bfd8bd3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0x2b4f8626 in gtk_widget_send_expose () from 
/usr/lib/libgtk-x11-2.0.so.0
#20 0x2b4280e5 in gtk_propagate_event () from 
/usr/lib/libgtk-x11-2.0.so.0
#21 0x2b4272b2 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x2b75dc53 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x2c32294c in g_main_depth () from /usr/lib/libglib-2.0.so.0
#24 0x2c3238e4 in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#25 0x2c323bee in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#26 0x2c3240d5 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#27 0x2b426c81 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x004090e3 in interface (argc=Variable argc is not available.
) at xscanimage.c:2150
#29 0x004098b0 in main (argc=1, argv=0x7fb7fc78) at 
xscanimage.c:2195
(gdb) 
---

I hope that helps.  If not, let me know.  I'm not overly
proficient with gdb but I can poke around in it a bit if given
some direction.

-- 
Mark Nippere-contacts:
4475 Carter Creek Parkway   [EMAIL PROTECTED]
Apartment 724   http://nipsy.bitgnome.net/
Bryan, Texas, 77802-4481   AIM/Yahoo: texasnipsy ICQ: 66971617
(979)575-3193  MSN: [EMAIL PROTECTED]

-BEGIN GEEK CODE BLOCK-
Version: 3.1
GG/IT d- s++:+ a- C++$ UBL$ P---+++ L+++$ !E---
W++(--) N+ o K++ w(---) O++ M V(--) PS+++(+) PE(--)
Y+ PGP t+ 5 X R tv b+++@ DI+(++) D+ G e h r++ y+(**)
--END GEEK CODE BLOCK--

---begin random quote of the moment---
All existence is conditioned.
 -- Shakyamuni Buddha
end random quote of the moment


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]