http://bugs.winehq.org/show_bug.cgi?id=16417
Summary: Scanning with Photoshop CS does give an error Product: Wine Version: 1.1.5 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: philipp@sadleder.de
While trying to scan from within Photoshop via the Wine TWAIN backend, I get the following error message: "Could not complete the Import command because of a problem with the scanner".
The scanner is configured and works with SANE.
http://bugs.winehq.org/show_bug.cgi?id=16417
--- Comment #1 from Austin English austinenglish@gmail.com 2008-12-08 10:58:58 --- Please attach terminal output.
http://bugs.winehq.org/show_bug.cgi?id=16417
--- Comment #2 from Philipp Sadleder philipp@sadleder.de 2008-12-09 05:25:25 --- Created an attachment (id=17767) --> (http://bugs.winehq.org/attachment.cgi?id=17767) output of WINEDEBUG=warn+all wine Photoshop.exe
http://bugs.winehq.org/show_bug.cgi?id=16417
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, hardware URL| |http://download.adobe.com/p | |ub/adobe/magic/photoshop/wi | |n/8.x/AdobePhotoshopCS.zip
http://bugs.winehq.org/show_bug.cgi?id=16417
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget@codeweavers.com
--- Comment #3 from François Gouget fgouget@codeweavers.com 2009-06-09 05:24:22 --- A +twain trace would probably be more interesting.
http://bugs.winehq.org/show_bug.cgi?id=16417
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com 2011-12-01 20:08:14 CST --- Friendly reminder of 2.5 years without new posts. Is this still a problem in 1.3.33?
https://bugs.winehq.org/show_bug.cgi?id=16417
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maiktapwagner@aol.com
--- Comment #5 from Maik Wagner maiktapwagner@aol.com --- The download URL is still valid. I am willing to test but how do I create a +twain log?
https://bugs.winehq.org/show_bug.cgi?id=16417
--- Comment #6 from François Gouget fgouget@codeweavers.com --- Typically you would set WINEDEBUG=+twain in the environment when starting Photoshop. For instance something like:
WINEDEBUG=+twain wine photoshop.exe
https://bugs.winehq.org/show_bug.cgi?id=16417
--- Comment #7 from Maik Wagner maiktapwagner@aol.com --- Created attachment 50243 --> https://bugs.winehq.org/attachment.cgi?id=50243 TWAIN output on wine 1.7.32 openSUSE
Okay, let's do this. I have installed Photoshop CS in a clean prefix and the error message was that the TWAIN source could not be found. I am using a Hewlett Packard 2544 All-in-One device connected via USB cable.
I tried again but then Photoshop wouldn't even start. An Adobe-specific "unrecoverable error" occurred apparently. I have attached the two console outputs in one file.
https://bugs.winehq.org/show_bug.cgi?id=16417
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #8 from François Gouget fgouget@codeweavers.com --- (In reply to Maik Wagner from comment #7)
Created attachment 50243 [details] TWAIN output on wine 1.7.32 openSUSE
Thanks. The logs shows a clear deadlock: err:ntdll:RtlpWaitForCriticalSection section 0x13f2df0 "?" wait timed out in thread 0094, blocked by 0084, retrying (60 sec)
The next step to figure this out is to find out what those two threads were doing when that happened. To do so modify the command to add a '+thread' like so 'WINEDEBUG=+twain+thread'. Then, when Photoshop deadlocks, leave it hanging for a full two minutes, and normally you should get a backtrace of all its threads.
I tried again but then Photoshop wouldn't even start. An Adobe-specific "unrecoverable error" occurred apparently.
Maybe there was still a Photoshop process running that caused the new one to fail. Try 'wineserver -k' and then check if there are still wine processes running with something like 'ps | egrep "(wine|\.exe)"' (as a last resort a reboot would do the trick but that's longer and more disruptive).
https://bugs.winehq.org/show_bug.cgi?id=16417
--- Comment #9 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to François Gouget from comment #8)
Thanks. The logs shows a clear deadlock: err:ntdll:RtlpWaitForCriticalSection section 0x13f2df0 "?" wait timed out in thread 0094, blocked by 0084, retrying (60 sec)
I'd guess that's not a deadlock, that's a usual way how Photoshop manages a watchdog thread, nothing to worry about.
https://bugs.winehq.org/show_bug.cgi?id=16417
--- Comment #10 from Maik Wagner maiktapwagner@aol.com --- Created attachment 50250 --> https://bugs.winehq.org/attachment.cgi?id=50250 Photoshop console output when it doesn't start
Thanks for your quick reply,
I tried again but this "unrecoverable error" came up again and I couldn't get to scanning. I have attached my console output. Anyone with a workaround to this problem so we can continue testing?
https://bugs.winehq.org/show_bug.cgi?id=16417
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com