http://bugs.winehq.org/show_bug.cgi?id=17524
Summary: k-meleon crash on startup (Unhandled page fault) Product: Wine Version: 1.1.15 Platform: PC URL: http://kmeleon.sourceforge.net/download.php OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: winehq@gringer.org
Created an attachment (id=19632) --> (http://bugs.winehq.org/attachment.cgi?id=19632) Crash on starting of program
Using the non-installer version of k-meleon, the program crashes on startup.
Steps to reproduce: 1) Download K-Meleon1.5.2en-US.7z from website (http://kmeleon.sourceforge.net/download.php), and unzip into some directory: ~/install/kmeleon/program$ 7z x K-Meleon1.5.2en-US.7z 2) Dowload installer version (K-Meleon1.5.2en-US.exe) from website, and extract msvcp71.dll and msvcr71.dll files: ~/install/kmeleon/program$ 7z x ~/install/wine/K-Meleon1.5.2en-US.exe ms*.dll 3) Run k-meleon.exe and observe crash
This follows the portable workflow mentioned on the kmeleon wiki: http://kmeleon.sourceforge.net/wiki/KMPortable
What should happen: 3) k-meleon doesn't crash.
A log of the crash has been attached.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-02-24 19:13:05 --- Created an attachment (id=19633) --> (http://bugs.winehq.org/attachment.cgi?id=19633) Stub patch
Does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=17524
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #2 from David Eccles (gringer) winehq@gringer.org 2009-02-24 21:17:40 --- Created an attachment (id=19635) --> (http://bugs.winehq.org/attachment.cgi?id=19635) crash log for git 86f79e3a558ca1fb5d596e9f62403ca89178d3cf
No luck, just updated (it took a while) to commit 86f79e3a558ca1fb5d596e9f62403ca89178d3cf (Tue Feb 24 14:53:17 2009 +0000), applied stub patch, and crash still happens.
http://bugs.winehq.org/show_bug.cgi?id=17524
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Austin English austinenglish@gmail.com 2009-02-24 21:39:32 --- I see the same thing in the full installer.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2009-02-25 11:24:57 --- (In reply to comment #2)
No luck, just updated (it took a while) to commit 86f79e3a558ca1fb5d596e9f62403ca89178d3cf (Tue Feb 24 14:53:17 2009 +0000), applied stub patch, and crash still happens.
It looks like the crash is every so slightly different: fixme:ntdll:NtQueryInformationToken TokenSandBoxInert: stub fixme:advapi:CreateRestrictedToken (0x74, 0x3, 0, (nil), 0, (nil), 0, (nil), 0x32f7c0): stub
That is, once it gets past my stub, it then calls CreateRestrictedToken. The flags are interesting: 0x3 is a combination of DISABLE_MAX_PRIVILEGE (0x1) and SANDBOX_INERT (0x2). That is, it seems to expect the token to have SANDBOX_INERT set. I'll post an updated patch in a sec.
http://bugs.winehq.org/show_bug.cgi?id=17524
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #19633|0 |1 is obsolete| |
--- Comment #5 from Juan Lang juan_lang@yahoo.com 2009-02-25 11:26:17 --- Created an attachment (id=19654) --> (http://bugs.winehq.org/attachment.cgi?id=19654) Stub patch
This acts as though the SANDBOX_INERT flag is set on every token, which appears to be what K-Meleon expects.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #6 from Austin English austinenglish@gmail.com 2009-02-25 14:56:03 --- (In reply to comment #5)
Created an attachment (id=19654)
--> (http://bugs.winehq.org/attachment.cgi?id=19654) [details]
Stub patch
This acts as though the SANDBOX_INERT flag is set on every token, which appears to be what K-Meleon expects.
Still crashes: Backtrace: =>0 0x004161ea in k-meleon (+0x161ea) (0x0032e9a8) 1 0x00424b3c in k-meleon (+0x24b3c) (0x0032ed18) 2 0x00790b38 (0x00020044) err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x4161ea
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #7 from David Eccles (gringer) winehq@gringer.org 2009-02-25 16:46:23 --- Created an attachment (id=19662) --> (http://bugs.winehq.org/attachment.cgi?id=19662) crash after applying tokeninfo=1 patch
Yep, still crashes. I've attached the full standard error output.
http://bugs.winehq.org/show_bug.cgi?id=17524
David Eccles (gringer) winehq@gringer.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #19635|crash log for git |crash log for git description|86f79e3a558ca1fb5d596e9f6240|86f79e3a558ca1fb5d596e9f6240 |3ca89178d3cf |3ca89178d3cf + stub patch
http://bugs.winehq.org/show_bug.cgi?id=17524
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com
--- Comment #8 from Juan Lang juan_lang@yahoo.com 2009-02-26 10:42:42 --- Okay. Could you attach a +relay trace? If it's too big, start it from the fixme:ntdll:NtQueryInformationToken fixme. If it's not too much trouble, a +relay from unpatched Wine, and again with my patch applied, would be interesting.
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=17524
David Eccles (gringer) winehq@gringer.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #19632|0 |1 is obsolete| | Attachment #19635|0 |1 is obsolete| | Attachment #19662|0 |1 is obsolete| |
--- Comment #9 from David Eccles (gringer) winehq@gringer.org 2009-02-27 19:31:11 --- Created an attachment (id=19702) --> (http://bugs.winehq.org/attachment.cgi?id=19702) crash logs (with/without relay, with/without patch)
Okay, I've updated wine-git to the newest version (commit 0d7bec3578e02e1f551813e86100b59e36aec542, the 1.1.16 release), and now running the program produces a session recovery dialog ("K-Meleon wasn't closed properly. Do you want to resume your last browsing session? Yes/No"), displays window borders, widgets, then crashes.
crash relay log without sandbox patch is attached (with patch to follow). I didn't bother starting from NtQueryInformationToken, because it was only about 2% into the file.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #10 from David Eccles (gringer) winehq@gringer.org 2009-02-27 19:35:36 --- Created an attachment (id=19703) --> (http://bugs.winehq.org/attachment.cgi?id=19703) +relay log with sandbox patch
http://bugs.winehq.org/show_bug.cgi?id=17524
David Eccles (gringer) winehq@gringer.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #19702|crash logs (with/without |crash logs (with relay, description|relay, with/without patch) |without sandbox patch)
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2009-03-02 19:20:29 --- Well, it appears the sandbox patch was a red herring, since the app gets pretty far before it crashes now. Unfortunately I can't spot anything obvious happening just before the crash, so I don't know where it might be.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #12 from Austin English austinenglish@gmail.com 2009-06-07 13:52:16 --- Seems they've changed something on their end, as 1.5.3 works fine, but 1.5.2 still crashes on launch in wine 1.1.23.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #13 from Austin English austinenglish@gmail.com 2009-06-09 00:02:35 --- Automated test added: http://winezeug.googlecode.com/svn/trunk/appinstall/scripts/kmeleon-152.ahk
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #14 from Austin English austinenglish@gmail.com 2009-06-26 21:13:22 --- According to Appinstall, installs/runs fine now: http://austinenglish.com/logs/appinstall-2009-06-26/summary.txt http://austinenglish.com/logs/appinstall-2009-06-26/kmeleon-152-result.txt
I tried it manually, to be sure, works fine. David, could you retest?
http://bugs.winehq.org/show_bug.cgi?id=17524
Alain Aupeix jujuland.46@wanadoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jujuland.46@wanadoo.fr
--- Comment #15 from Alain Aupeix jujuland.46@wanadoo.fr 2009-10-11 13:59:08 --- As I said in a post on a page here, the standard exe of K-Meleon crashes at startup, and the w9x version must be used.
1.5.3 setup corrects this problem and installs w9x version as k-meleon.exe. So it works under wine.
If I remember, I haven't yet corrected the setup for 1.5.2, and, if you want to use 1.5.2 with wine, after install, you must unzip K-Meleon_w9x.exe from the setup (open the setup exe with 7-zip, and you must find the file in a subfolder)
So, I think that this bug 17524 (crashing at startup) must be closed.
This is not the same with the other bug I opened (18829).
A+
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #16 from David Eccles (gringer) winehq@gringer.org 2009-10-11 18:10:28 --- If a standard exe works on windows, but not on wine, then I would consider that to be a bug in wine, even if an alternate exe will work under wine.
FWIW, I was designing a CD containing free software for Windows, and wanted to test it using Linux. Using a w9x version for this CD when a "better" version is available seems like an odd compromise.
Anyway, I've re-tested on latest wine on my Debian box (ubuntu budgetdedicated version of 1.1.31, debian lamaresh version of 1.1.30). Strictly (using my above definition), this bug still exists, as I get a crash using K-Meleon1.5.2en-US.7z. However, the more recent version of k-meleon available on the website (1.5.3) *does* work.
In short, the k-meleon update has fixed the problem I had, but the more specific bug I reported here still seems to exist on my computer.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #17 from Vitaliy Margolen vitaliy@kievinfo.com 2009-10-11 18:17:23 --- (In reply to comment #15) Alain, since you are the developer of k-melon can you help us here a bit? Could you provide debug symbols for your app? If you don't want to post then publicly it can always be done off-bugzilla. If not debug symbols, at least some hints at where it crashes would be nice.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #18 from Alain Aupeix jujuland.46@wanadoo.fr 2009-10-12 15:51:06 --- Hi, As you said if it works under Windows and not wine it's a wine bug, but as we make it work with w9x version for now I thought it wasn't a problem.
In fact, common version isn't a better version, it's the same version, but the only difference is that common version is unicode compliant instead of w9x version.
Also I repeat that there is no great difference between 1.5.2 and 1.5.3. If 1.5.3 works when installing with the setup and not 1.5.2, it's because the 1.5.2 setup installs common exe, and 1.5.3 installs w9x exe, under Linux, obviously.
I'm not, as you think the programmer of K-Meleon project, it's Dorian Boissonade. I'm just a member of the team in charge of the setup and the SetDefault tool (written with nsis as the setup), plus some minor tasks.
I'll ask Dorian to add debug info into the two versions. I hope and think it will do it.
I'll contact you when I have one of these versions (hoping the two)
A+
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #19 from Austin English austinenglish@gmail.com 2009-10-12 16:08:26 --- (In reply to comment #18)
Hi, As you said if it works under Windows and not wine it's a wine bug, but as we make it work with w9x version for now I thought it wasn't a problem.
It's still a bug. The 2k/xp version doesn't work under wine, and you're working around it. The bug should instead be fixed.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #20 from Alain Aupeix jujuland.46@wanadoo.fr 2009-10-13 02:37:23 --- ok,
I'm waiting for a new compil from Dorian.
A+
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #21 from Alain Aupeix jujuland.46@wanadoo.fr 2009-10-17 14:58:40 --- I have decided to test again 1.5.2 and 1.5.3.
To avoid problems with some wine parameters I can have changed, I renamed .wine folder and launch the 1.5.2 setup (I use the setup, and not the 7z file).
It works fine. No crash at startup, I have had some crash after browsing some time as I report in the other bug I opened.
As the 1.5.2 setup doesn't change the unicode exe file with the non-unicode one, and as it crashed before (my first test confirms what gringer said), I think that 1.1.30 or previous had changed something.
Before, as I found that unicode crashed, I changed the setup to put the non-unicode instead of the unicode version, and never test the 1.5.3 unicode version. So I decided to use unicode exe file with 1.5.3, and it works. No crash at startup.
It seems to confirm that a bug has been removed with the few updates of wine.
gringer, could you try to use the setup instead of the 7z file in a fresh .wine folder, to confirm what I say.
Dorian is too much busy to compile again a version with debug info, but he sent me pdb files for all the k-meleon exe and dll (I suppose it's for 1.5.3 version). I think you will be able to use it (I'm not able to do that). I'll put it on my webpage and will give you the link to download it, because the 7z file is 1.7 Mo, and I don't think that the bug report system can handle such attachment size.
A+
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #22 from David Eccles (gringer) winehq@gringer.org 2009-10-18 19:26:43 --- Hmm, that is strange. I get no crash when running the installer (for 1.5.2), and also when running from an extracted 7z file for 1.5.3, but it crashes from an extracted 7z file for 1.5.2.
[Using ubuntu budgetdedicated version of 1.1.31 on my Debian box, deleted my ~/.wine before doing the install]
i.e.: 1.5.2 (installer): works 1.5.2 (7z): crashes 1.5.3 (7z): works
an md5sum (and diff) suggests that I'm running the same executable files:
gringer@assimilis:~$ md5sum install/wine/kmeleon1.5.2/k-meleon*.exe d4042d3f67f8d39fdb79b679e2dfca3a install/wine/kmeleon1.5.2/k-meleon.exe 67347b2d902425dc1b79a651cf34cfd4 install/wine/kmeleon1.5.2/k-meleonW9x.exe gringer@assimilis:~$ md5sum .wine/drive_c/Program\ Files/K-Meleon/k-meleon*.exe d4042d3f67f8d39fdb79b679e2dfca3a .wine/drive_c/Program Files/K-Meleon/k-meleon.exe gringer@assimilis:~$ diff -s .wine/drive_c/Program\ Files/K-Meleon/k-meleon.exe install/wine/kmeleon1.5.2/k-meleon.exe Files .wine/drive_c/Program Files/K-Meleon/k-meleon.exe and install/wine/kmeleon1.5.2/k-meleon.exe are identical
Which suggests it is (now?) a problem with locating other files, rather than with the executable itself. I'll check to make sure 1.5.2 (7z) works on a Windows computer.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #23 from Alain Aupeix jujuland.46@wanadoo.fr 2009-10-19 03:20:31 --- Fine, it confirms my tests. I haven't yet tried the test with 7z package. I'll do it.
A possible reason could perhaps be due to the version of msvcp71.dll and msvcr71.dll. They are installed by setup, and not present in 7z files. Could it be due to the version of thes files ?
Even the problem isn't yet located, I think that we can consider that the bug can be closed. Don't you think so ?
I have put the pdb files for version 1.5.3, it can perhaps help to solve the crashes which always occurs with 1.5.2 and 1.5.3 (and probably with imminent 1.5.4)
These pdb files are downloadable on one of my pages :
http://pagesperso-orange.fr/jujuland46/
I'll add the 1.5.4 files when needed.
I think we can now work on [url=http://bugs.winehq.org/show_bug.cgi?id=18829%5Dbug 18829[/url]
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #24 from Alain Aupeix jujuland.46@wanadoo.fr 2009-10-19 05:22:35 --- I remeber that Fred, a Linux user that also provides some specific K-Meleon for Linux, that when putting msvcp71.dll and msvcr71.dll in K-Meleon root folder, there were less crashes then putting it in wine system32 folder.
Perhaps the reason ?
A+
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #25 from Alain Aupeix jujuland.46@wanadoo.fr 2009-10-27 10:05:17 --- I had install 1.5.4 7z package, and I had crashes immediately.
I created than a setup for 1.5.4, and installs it in another folder, it works fine. 7z package crashes when tryinbg to create the profile or/and creating dat files in components folder.
I have made then some manipulations to generate the dat files.
a) I deleted components dat files in setup folder b) I renamed 7z and setup folders c) I launch setup version d) I reverted folder names e) I kept setup dat files and put it in 7z folder f) I launch 7z version, and it works
=> so, we could think that gecko (or wine?) has problem to create dat files.
Unfortunately, I rename .wine folder, and try again => now it works I uses a nex Linux user (espacially created), and it works directly without problem.
Impossible now to reproduce the problem.
Very frustating !!!
I'll put 1.5.4 on my page to allow you to test it.
A+
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #26 from Austin English austinenglish@gmail.com 2011-09-08 23:13:04 CDT --- Both the 2K/XP and 9x exe's work for me in wine-1.3.27-416-g0032de5, please retest.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #27 from David Eccles (gringer) winehq@gringer.org 2011-09-12 02:08:03 CDT --- I still get a crash with this exact version (K-Meleon1.5.2en-US.7z from website) and the most recent wine packages from the debian carbon-project website (1.3.28). I no longer needed to get msvcp71.dll or msvcr71.dll (i.e. works with vanilla wine), but it still crashes.
Steps to reproduce: 1) Download K-Meleon1.5.2en-US.7z from website (http://kmeleon.sourceforge.net/download.php), and unzip into some directory: ~/install/kmeleon/program$ 7z x K-Meleon1.5.2en-US.7z 2) Run k-meleon.exe and observe crash
Note that this bug is version specific -- things have been changed in more recent versions of k-meleon that make this bug no longer an issue. You need to download the exact version 7z package (not the installer) and run from the extracted directory.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #28 from Alain Aupeix jujuland.46@wanadoo.fr 2011-09-12 15:52:46 CDT --- Yes, it seems a version specific problem.
Now I'm using Wine 1.2.2, and the two packages crash (7z and exe), and the two km exe versions (9x and XP).
But why do you need to make this ol version to work ?
We have always always some others bugs which are always here. For example: -no display of characteristics of bookmarks (Bookmarks > Edit), and a lot of this type of K-Meleon box.
So for me, you will save time closing this bug.
Globally, except some little cosmetics bugs, Km 1.6.0b2 works, near to be the same for 1.7.0a except the ennoying bug which need to launch K-Meleon from within Km folder (or with a sh file), else it crashes.
A+
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #29 from Austin English austinenglish@gmail.com --- Using http://downloads.sourceforge.net/project/kmeleon/k-meleon/1.5.2/K-Meleon1.5....
[austin@localhost ~]$ sha1sum K-Meleon1.5.2en-US.exe ff280b90cab48c8980e00fec7ff6370dc71f2bfa K-Meleon1.5.2en-US.exe [austin@localhost ~]$ du -h K-Meleon1.5.2en-US.exe 5.7M K-Meleon1.5.2en-US.exe
I was able to browse the internet with wine-1.2 and wine-1.7.8-88-gfb75292.
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #30 from David Eccles (gringer) winehq@gringer.org --- *cough*
Repeating myself again (and again in response to one of your posts) to get the point across -- you need to download the exact version 7z package *(not the installer)* and run from the extracted directory. Until you mention you've used the executable from the 7z version, I don't see any reason to retest and will assume this bug still exists.
See original description, comment 22, comment 27.
http://bugs.winehq.org/show_bug.cgi?id=17524
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://kmeleon.sourceforge. |http://prdownloads.sourcefo |net/download.php |rge.net/kmeleon/K-Meleon1.5 | |.2en-US.7z?download
http://bugs.winehq.org/show_bug.cgi?id=17524
--- Comment #31 from Austin English austinenglish@gmail.com --- (In reply to comment #30)
*cough*
Repeating myself again (and again in response to one of your posts) to get the point across -- you need to download the exact version 7z package *(not the installer)* and run from the extracted directory. Until you mention you've used the executable from the 7z version, I don't see any reason to retest and will assume this bug still exists.
See original description, comment 22, comment 27.
Sorry about that, I missed that distinction. Using: [austin@localhost Downloads]$ sha1sum K-Meleon1.5.2en-US.7z ef40fa48dd72a688f255c7a161ccea36f9f0b50e K-Meleon1.5.2en-US.7z [austin@localhost Downloads]$ du -h K-Meleon1.5.2en-US.7z 5.0M K-Meleon1.5.2en-US.7z [austin@localhost Downloads]$ wine --version wine-1.7.5
works fine. I launched the browser and browsed www.winehq.org for a few minutes. I also tried with wine-1.2, which crashed immediately, because msvcp71 wasn't shipped with wine yet. With winetricks vcrun2003, it also ran fine.
http://bugs.winehq.org/show_bug.cgi?id=17524
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #32 from hanska2@luukku.com --- Am I doing this wrong?
I downloaded just the exe file and run it with wine and it works perfectly, no crash here.
wine 1.7.22
A bit lazy now.
https://bugs.winehq.org/show_bug.cgi?id=17524
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |super_man@post.com
--- Comment #33 from super_man@post.com ---
Steps to reproduce:
- Download K-Meleon1.5.2en-US.7z from website
(http://kmeleon.sourceforge.net/download.php), and unzip into some directory: ~/install/kmeleon/program$ 7z x K-Meleon1.5.2en-US.7z 2) Run k-meleon.exe and observe crash
Note that this bug is version specific -- things have been changed in more recent versions of k-meleon that make this bug no longer an issue. You need to download the exact version 7z package (not the installer) and run from the extracted directory.
Works for me.
wine 1.9.12-git.
https://bugs.winehq.org/show_bug.cgi?id=17524
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|k-meleon crash on startup |K-Meleon 1.5.2 crashes on |(Unhandled page fault) |startup Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #34 from Bruno Jesus 00cpxxx@gmail.com --- I can see the exact same crash from comment 0 in wine 1.2.3, works fine in wine 1.6.1 and 1.9.12. Since 2 previous comments also state OK, I'm resolving as fixed.
https://bugs.winehq.org/show_bug.cgi?id=17524
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #35 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.13.