http://bugs.winehq.org/show_bug.cgi?id=35003
Bug #: 35003 Summary: Wincodec page fault crash in Evernote 5.0.x with "all notes" thumbnail Product: Wine Version: 1.7.3 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: windowscodecs AssignedTo: wine-bugs@winehq.org ReportedBy: danny@orionrobots.co.uk Classification: Unclassified
Evernote on Wine can get into a constant crashing state where a number of warnings from wincodecs are followed by a page fault.
This appears to be caused when there is an image thumbnail in the "all notes" list pane in the app.
It will remain 100% while the thumb is in the visible part of the list - crashing fairly shortly after startup, presumably as it renders that part of the screen.
Using winetricks to get the windowscodecs MS dll will stop the crash occuring.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #1 from Danny Staple danny@orionrobots.co.uk 2013-11-26 10:02:08 CST --- Created attachment 46644 --> http://bugs.winehq.org/attachment.cgi?id=46644 run log, register dump and backtrace.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2013-11-26 10:15:35 CST ---
$ WINDDEBUG=+seh,+relay wine "C:\program files\Evernote\Evernote\Evernote.exe"
Actually it is WINEDEBUG not WINDDEBUG. Please install the wine debug package for your distribution or compile wine from source and get a new log with backtrace (no need for WINEDEBUG for now).
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #3 from Danny Staple danny@orionrobots.co.uk 2013-11-26 10:20:48 CST --- Doh - didn't see the typo. I am on FC19, x86_64. In theory - I have the wine dbg packages installed, however - I'll now have to create a new wineprefix without the winetricks dll installed that works around this. It's on my todo list.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #4 from Vincent Povirk madewokherd@gmail.com 2013-11-26 10:52:25 CST --- I don't want a relay log anyway. A log with +jpeg would be nice though.
http://bugs.winehq.org/show_bug.cgi?id=35003
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #5 from Danny Staple danny@orionrobots.co.uk 2013-11-26 11:00:34 CST --- Created attachment 46645 --> http://bugs.winehq.org/attachment.cgi?id=46645 Run again with WINEDEBUG=+jpeg
This log has been made in a new wineprefix with no winetricks.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #6 from Danny Staple danny@orionrobots.co.uk 2013-11-26 11:02:25 CST --- Created attachment 46646 --> http://bugs.winehq.org/attachment.cgi?id=46646 The Wine packages I have installed
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #7 from Danny Staple danny@orionrobots.co.uk 2013-11-26 12:02:09 CST --- Arg - in the second log - I created a new prefix, but without the correct wine arch. I'll upload a new log with that there correctly - otherwise there are other problems with it. It'll take a while - there's a lot to sync in the evernote account before it gets to the problematic entries.
http://bugs.winehq.org/show_bug.cgi?id=35003
Danny Staple danny@orionrobots.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46644|0 |1 is obsolete| | Attachment #46645|0 |1 is obsolete| |
--- Comment #8 from Danny Staple danny@orionrobots.co.uk 2013-11-27 06:01:06 CST --- Created attachment 46653 --> http://bugs.winehq.org/attachment.cgi?id=46653 With +jpeg, no wine tricks, winearch 32.
This has debug (at least you can see the gdiplus debug lines), +jpeg and is in a clean (no winetricks) prefix.
I think with Evernote 5.0.3, this note I've shared: https://www.evernote.com/shard/s141/sh/531491b3-f493-4a97-87c6-3e831cb2b925/...
Will crash when you scroll to view it in the list pane.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #9 from Danny Staple danny@orionrobots.co.uk 2013-11-28 09:27:18 CST --- Evernote version specifics: $ sha1sum ".wine_new/drive_c/users/stapled/Local Settings/Application Data/Evernote/Evernote/AutoUpdate/Evernote_5.0.3.1614.exe" eeb25b053d47a2328792f2715701b92f934cef9d .wine_new/drive_c/users/stapled/Local Settings/Application Data/Evernote/Evernote/AutoUpdate/Evernote_5.0.3.1614.exe
Download link: https://evernote.com/download/
http://bugs.winehq.org/show_bug.cgi?id=35003
Danny Staple danny@orionrobots.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=35003
Danny Staple danny@orionrobots.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |danny@orionrobots.co.uk
http://bugs.winehq.org/show_bug.cgi?id=35003
Danny Staple danny@orionrobots.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64
http://bugs.winehq.org/show_bug.cgi?id=35003
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://evernote.com/downlo | |ad/
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #10 from Danny Staple danny@orionrobots.co.uk 2013-11-29 11:24:53 CST --- More specific download link: http://cdn1.evernote.com/win5/public/Evernote_5.0.3.1614.exe
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #11 from Vincent Povirk madewokherd@gmail.com 2013-11-29 11:26:56 CST --- I tried adding an image to a note and switching to "Card" view. I get the "err:wincodecs:JpegDecoder_Frame_CopyPixels read_scanlines failed" message, but it doesn't crash.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #12 from Vincent Povirk madewokherd@gmail.com 2013-11-29 11:32:03 CST --- I'll look into why it can't read the image, but please try to get a backtrace with debug symbols (either build wine from source or install a package with debug symbols, probably named something like wine-dbg, from your distro).
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #13 from Danny Staple danny@orionrobots.co.uk 2013-11-29 11:33:51 CST --- I've noticed that some images do - and some don't - hence a link to a shared note that I've seen this on. Hopefully - you'll be able to use the link to see the same note.
I'll have to build from source - the wine-dbg package is installed, but didn't appear to get me more debug symbols than I've got there.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #14 from Vincent Povirk madewokherd@gmail.com 2013-11-29 11:34:58 CST --- Ah, I couldn't figure out how to use the link.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #15 from Vincent Povirk madewokherd@gmail.com 2013-11-29 12:59:42 CST --- I sent a patch for the read_scanlines error: http://www.winehq.org/pipermail/wine-patches/2013-November/128719.html
But it seems that error was actually caused by ads rather than thumbnails, so it may be nothing to do with your crash.
Just to be clear, I'm not expecting any additional lines of output with debugging symbols installed, but the backtrace should contain source filenames and line numbers, like the example on http://wiki.winehq.org/Backtraces
Or if you can explain how to import your shared note in the program, I will try that here.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #16 from Danny Staple danny@orionrobots.co.uk 2013-12-10 10:32:29 CST --- I cannot get the fedora debuginfo, devel and dbg packages to give the source filenames in the backtrace. I am uninstalling the lot - and trying from source - and retesting with that. Other than evernote - I do not extensively use wine on this box.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #17 from Danny Staple danny@orionrobots.co.uk 2013-12-10 10:54:28 CST --- Fedora debuginfo - no output. Compiling wine on Fedora 64 bit - not without a lot of work finding the packages with the 32 bit libraries and dependencies - which I don't think I have enough time to sort out - and may require making a 32 bit vm to do so from instead...
If it is the ad box that made it crash - it may be of little use but I'll take the route of documenting importing a note.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #18 from Danny Staple danny@orionrobots.co.uk 2013-12-10 11:01:24 CST --- Okay - to import this: * Sign into evernote using the web client (from a browser) * Click the note link above * In the right hand there is a "Save to Evernote" button - which will allow you to save the note into your notebook. * Sync the desktop client and the note should be there.
http://bugs.winehq.org/show_bug.cgi?id=35003
--- Comment #19 from Danny Staple danny@orionrobots.co.uk 2013-12-10 11:25:52 CST --- Of course - it is only now that I've verified that this note was involved through another simple test. Delete the note - and when I scroll down to where it was in the pane - Evernote does not crash.
Once I had new notes - this was a page or two down, so I had to scroll before the crash was seen - but with that note it was 100%. Deleted the note - and the crash has gone.
Annoyingly - recreating the note from the same site (using the evernote clipper), does not give me the same thumbnail now (perhaps the original site has been updated), and is no longer crashing. Good news - no crash, bad news - I cannot reproduce this any more on demand.
http://bugs.winehq.org/show_bug.cgi?id=35003
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME
--- Comment #20 from Vincent Povirk madewokherd@gmail.com 2013-12-10 11:40:47 CST --- I don't think there were any changes in Wine that would have fixed this. In particular, I don't think the read_scanlines error could have caused the backtrace you're seeing, so the patch for that wouldn't have fixed the crash.
Let's close the bug for now. Please reopen if this happens again.
http://bugs.winehq.org/show_bug.cgi?id=35003
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Austin English austinenglish@gmail.com --- Closing.