General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Recovery from ... Recovery
Posted by: km88
Date: November 25, 2015 11:15PM

My laptop was unexpectedly powered off. Now I can't start K-Maleon. It prompts with dialog, asking "Do you want to resume your last browsing session?".


Then, no matter I tell it, it crashes again:


How to recover from that infinite loop now?

Edit:
I don't see pictures in this post. Just in case, their URL's (respectively) are:
Pic.1 - http://postimg.cc/image/7a6vecd3z/
Pic.2 - http://postimg.cc/image/ua5s39wfj/



Edited 1 time(s). Last edit at 11/25/2015 11:22PM by km88.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: JamesD
Date: November 26, 2015 12:48AM

With KM not running, find your profile and edit the file named 'prefs.js'.

Change the value of the following pref to 'true' and save the file.

user_pref("kmeleon.plugins.sessions.cleanShutdown", false);

You should be able to restart your KM unless the problem is a damaged file somewhere. Try the above and if the problem persists, report back in this thread.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: km88
Date: November 26, 2015 03:06AM

@JamesD - thank you.

Unfortunately it did not help. Program crashes at the very same offset. I change that value to "true", start, got crash and it's changed back. BTW, I have not installed any plugins yet.

I'd prefer to restore/keep current profile, rather than start from the scratch, configuring it again, adding my bookmarks, etc... Is there any other options, that may help here?

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: siria
Date: November 26, 2015 05:09AM

Weird... and sounds familiar, but can't remember what it was, or if the other user even had reported back what it was... at any rate thought it had been fixed... there exist 5 newer KM76 dev versions already...
Strongest suspicion: a bad URL in your previous session...

Are you using the *final* 75.1 version? If unsure, which date has your k-meleon.exe?

Hmm, and now remember there was some bug in CCleaner! That was a culprit too in a few mysterious crashes, in firefox too... If you're using CC, update it to the last version first.

At any rate user profiles consist of several single files, one for bookmarks, one for passwords, for settings. for permissions, for sessions, own folder for cache, etc., that means it's not necessary to start at zero each time. Even when creating an additional profile folder, the single files from another one can be copied over again, one by one for testing. Just make sure you have a backup of the old profile folder. Shouldn't be necessary, but just in case...

Try if it helps to just delete the cache folder in your profile?
And if there's a "startup cache" folder (not sure about the name) delete it too.

If doesn't help, back to the "bad URL" possibility:
Have you set KM to automatically start with the previous session?
Try deleting or renaming the sessions file in your profile folder?
Or check in prefs.js again your settings for "...plugins.sessions.autoload", set ask_autoload to true...



Edited 1 time(s). Last edit at 11/26/2015 05:28AM by siria.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: km88
Date: November 28, 2015 04:08AM

@siria, first of all, thank you for your suggestions. I appreciate your efforts to help smiling smiley

Now, I'll try to answer your questions:
> Strongest suspicion: a bad URL in your previous session...
No, it happens now with all URL that I try, including K-Meleon home page or this forum...

> Are you using the *final* 75.1 version? If unsure, which date has your k-meleon.exe?
It is portable version of latest stable release K-Meleon 75.1 (2015-09-10), downloaded 2015-11-11. It has CRC32: B861BFA0.

Some additional details about the environment I'm using:
I have outbound firewall, watching all connections from my computer to the Internet. And I'm always using Proxomitron - local proxy service. All HTTP/HTTPS connections should go via this service only. I used it successfully with K-Meleon before the problem, discussed in this thread, has started. It short, it was working OK (except KM do not obey its own settings and always tries to bypass my proxy, but it should be discussed separately).

Now I suddenly got this this endless loop... What I do now:
1. Remove Profiles folder (from KM root folder)
2. Start KM and allow direct connection to:
216.34.181.96 (kmeleon.sourceforge.net) : 80 (BTW, how to prevent this?)
3. F2, Network/Performance, Proxy, New Configuration - made new configuration with name Proxo and these settings:
"Use the following manual proxy settings"
HTTP, host name = localhost, port = 8080
Click on Save button
4. In Network/Performance, Proxy, General set radio to Use the following user-defined proxy configuration and assign it to Proxo. Click on Close button.
5. Right click on toolbar and allow to show Menu toolbar.
6. Go to Bookmarks, K-Meleon Project, K-Meleon Forums. It opens this forum OK.
7. On that page clock on General (forum)
8. Got K-Meleon crashed.
Note: The same thing happens if in p.6 I try to open K-Meleon Home page... So, it's not the URL that causes the problem here.

I've repeated this procedure it from p. 1 to 8 again couple of times and got the same result. Reboot of my computer did not help too. I've even extracted portable package into another folder and tried it again... The same problem. sad smiley

Obviously there is something kept on my computer, that makes it crash now. Does portable KM use registry? Does portable KM used some files from other folders of my computer? What should I clean up now to get it working???

P.S. Posting this reply using IE (KM still crash)

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: rodocop
Date: November 28, 2015 07:01AM

Have you tested your case WITHOUT any proxying?

Portable KM doesn't use anything outside it's own 'rootfolder' so the problem is hiding somewhere in its settings and connections.

Also you can try crash report plugin



Edited 1 time(s). Last edit at 11/30/2015 08:50PM by rodocop.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: siria
Date: November 28, 2015 07:26AM

Very clear step-by-step description, hopefully someone else can use it to figure something out. Dorian...?
So far end of my latin, connection stuff is beyond my testing capabilities on win98 online machine :cool:

Just 2 more thoughts: does the same happen with the latest KM76beta2?
http://kmeleonbrowser.org/forum/read.php?8,136454

And I keep suspecting there IS something fishy with sourceforge and this forum addy, started since the move from sourceforge.net to kmeleonbrowser.org!!
Because since the URL was moved, every time I opened the FORUM with an old profile for the very first time, be it in KM1.6 or 1.5.4, it gave me some weird server error. And said something that I should "try to help myself by clicking on that link with a ticket number..." or some such, which of course helped nothing. Regardless if I tried the old or the new addy, and deleting cookies didn't help. Only after also deleting the CACHE and then also RESTART the browser did the forum start working again. Not sure if it was the entry page or the "recent postings" link, but anyway, weird.

Perhaps what gives me that weird error in old KM on old machine is the same what makes your newer sytem crash?? Although in your testing configuration with brandnew profiles there should be no cache problem, but your description sounds like the problem starts when calling the old sourceforge-addy. And I see that the default bookmarks in KM76 still all point to the old "sourceforge" addies, so bookmarks.html should be updated. And perhaps that also affects the IP-number for your proxy?

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: guenter
Date: November 28, 2015 08:57AM

I assume recovery has damaged the proxy, the firewall or a part of k-meleon setup.

No idea about how healthy are Your system settings:

Likely candidates damaged in setup either: Exe, skin, chrome or essential runtimes/dll. Too much effort to fiddle out which.

Your excelent description rules out the profile and probaly corruped cache in profile (cache is the likely candidate when browser suddently does not behave).

That is good news for Your old data and settings.

For system and setup check/possible speedy repair.

Best dowmload another version. That should prompt the firewall to update to a new program that is not yet disallowed. And gives You an undamaged K-Meleon.

Else I have no idea. You know better about your proxy settup than I do.


Quote
siria
And I keep suspecting there IS something fishy with sourceforge and this forum addy, started since the move from sourceforge.net to kmeleonbrowser.org!!

:O

I think that is just a change to a domain name owned by Dorian.

Compare traceroute for

http://www.netip.de/search?query=kmeleonbrowser.org

http://www.netip.de/tracert?host=216.34.181.97

traceroute to 216.34.181.97 (216.34.181.97), 20 hops max, 60 byte packets
 1  10.169.31.251 (10.169.31.251)  0.045 ms  0.012 ms  0.011 ms
 2  ae4.425.core-b1.as6724.net (85.214.0.112)  0.203 ms  0.197 ms  0.187 ms
 3  ae0.401.core-b2.as6724.net (85.214.0.33)  0.241 ms  0.235 ms  0.221 ms
 4  87.128.237.181 (87.128.237.181)  3.339 ms  3.334 ms  3.328 ms
 5  217.239.40.210 (217.239.40.210)  102.698 ms  102.687 ms  102.695 ms
 6  80.157.131.194 (80.157.131.194)  100.960 ms  100.993 ms  100.983 ms
 7  nyc2-brdr-01.inet.qwest.net (205.171.134.54)  95.833 ms nyc2-brdr-01.inet.qwest.net (205.171.134.50)  99.405 ms  99.409 ms
 8  63-235-40-42.dia.static.qwest.net (63.235.40.42)  95.899 ms 63.146.26.102 (63.146.26.102)  95.970 ms  95.958 ms
 9  cr2-xe-10-1-1.jfk2.savvis.net (206.28.99.213)  95.927 ms cr2-xe-9-2-3.jfk2.savvis.net (206.28.99.205)  96.048 ms cr1-xe-9-2-0.jfk2.savvis.net (206.28.99.161)  95.852 ms
10  cr2-te-0-1-0-1.chd.savvis.net (206.28.100.245)  124.182 ms cr1-te-0-1-0-1.chd.savvis.net (206.28.100.233)  129.007 ms cr2-te-0-1-0-1.chd.savvis.net (206.28.100.245)  124.072 ms
11  cr1-tengig-0-0-2-0.chicago.savvis.net (204.70.196.241)  124.763 ms  124.734 ms  124.721 ms
12  das6-v3034.ch3.savvis.net (64.37.207.166)  119.749 ms hr3-xe-8-0-0.elkgrovech3.savvis.net (204.70.198.73)  124.417 ms das6-v3033.ch3.savvis.net (64.37.207.162)  125.131 ms
13  das5-v3029.ch3.savvis.net (64.37.207.146)  129.471 ms 64.27.160.198 (64.27.160.198)  118.677 ms 64.27.160.194 (64.27.160.194)  126.549 ms
14  vhost.sourceforge.net (216.34.181.97)  132.655 ms 64.27.160.198 (64.27.160.198)  118.681 ms vhost.sourceforge.net (216.34.181.97)  132.752 ms


http://www.netip.de/search?query=sourceforge.net

http://www.netip.de/tracert?host=216.34.181.60


traceroute to 216.34.181.60 (216.34.181.60), 20 hops max, 60 byte packets
 1  10.169.31.251 (10.169.31.251)  0.043 ms  0.014 ms  0.012 ms
 2  ae4.425.core-b1.as6724.net (85.214.0.112)  0.232 ms  0.217 ms  0.200 ms
 3  ae0.401.core-b2.as6724.net (85.214.0.33)  0.311 ms  0.305 ms  0.204 ms
 4  87.128.237.181 (87.128.237.181)  7.091 ms 80.150.171.77 (80.150.171.77)  7.107 ms 87.128.237.181 (87.128.237.181)  7.077 ms
 5  nyc-sb3-i.NYC.US.NET.DTAG.DE (62.156.131.58)  96.561 ms  96.543 ms  96.550 ms
 6  80.157.131.194 (80.157.131.194)  99.428 ms  99.524 ms  99.505 ms
 7  nyc2-brdr-01.inet.qwest.net (205.171.134.50)  94.368 ms  94.354 ms  94.342 ms
 8  63-235-40-42.dia.static.qwest.net (63.235.40.42)  94.316 ms 63.146.26.102 (63.146.26.102)  94.380 ms  94.391 ms
 9  cr1-xe-9-2-0.jfk2.savvis.net (206.28.99.161)  94.303 ms cr2-xe-9-2-3.jfk2.savvis.net (206.28.99.205)  114.081 ms cr2-xe-10-1-0.jfk2.savvis.net (206.28.99.209)  94.532 ms
10  cr2-te-0-1-0-1.chd.savvis.net (206.28.100.245)  122.875 ms cr1-te-0-1-0-1.chd.savvis.net (206.28.100.233)  127.421 ms cr2-te-0-1-0-1.chd.savvis.net (206.28.100.245)  122.568 ms
11  hr3-xe-8-0-0.elkgrovech3.savvis.net (204.70.198.73)  123.706 ms cr1-tengig-0-0-2-0.chicago.savvis.net (204.70.196.241)  121.279 ms hr3-xe-8-0-0.elkgrovech3.savvis.net (204.70.198.73)  123.674 ms
12  das5-v3029.ch3.savvis.net (64.37.207.146)  127.987 ms hr3-xe-8-0-0.elkgrovech3.savvis.net (204.70.198.73)  123.648 ms  123.629 ms
13  das5-v3029.ch3.savvis.net (64.37.207.146)  127.975 ms 64.27.160.194 (64.27.160.194)  124.981 ms  125.121 ms
14  ch3.sourceforge.net (216.34.181.60)  119.738 ms  119.596 ms  119.659 ms



Edited 1 time(s). Last edit at 11/28/2015 09:02AM by guenter.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: siria
Date: November 28, 2015 11:29AM

Forum:
Of course that is just a redirect, which in theory should be harmless.
And no idea if it has anything to do with km88's prob.
And once a profile finally got over that invisible barrier it does keep working fine in the future.

But nevertheless it always was a major struggle when reusing another old profile for the first time. Happened at least 4 times and thought I'd going nuts, because of course it's "just a redirect", but that stubborn thing just Would!Not!Let!Me!In!Again! :cool: Cursing and wondering what less dedicated users would do, and why no one else posts about that prob, or rather - how post if you don't get in?? ;-)
In theory deleting old cookies should be the most that's necessary, in the worst case also deleting cache, but still no chance. It also didn't help to call the new addy directly.
The homepage always worked fine.
Only the forum was broken (as mentioned, can't remember if already forum-entry or next step).
The first two times it took forever to 'repair' it and afterwards wasn't sure what exactly had helped. Later slowly remembered that deleting Cookies AND Cache AND restart helps. And have of course corrected all my usual bookmarks to use the new addy directly.

Not sure what happens when an empty new profile starts out with the old addy or if a proxy is used, but find it interesting that km88's probs also seem to start when calling the forum, so just wanted to mention this possiblity.



Edited 1 time(s). Last edit at 11/28/2015 11:34AM by siria.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: guenter
Date: November 28, 2015 06:41PM

Delete Cache is mostly sufficient - cookies rarely or not needed. IMHO.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: km88
Date: November 28, 2015 09:52PM

Thank you all.

I've tried Latest Development Release K-Meleon 76 Alpha (2015-09-19).
It crashed with code 0xc000001d, probably implying that now this build requires CPU with SSE2 instruction set, which my laptop doesn't have.

I've tried Beta 2 package and at start it crashed in module msvcr120.dll, offset 000a7676 with code 0x40000015...

Is support for SSE2 instruction set required now?

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: rodocop
Date: November 29, 2015 02:49AM

AFAIK yes.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: km88
Date: November 29, 2015 03:59AM

Too bad. Can't use it anymore... sad smiley

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: guenter
Date: November 29, 2015 08:12AM

Quote
km88
Too bad. Can't use it anymore... sad smiley

If Your assumtion that K-Meleon does not work because of SSE2 is right - 74plus versions would never have worked on Your system.

I understood Your first writing so: that You said that 75.1 did not start again after a crash - which is a totally different story.

If 76 does not work try 74. You merely want a version that Your firewall does not know yet.


IMHO the reason is the crash and what it did to Your machine, its software (OS, Firewall etc) and maybe hardware. And do not blame it on a project because You assume they do not support Your PC.

That only distracts You from Your problem.

Later You can ask Dorian what architcture optimising he does for K-Meleon.exe and plugins and whether he changed it. Just to make sure and for info.

Quote
rodocop
AFAIK yes.

IMHO no.

Optimising for a modern processor might be the default now. However Dorian's GREs' about:buildconfig does not mention optimsing for SSE2 and such. And I do not think he would intentionally build the exe with different parameters.

These are the configure arguments for the GRE of 76. And it is the same basic buildconfig as in 74 and 75.1

about:buildconfig
Build Machine

A
Build platform
target
i686-pc-mingw32
Build tools
Compiler 	Version 	Compiler flags
cl 	1800 	-TC -nologo -D_HAS_EXCEPTIONS=0 -W3 -Gy -arch:IA32 -FS -wd4244 -wd4267 -wd4819 -we4553
cl 	1800 	-TP -nologo -D_HAS_EXCEPTIONS=0 -W3 -Gy -arch:IA32 -FS -wd4251 -wd4244 -wd4267 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -GR- -DNDEBUG -DTRIMMED -Zi -UDEBUG -DNDEBUG -GL -wd4624 -wd4952 -O1 -Oi -Gw -Oy


Configure arguments

--enable-application=browser --enable-optimize --enable-profile-guided-optimization --enable-strip --enable-strip-libs --enable-chrome-format=omni --disable-tests --disable-profiling --disable-mochitests --disable-debug --enable-debug-symbols --disable-webapp-runtime --disable-crashreporter --disable-parental-controls --disable-maintenance-service --disable-installer --disable-updater --disable-windows-mobile-component --enable-shared-js


Following is a section from a project (Pale Moon) that did go for such optimising for -archconfused smileySE2 .


Configure arguments

--with-distribution-id=Palemoon --enable-update-packaging --enable-official-branding --enable-application=browser '--enable-optimize=-O2 -archconfused smileySE2 -GFLs -GS- -fp:precise -Qfast_transcendentals -Qpar -Qvec-report:1 -Qpar-report:1' --enable-jemalloc --disable-debug --enable-chrome-format=jar --disable-tests --disable-mochitests --enable-strip --disable-crashreporter --disable-accessibility --disable-parental-controls --disable-maintenance-service --disable-windows-mobile-components --disable-metro --disable-activex --disable-activex-scripting --disable-logging --disable-necko-wifi



Edited 2 time(s). Last edit at 11/29/2015 08:57AM by guenter.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: Dorian
Date: November 29, 2015 10:59AM

No SSE2 should not be required, but since it's active by default now I may have forgot to remove it somewhere.

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: km88
Date: December 02, 2015 08:10AM

@guenter and @Dorian, thank you for clarification. I'll be looking forward to check a new build, that will not impose SSE2 requirement on my computer.

@guenter, I've just tried v74.0 (portable package) and what I see is:
1. Start KM
2. Allow it to make direct connection to 216.34.181.96 (kmeleon.sourceforge.net)
3. Press F2 and go to Preferences
4. Click on Network/Performance - Proxy
KM silently exits, no Dr.Watson report... System Explorer in its History shows:
k-meleon.exe, Process Terminated, ExitCode=0.
Next attempt to launch it begins with "System Recovery" dialog:
"K-Meleon wasn't closed properly. Do you want to resume your last browsing session?"

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: siria
Date: December 02, 2015 08:42AM

http://216.34.181.96 results in:
Quote

This space is managed by SourceForge.net. You have attempted to access a URL that either never existed or is no longer active. Please check the source of your link and/or contact the maintainer of the link to have them update their records.

http://www.utrace.de/?query=kmeleonbrowser.org
=> IP-Adress: 216.34.181.97

Options: ReplyQuote
Re: Recovery from ... Recovery
Posted by: guenter from Soula's PC
Date: December 05, 2015 08:30PM

Quote
km88
@guenter and @Dorian, thank you for clarification. I'll be looking forward to check a new build, that will not impose SSE2 requirement on my computer.

SSE2 less version out: http://kmeleonbrowser.org/forum/read.php?8,136454,136643,page=3#msg-136643



Edited 1 time(s). Last edit at 12/06/2015 11:36AM by guenter.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.