17 February 2013, 20:58 | #1 |
Registered User
Join Date: Jul 2004
Location: Germany
Posts: 105
|
FS-UAE Launcher crashes while scanning for files
Under Windows 7 this version crashes every time I scan my folder with all Amiga files. 2.1.27dev2 crashes too. Mac OS X version seems to run fine. Could you imagine to also support the Amiga Forever rp9 format? All the best for you.
Last edited by FrodeSolheim; 12 March 2013 at 22:43. |
17 February 2013, 21:05 | #2 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Perhaps it doesn't technically crash? Do you get an error message? If so, can you post a screenshot or something? And please also attach Launcher.log.txt to a post!
|
09 March 2013, 13:39 | #3 |
Registered User
Join Date: Jul 2004
Location: Germany
Posts: 105
|
In the attachement, there is the error message, which says, that FS-UAE Launcher doesn't react anymore and that the program isn't executed right caused by a problem. (and ... "The prgram will be closed an you will be informed, when a solution is available.")
Also I attached my Launcher.log.txt. Under Mac OS X 10.8.2 I didn't get an error. Scanning my whole folder with Amiga related data worked. Perhaps there are corrupted files, Windows version can't handle. I look forward, to see a further great version from you. Best regards |
12 March 2013, 21:51 | #4 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Does the Germain error message correspond to:
- "The program does not respond any more"..., (i.e. it hangs) or - "The program has performed an illegal operation" (it has crashed) ? Does it seem like it crashes/hangs in the exact same spot every time? (The same file, or is it random how far in the scan process it gets?). |
12 March 2013, 21:54 | #5 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,527
|
"This program doesn't function anymore" -> It will be closed.
|
12 March 2013, 21:57 | #6 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Actually, I did understand the German more or less, but it wasn't really clear from the text along when this message appears in Windows/German (When the program does not respond anymore and will be closed, or when the program has done something illegally and will be closed). But it sounds a bit more like that latter!
|
12 March 2013, 22:01 | #7 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,527
|
The latter indeed. The 'program doesn't respond' -> hangs message is different.
|
13 March 2013, 00:21 | #8 | |
Registered User
Join Date: Jul 2004
Location: Germany
Posts: 105
|
Quote:
In Mac OS X version it scans the same data with success. Thank you soo much, you are a genius. |
|
13 March 2013, 00:32 | #9 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,527
|
Here it works with over 80k files:
That's on Windows 8 64-bit. How long does it take before that error message appears? |
15 March 2013, 19:29 | #10 | |
Registered User
Join Date: Jul 2004
Location: Germany
Posts: 105
|
Quote:
Here you can see, how long it takes and that it crashes randomly, but always on lha files. So I guess, there could be something wrong with the lha-scan code in the fs-uae windows version, couldn't it? Please Frode could you help with that. Btw. please would you add Hard'n Heavy and Twin World? Best |
|
18 March 2013, 21:52 | #11 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
I've tried to make it crash but without success. It looks like it crashes when scanning WHDLoad-installers, so I donwload a couple and scanned them on Windows XP... it worked.
It could of course be a crash in the LHA library if the file cannot be opened or something like that, perhaps it's not readable by you user? I'll check in the code if that could be a problem. (PS: Heard 'n' Heavy is added to the database now, Twinworld was already there ) |
27 March 2013, 17:25 | #12 | |
Registered User
Join Date: Jul 2004
Location: Germany
Posts: 105
|
Hello Frode,
I tried it again, set file permissions to full access, but got same result. Wonder why it works under Mac OS X? Thanks for Hard 'n' Heavy. Best Quote:
|
|
26 January 2014, 21:44 | #13 |
Registered User
Join Date: Jul 2004
Location: Germany
Posts: 105
|
certain lha file, which let fs-uae crash
Dear Frode,
after a very long time, I could find a lha file, which let fs-uae crash under Windows. This only happens under Windows, but not under Mac OS X. Hope, this helps you to solve this little problem. Best Dic |
26 January 2014, 22:38 | #14 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Hi Dic_Ray, and thanks for the file It actually does not cause a crash here (on Windows either), but with some types of bugs it can be a bit circumstantial whether it crashes or not.
I ran FS-UAE Launcher through valgrind (a great tool by the way), and it does report a couple of invalid memory reads in lzhlib while processing this file. I'll investigate more thoroughly (=debug lzhlib). |
27 January 2014, 22:20 | #15 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
@Dic_Ray, thanks, your test file helped nail the problem Also, your theory about what the problem was (by PM) was almost spot on. The crashes happen when FS-UAE Launcher tries to extract a directory entry (which is supposed to fail gracefully -- not crash), but a bug in lzhlib caused a crash instead (sometimes).
Can you try the replacement file attached? Find lzlib.pyd in your FS-UAE Launcher installation on Windows and replace with the one in the attached zip file. Hopefully the crashes should be history then (For packagers, updated lhafile/lzhlib can be found here: https://github.com/FrodeSolheim/lhafile). |
02 February 2014, 10:30 | #16 |
Registered User
Join Date: Jul 2004
Location: Germany
Posts: 105
|
Yes, it's working now with all my files. Thank you soo much.
|
03 February 2014, 23:59 | #17 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Thanks for confirming I'll make sure the fix is included in the next build!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FS-UAE Launcher | FrodeSolheim | support.FS-UAE | 414 | 20 September 2015 21:39 |
Greatness of the FS-UAE + Launcher (aka thank you thread) | Goingdown | support.FS-UAE | 1 | 10 February 2013 13:46 |
FS-UAE Launcher portable? | toprak | support.FS-UAE | 5 | 11 December 2012 17:17 |
[FS-UAE] Amiga Game Database for FS-UAE Launcher | nexusle | support.FS-UAE | 31 | 24 August 2012 20:24 |
UAE launcher for game or demo | Frazor | support.WinUAE | 4 | 28 March 2003 16:04 |
|
|