EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: .7.2 crashes?  (Read 556 times)

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 121
  • Offline Offline
  • Posts: 3631
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 26.5.2 Safari 26.5.2
    • View Profile
.7.2 crashes?
« on: 31 July 2026, 09:59 »

There is some user feedback regarding the following things in .7.2:

- missing 7z.dll, well I was sure that I added an up2date dll in the package, it may be wrongly named or I accidently picked the wrong dll from the official 7z app. Either way this should be easily fixable for you by getting an up2date one and place it in the main folder

- windows 7: I have updated to the latest Visual Studio and it seems that updating the solution dropped Win7 support. I will check if an extra compile option/linkage/win sdk brings bsck the support but hey win7 is pretty outdated

- crashes when starting a scan. Ok this one is spooky since nothing scanner related was changed. What I do see is that c++ calls std:filesystem:absolut on an empty path (empty name, not sn existing empty folder) seems to throw an exception. Cant check it further at the moment but maye it helps if you specify an addpath/samplepath in case you have them empty.

If nothing helps you can still download .7.1 by guessing the download link.

I will be checking the stuff in around 10 days

Logged


GDT

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 151.0.0.0 Chrome 151.0.0.0
    • View Profile
Re: .7.2 crashes?
« Reply #1 on: 31 July 2026, 11:25 »

I can confirm that 0.7.2 crashes for me doing scanner on MAME 0.289 with -listsoftware, after generating the xml and loading it
It works with -listroms.

I also confirm that 0.7.1 actually works.
For the 7zip, the 0.7.1 package includes 7z.dll file (around 2MBytes) while the 0.7.2 includes 7-zip.dll (around 100KBytes).
« Last Edit: 31 July 2026, 11:29 by GDT »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 121
  • Offline Offline
  • Posts: 3631
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 26.5.2 Safari 26.5.2
    • View Profile
Re: .7.2 crashes?
« Reply #2 on: 31 July 2026, 12:14 »

Ok then Ive picked the wrong dll when packaging…listsoftware vs listxml is interesting…do you use not filled paths (e.g. Add paths or sample paths) in listsoftware mode? If so, try to add a dummy one pointing to an empty folder
Logged

Bad A. Billy

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 150.0.0.0 Chrome 150.0.0.0
    • View Profile
Re: .7.2 crashes?
« Reply #3 on: 05 August 2026, 02:52 »

Roman,

To confirm:
You did include the correct dll (26.2.0.0)  It's just named incorrectly.
Included in archive         = 7-zip.dll
Needs to be changed to  =     7z.dll

For me 072 works fine for regular roms & samples. It's only with -listsoftware that issues arise.
It can create the software list xml just not scan it. It works fine with 071.

Here is 072 creating the xml and then crashing and then running 071 to actually scan...Maybe you can figure out something from it...

7z 24mb mp4 file     -     https://ufile.io/c8xp8irz
Full 64mb mp4 file    -     https://ufile.io/ahuscs17

Thanks!
« Last Edit: 06 August 2026, 00:21 by Bad A. Billy »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 121
  • Offline Offline
  • Posts: 3631
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 151.0.0.0 Chrome 151.0.0.0
    • View Profile
Re: .7.2 crashes?
« Reply #4 on: Yesterday at 15:41 »

ok...back from holiday... time to fix the mess...

- I did bundle the wrong (small) 7-zip.dll...easy fix
- the crashes come from some std::filesystem::absolute calls on empty paths...looks like the visual studio 2026 compile now handles it correctly and throws an exception, will fix it, this is also the reason for the crash when scanning -listsoftware since it looks for your hashfolder in settings.xml which is normally not filled (i.e. the default mame hash path is used). you can add a dummy path for it in settings.xml if you want to avoid the crash before a new version is out

- will look into window 7 compatibility, but it seems that there is a GetSystemTimePreciseAsFileTime call somewhere (not in my code) which is supported starting with Windows 8....need to check if this can be handled....

- some user reported something with encrypted 7z files in combination with dir2dat...I will also check that

an update will come as quick as possible....
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 121
  • Offline Offline
  • Posts: 3631
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 151.0.0.0 Chrome 151.0.0.0
    • View Profile
Re: .7.2 crashes?
« Reply #5 on: Yesterday at 18:52 »

actually I wonder if clrmame (e.g. 0.7.1) worked on Windows 7 anyhow....after I found some compile switches to get around the GetSystemTimePreciseAsFileTime  error on startup, I now get a "GetDpiForWindow", a function which came with Windows 10 and is actively used in my code....

so...I most likely don't spend that much time on getting it to run on an outdated OS (Mainstream End Date: Jan 13, 2015).....
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 121
  • Offline Offline
  • Posts: 3631
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 151.0.0.0 Chrome 151.0.0.0
    • View Profile
Re: .7.2 crashes?
« Reply #6 on: Today at 06:34 »

looks like I got commandline and UI version working on Win7 just by replacing one function call.....
Logged
Pages: [1]   Go Up
 

Page created in 0.072 seconds with 22 queries.