After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143855 - twain plug-in broken
twain plug-in broken
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Plugins
2.0.x
Other Windows
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 148679 152789 162211 167349 170132 302623 305380 309386 341949 355327 382735 488670 494125 527124 606193 633585 757393 763730 764967 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-06-07 09:31 UTC by mateusz
Modified: 2018-05-24 11:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug Report from drmingw (5.37 KB, text/plain)
2006-12-28 12:31 UTC, Enrico Horn
Details

Description mateusz 2004-06-07 09:31:42 UTC
When I try to scan a new image there is a problem. 
File>Acquire>Twain>

(twain.exe:4293470075): LibGimp-CRITICAL **: file gimppixelrgn.c: lie 466 
(gimp_pixel_rgn_set_rect): assertion 'x>= 0 && x + width <= pr->drawable-
>width' failed

After scaning a new image, when the image is appear 5% is Ok but next 95% is a 
black area with strange lines (bugs).

Other programs work fine.
Comment 1 Sven Neumann 2004-06-07 09:39:49 UTC
The twain plug-in is buggy then and we will need a win32 developer to fix it.
Perhaps you want to look at it yourself. The warning clearly indicates what the
plug-in is doing wrong. We will happily accept a patch that fixes it.
Comment 2 mateusz 2004-06-07 14:55:41 UTC
<<<Perhaps you want to look at it yourself. >>>
I to stupid for fix it :-)
Thanks for reply
Comment 3 weskaggs 2004-06-07 16:53:53 UTC
Can you compile plug-ins, or are you using a pre-built package?
Comment 4 mateusz 2004-06-07 19:17:32 UTC
I use version for Win (pre-built??)
Comment 5 Sven Neumann 2004-06-17 13:36:09 UTC
So you set the status to NEEDINFO. This indicates that we need info from the bug
reporter and it is a perfectly good way to hide the bug report.
Comment 6 mateusz 2004-06-18 15:39:14 UTC
I don't understand this comment: "perfectly good way to hide the bug report"
Comment 7 Michael Schumacher 2004-06-18 15:53:17 UTC
NEEDINFO indicates that the developers are waiting for feedback from the bug
reporter, or someone else who can reproduce the bug. No one will be working on
the bug until this happens.
Comment 8 mateusz 2004-06-18 16:58:35 UTC
Ok 
Comment 9 Tor Lillqvist 2004-07-04 19:30:34 UTC
Can't reproduce this as I don't have a working scanner setup at the moment, and 
for some reason the "debug" TWAIN pseudo-source that I remember having used 
earlier doesn't show up any longer. Can anybody else reproduce this bug? 
Comment 10 Brion Vibber 2004-07-25 22:57:25 UTC
Works OK for me w/ 2.0.2 binary release, Windows XP, CanoScan N1240U 6.2.

I'm having some trouble using it with the SaneTwain driver, though (not seeing
that error message, just the image never seems to get created). The problem
might be triggered by a particular buggy or "different" driver, or some other
specific error condition.
Comment 11 Josef kann nix 2004-07-28 13:01:25 UTC
I also have this bug. 
I described it in bug report 148679
If someone needs informaion about the bug...
mail me
Comment 12 Sven Neumann 2004-07-28 14:46:09 UTC
*** Bug 148679 has been marked as a duplicate of this bug. ***
Comment 13 Michael Schumacher 2004-07-28 18:04:30 UTC
It might be a good idea to document which scanner/driver combinations cause
problems with the TWAIN plug-in. Probably somewhere in the wiki at
http://wiki.gimp.org
Comment 14 Sven Neumann 2005-01-03 11:41:31 UTC
*** Bug 162211 has been marked as a duplicate of this bug. ***
Comment 15 Sven Neumann 2005-02-14 13:53:57 UTC
*** Bug 167349 has been marked as a duplicate of this bug. ***
Comment 16 weskaggs 2005-03-13 17:09:34 UTC
*** Bug 170132 has been marked as a duplicate of this bug. ***
Comment 17 Jim Habegger 2005-03-14 01:39:51 UTC
In bug 170132, weskaggs wrote "Unfortunately we haven't yet found the magic
combination of a person with this problem who has a Windows setup that includes
a debugger."

What do I need to do to include a debugger in my setup?

Jim
Comment 18 Michael Schumacher 2005-03-14 10:02:53 UTC
You could install MinGW and MSYS from http://www.mingw.org/. You will get an
environment that is similiar to that many developers use to build GIMP. A
debugger - gdb - is included. There's also a just-in-time debugger called
drmingw, but this will be useless unless there is a crash.

I'm not sure how much useful information can be extracted from a non-debug build
like those (at least I assume) Jernej does. But it should be better than nothing.
Comment 19 Jim Habegger 2005-03-15 02:24:00 UTC
I installed the GIMP from the Win32 binary. Do I need to build it from the
sources to use the debugger, or can I install the debugger separately?

I'm a total newbie in the *nix development world.

Jim
Comment 20 Jim Habegger 2005-03-15 02:34:08 UTC
I already have Cygwin. I see that I can use MinGW with Cygwin. Would it be
better to use MSYS, and if so, do I need to uninstall Cygwin to use MSYS? Or is
this the wrong place to ask?

Jim
Comment 21 Jim Habegger 2005-03-15 02:52:13 UTC
I found some answers to my questions in Wilbur's Wiki:
HowToCompileGimpMicrosoftWindowsOld (
http://wiki.gimp.org/gimp/HowToCompileGimpMicrosoftWindowsOld )

Jim
Comment 22 Jim Habegger 2005-03-21 22:51:20 UTC
I'm stuck again. Where should I go for help in setting up my GIMP with a
debugger, so I can track down the Twain bug?

I was trying to follow the instructions in HowToCompileGimp/MicrosoftWindows at
http://wiki.gimp.org/gimp/HowToCompileGimp_2fMicrosoftWindows. I got to the part
where it says "This is the link to the source of Gimp. You should unpack and
enroll it in (for example) c:/msys/home/YOUR_NAME/."

I followed the link, which downloaded gimp-2.2.1-i586-setup.zip, which doesn't
look like sources to me. It unzips to gimp-2.2.1-i586-setup.exe. When I
double-click on that, I get a GIMP setup wizard.

I can find GIMP sources, but I'm not sure which ones I should use. Or are they
all the same? Don't they have to be modified for i*86? I'm a total newbie in the
*nix development world.

Jim 
Comment 23 Sven Neumann 2005-04-13 14:37:56 UTC
Jim, the sources are the same for all platforms. If you want to compile from
source, you want to download the latest .tar.gz file from
ftp://ftp.gimp.org/pub/gimp/v2.2/. But please don't abuse this bug-tracker for
questions on the process of compiling GIMP. You can use the mailing-lists for this.
Comment 24 Sven Neumann 2005-05-02 10:12:37 UTC
*** Bug 302623 has been marked as a duplicate of this bug. ***
Comment 25 Sven Neumann 2005-05-25 16:21:41 UTC
*** Bug 305380 has been marked as a duplicate of this bug. ***
Comment 26 Sven Neumann 2005-07-05 10:04:28 UTC
*** Bug 309386 has been marked as a duplicate of this bug. ***
Comment 27 Colin 2005-10-23 00:21:43 UTC
Using GIMP 2.2.6 for windows
Windows XP SP2  & auto-updates
CanoScan N1240U 6.2.2.0

Scans from GIMP OK at 300dpi - but not at higher resolutions...
Attempts to do so result in neccesity to re-install scanner.
Other program [PhotoStudio 2000] scans fine at 2100dpi.

1.1GHz CPU
248Mb RAM
744Mb pagefile
40GB HD - 70% free

I will attempt to provide further inf - re: possible 'error messages' etc. in 
future additional comments.

Comment 28 Colin 2005-11-20 01:04:40 UTC
Newer version - GIMP (for windows) 2.2.9 - seems to have resolved this issue.

I suppose there is someone to thank for this..
So, thank you, whoever you are!

:^]]
Comment 29 Sven Neumann 2006-05-16 10:23:36 UTC
*** Bug 341949 has been marked as a duplicate of this bug. ***
Comment 30 Sven Neumann 2006-09-11 10:17:07 UTC
*** Bug 355327 has been marked as a duplicate of this bug. ***
Comment 31 Sven Neumann 2006-12-05 20:40:29 UTC
*** Bug 382735 has been marked as a duplicate of this bug. ***
Comment 32 Enrico Horn 2006-12-28 12:30:22 UTC
Have a problem with twain with the Mustek 1200 CU Plus scanner.
It crashes after the selection of the data source.
I will make an attachement with the debug report from drmingw.
Comment 33 Enrico Horn 2006-12-28 12:31:58 UTC
Created attachment 78986 [details]
Debug Report from drmingw
Comment 34 Enrico Horn 2006-12-28 13:33:06 UTC
I would search this bug for myself, but have no idea how to debug that twain-plugin. Can anybody give me some info about debugging?
Comment 35 Sven Neumann 2007-10-21 12:58:40 UTC
*** Bug 488670 has been marked as a duplicate of this bug. ***
Comment 36 Sven Neumann 2007-11-06 14:45:57 UTC
*** Bug 494125 has been marked as a duplicate of this bug. ***
Comment 37 Sven Neumann 2007-11-21 12:58:38 UTC
*** Bug 152789 has been marked as a duplicate of this bug. ***
Comment 38 Sven Neumann 2008-04-09 15:17:24 UTC
*** Bug 527124 has been marked as a duplicate of this bug. ***
Comment 39 Michael Schumacher 2010-03-15 15:00:50 UTC
*** Bug 606193 has been marked as a duplicate of this bug. ***
Comment 40 Michael Natterer 2011-03-18 00:03:14 UTC
*** Bug 633585 has been marked as a duplicate of this bug. ***
Comment 41 Michael Natterer 2011-03-18 00:03:46 UTC
*** Bug 601821 has been marked as a duplicate of this bug. ***
Comment 42 Michael Natterer 2016-03-16 19:57:35 UTC
*** Bug 763730 has been marked as a duplicate of this bug. ***
Comment 43 Michael Natterer 2016-04-12 20:22:20 UTC
*** Bug 764967 has been marked as a duplicate of this bug. ***
Comment 44 Michael Natterer 2016-04-17 00:42:33 UTC
*** Bug 757393 has been marked as a duplicate of this bug. ***
Comment 45 GNOME Infrastructure Team 2018-05-24 11:08:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/84.