FileOptimizer - broad format compression

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.
Post Reply
Message
Author
Special
Posts: 170
Joined: Wed Aug 14, 2013 7:22 am

Re: FileOptimizer - broad format compression

#76 Post by Special » Mon May 22, 2017 6:20 am

So this is weird, running FileOptimizer now causes my computer to BSOD, it happens 100% of the time without fail, and happens the same way each time. When I run it, lets say I optimize some JPEGs, once it finishes the task, you know that "ding" sound that happens, well that's the moment the BSOD happens.

Says something about Kernel Security Check Failure, I'm at a loss at what it could be, since I've been running this version of FO in the past with no issues, it was only the last few days that this started to happen when I tried to use it.

A small workaround I've found was to open up task manager and get my finger ready on the "end task" button to kill FileOptimizer before it finishes everything, right before that "ding" sound that plays, this way I can still get it to optimize pictures and whatnot before BSODing. Adding more pictures then needed gives me plenty of time to end task once it finishes the ones I want to optimize.

Anyone on the same OS as me "Windows 10 1703 / 15063.296" that can maybe test out FO with some tasks to see if a crash happens to you? I figure it's either a hardware issue on my end or a hidden MS updated that happened one day that is now causing conflict. But I have ran Memtest86 overnight and it came up with zero errors, so I don't think it's a "bad RAM" issue. Also would it still be a RAM issue if only FileOptimizer is causing BSOD, I have yet to find anything else that gives me a BSOD.

User avatar
SYSTEM
Posts: 1937
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: FileOptimizer - broad format compression

#77 Post by SYSTEM » Tue May 23, 2017 12:12 pm

Special wrote: Anyone on the same OS as me "Windows 10 1703 / 15063.296" that can maybe test out FO with some tasks to see if a crash happens to you? I figure it's either a hardware issue on my end or a hidden MS updated that happened one day that is now causing conflict. But I have ran Memtest86 overnight and it came up with zero errors, so I don't think it's a "bad RAM" issue. Also would it still be a RAM issue if only FileOptimizer is causing BSOD, I have yet to find anything else that gives me a BSOD.
I have Windows 10 Creators Update. I told FileOptimizer to optimize a PNG and didn't get a BSOD.

Just guessing: maybe a CPU issue? FileOptimizer causes extremely high CPU load. You can check if something like IntelBurnTest gives you a BSOD as well.
My YouTube channel | Release date of my 13th playlist: August 24, 2020

Special
Posts: 170
Joined: Wed Aug 14, 2013 7:22 am

Re: FileOptimizer - broad format compression

#78 Post by Special » Tue May 23, 2017 2:08 pm

Na, I've used FO thousands of times (literally) and never had problems before, but after some testing I found it related to the option "BeepWhenDone=true" in the .ini file. Really odd, it was the beep that was causing the BSOD, when I set it to "BeepWhenDone=false" it runs fine again.

User avatar
SYSTEM
Posts: 1937
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: FileOptimizer - broad format compression

#79 Post by SYSTEM » Tue May 23, 2017 10:34 pm

Special wrote:Na, I've used FO thousands of times (literally) and never had problems before, but after some testing I found it related to the option "BeepWhenDone=true" in the .ini file. Really odd, it was the beep that was causing the BSOD, when I set it to "BeepWhenDone=false" it runs fine again.
For the record, I don't get a BSOD even if I turn on the beep.
My YouTube channel | Release date of my 13th playlist: August 24, 2020

User avatar
Midas
Posts: 5477
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: FileOptimizer - broad format compression

#80 Post by Midas » Wed May 24, 2017 5:11 am

From where I stand looks like the straw that breaks the camel's back (i.e., Special's Windows) is the a particular invocation of beeping. :shock:

Next, I would look at the sound file that gets played -- or the system's player, for that matter...

Special
Posts: 170
Joined: Wed Aug 14, 2013 7:22 am

Re: FileOptimizer - broad format compression

#81 Post by Special » Wed May 24, 2017 5:54 am

Yeah I realize it's probably system related since others have no issue, but I haven't been able to pin point it, I've tried playing all the "beeps" and "chimes" in the windows sound properties and they all work, so I don't know, it is literally just FO that causes this crash to happen with the beep sound at the end.

It's also strange that with version of FO was working fine just weeks ago, I use it very regularly... what are the chances Microsoft pushed an updated that messed with sound? Maybe it now does not play nice with my ASUS sound driver... who knows.

User avatar
SYSTEM
Posts: 1937
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: FileOptimizer - broad format compression

#82 Post by SYSTEM » Wed May 24, 2017 6:59 am

Special wrote:Yeah I realize it's probably system related since others have no issue, but I haven't been able to pin point it, I've tried playing all the "beeps" and "chimes" in the windows sound properties and they all work, so I don't know, it is literally just FO that causes this crash to happen with the beep sound at the end.
As a possible hint, the comment in FileOptimizer.ini says "Beep the speaker when optimization completes." Note the singular form. That sounds like it means the ancient PC speaker introduced in the original IBM PC in 1981.

So, maybe FileOptimizer attempts to beep the PC speaker. (My PC doesn't have one, so Windows plays a sound effect instead.) PC speaker is virtually unused today, so the "beep PC speaker" codepath in motherboard drivers may be untested. It might be that FileOptimizer then triggers that untested driver code that proceeds to crash Windows.
My YouTube channel | Release date of my 13th playlist: August 24, 2020

Special
Posts: 170
Joined: Wed Aug 14, 2013 7:22 am

Re: FileOptimizer - broad format compression

#83 Post by Special » Wed May 24, 2017 7:28 am

The weird thing is that I've had this BeepWhenDone=true set since it was introduced, and it's never caused me issues until just now. I don't know why now of all things.

User avatar
nikkho
Posts: 46
Joined: Tue Oct 11, 2016 12:00 am

Re: FileOptimizer - broad format compression

#84 Post by nikkho » Sun Jun 11, 2017 12:39 am

Special wrote:The weird thing is that I've had this BeepWhenDone=true set since it was introduced, and it's never caused me issues until just now. I don't know why now of all things.
BeepWhen done, does two things:
- FlashWindow(Handle, false): https://msdn.microsoft.com/library/wind ... s.85).aspx
- MessageBeep(0xFFFFFFFF): https://msdn.microsoft.com/library/wind ... s.85).aspx

Both are direct calls to Windows API, so nothing strange here. Regarding the speaker, the 0xFFFFFFFF parameter, tells to sound a beep if a soundcard is available, or else use the internal speaker.

As we discussed, it is probably a conflict between audio drivers, and latest Windows Update.

User avatar
nikkho
Posts: 46
Joined: Tue Oct 11, 2016 12:00 am

Re: FileOptimizer - broad format compression

#85 Post by nikkho » Sun Jun 11, 2017 12:40 am

Very busy those days, but FileOptimizer 9.90 has been just pushed out!
http://nikkhokkho.sourceforge.net/stati ... eOptimizer

SQLite optimization capabilities, as well as better lossless video recompression integrating ffmpeg, among other improvements:

9.90 - 2017/06/11
- Addes SQLite database optimization support (necros).
- Added ffmpeg to the video toolchain (mp4, mkv, ogv).
- New extensions supported in the video toolchain: .mpg .mpeg .flv .wmv .wma .rv .ra .rm .rmvb .ram .smil, qt, mov, 3gg, 3g2.
- New extensions added to the ZIP toolchain: .qwk, .ear, .war, .jar, .z01 .z02 .z03 .z04 .z05 .z06 .z07 .z08 .z09 .z10, .zipx, .zx01 .zx02 .zx03 .zx04 .zx05 .zx05 .zx06 .zx07 .zx08 .zx09 .zx10.
- Added INI setting MP4CopyMetadata=false to enable copying MP4 metadata.
- Fixed some help typos (Joel Rangelle).
- Added mp4v2 2.1.0 x86 and x64 static Visual C++ 2017 custom builds.
- Added SQLite 3.19.2 x86 and x64 Visual C++ 2017 custom builds.
- Improved pingo compression.
- Added -KeepPhysicalPixelDimensions to PngOptimizer when keep metadata to mantain DPI information (Renard Voß).
- Disabled advpng when keep metadata is selected (Renard Voß).
- Updated AdvanceCOMP to 2.00 (TPS).
- Updated tidy 5.4.0 to be Windows XP compatible.
- Updated mkclean to 0.8.9.
- Updated UPX to 3.94.
- Updated to mp4v2 2.1.0.
- Updated mozjpegtran x86 and x64 binaries, because CoolOppo did not build x64 (thanks d4k0).
- Updated to ECT 0.7.0 (2b66b21) x86 and x64 optimized builds (thanks Malloc Voidstar).
- Updated Leanify to 0.4.3.190 daily binaries.
- Updated ImageWorsener to 1.3.2.
- Updated ImageMagick 7.0.5.10 with HDRI support.
- Updated pingo to 0.83.
- Updated strip to 2.27.
- Updated to cppcheck 1.79.
- Some minor optimizations and code cleanup.

Special
Posts: 170
Joined: Wed Aug 14, 2013 7:22 am

Re: FileOptimizer - broad format compression

#86 Post by Special » Sun Jun 11, 2017 5:47 am

Never seen this before on Sourceforge, I'm sure it's just a false positive, but still...

Image

User avatar
nikkho
Posts: 46
Joined: Tue Oct 11, 2016 12:00 am

Re: FileOptimizer - broad format compression

#87 Post by nikkho » Mon Jun 12, 2017 10:36 am

We are again receiving complaints about infections on FileOptimzer. As it happens from time to time (https://sourceforge.net/p/nikkhokkho/di ... /7e4162e0/), this is because of bugs, and lack of care in AV vendors.


Remember best solution is reporting it to your AV vendor, so they can fix it. Also marking it as clean in Virus Total would help too.
To be honest I am tired of that. I almost spent more time reporting AV vendors their flaws and false positives, than in compiling and releasing FO.


Also, I haved marked clean the following:
https://www.virustotal.com/file/16d59c2 ... /analysis/
https://www.virustotal.com/file/86a84c9 ... /analysis/
https://www.virustotal.com/file/37f0f0b ... /analysis/
https://www.virustotal.com/file/462abcb ... /analysis/
https://www.virustotal.com/file/37f0f0b ... /analysis/
https://www.virustotal.com/file/2f88a60 ... /analysis/
https://www.virustotal.com/file/7571fcc ... /analysis/
https://www.virustotal.com/file/7490c07 ... /analysis/
https://www.virustotal.com/file/eafd706 ... /analysis/
https://www.virustotal.com/file/24efa33 ... /analysis/
https://www.virustotal.com/file/43f4359 ... /analysis/
https://www.virustotal.com/file/c18ebde ... /analysis/
https://www.virustotal.com/file/dd1c65a ... /analysis/
https://www.virustotal.com/file/718c3db ... /analysis/
https://www.virustotal.com/file/ca0a196 ... /analysis/
https://www.virustotal.com/file/11c0be7 ... /analysis/
https://www.virustotal.com/file/eafd706 ... /analysis/
https://www.virustotal.com/file/24efa33 ... /analysis/
https://www.virustotal.com/file/0f8e136 ... /analysis/
https://www.virustotal.com/file/dd1c65a ... /analysis/
https://www.virustotal.com/file/718c3db ... /analysis/
https://www.virustotal.com/file/5e2aca6 ... /analysis/
https://www.virustotal.com/file/92ca650 ... /analysis/
https://www.virustotal.com/file/4ca2f16 ... /analysis/

User avatar
nikkho
Posts: 46
Joined: Tue Oct 11, 2016 12:00 am

Re: FileOptimizer - broad format compression

#88 Post by nikkho » Fri Jul 21, 2017 11:58 pm

Thank you very much for the 10.00 update. Indeed you were faster than me!

FileOptimizer 10.00 (5th anniversary release):
- Added EnableCache=false INI setting to enable cache of already optimized files, so they are not reoptimized each time.
- Added AllowMultipleInstances=false INI setting, to prevent the warning of multiple FileOptimizer instances running (Jack).
- Compiled with latest C++ Builder 10.2 Tokyo April 2017 Hotfix.
- Fixed the bug of chineese shortcut text caused by Embarcadero C++ Builder 10.2 Tokyo, issue in the Win64 version when "Link with runtime packages" is set to false.
- Improved GUI draw performance.
- Improved pingo lossy optimizations for JPEG and PNG.
- Improved gifsicle and gifsicle-lossy performance by allowing using more memory, and using several threads.
- Added nightly builds at the SVN repository, so they can be publicly tested (Jack, Ryan Morben).
- Updated gifsicle to 1.89 (custom build).
- Updated pngquant to 2.10.0.
- Updated to ECT 0.8.2 x86 and x64 optimized builds (thanks Malloc Voidstar).
- Updated Leanify to 0.4.3.192 daily binaries.
- Updated SQLite to 3.19.3 x86 and x64 Visual C++ 2017 custom builds.
- Updated pingo to 0.88 x86 and x64 versions.
- Updated ImageMagick to 7.0.6.1 with HDRI support.
- Upgraded distributions to 7-Zip 17.00.
- Some minor optimizations and code cleanup.

http://nikkhokkho.sourceforge.net/stati ... eOptimizer

Special
Posts: 170
Joined: Wed Aug 14, 2013 7:22 am

Re: FileOptimizer - broad format compression

#89 Post by Special » Sat Jul 22, 2017 6:14 am

All I got is a head nod and a thumbs up, and congrats on 5 years.

User avatar
nikkho
Posts: 46
Joined: Tue Oct 11, 2016 12:00 am

Re: FileOptimizer - broad format compression

#90 Post by nikkho » Sat Jul 22, 2017 11:21 am

Special wrote:All I got is a head nod and a thumbs up, and congrats on 5 years.
Thank you so much.

Post Reply