andygrundman / Image-Scale

Image::Scale - Fast, high-quality fixed-point image resizing
24 stars 20 forks source link

Perl interpreter failed (Windows only) #12

Closed mherger closed 5 years ago

mherger commented 7 years ago

Running good old Perl 5.14 on Windows we're seeing an increasing number of "Perl interpreter failed at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Utils/GDResizer.pm line 165." crashes in LMS. This is where we call Image::Scale->resize().

Would you know of issues with Perl 5.14 on eg. Win10, a bug in older Image::Scale (0.08) which could be causing this on newer Windows versions? Unfortunately I'm still struggling to build Image::Scale on Windows (issue #9).

One interesting detail is the fact that I would get a log statement which is being output after the line which is supposedly crashing Perl.

mherger commented 5 years ago

Most likely this was totally unrelated to Windows or the Perl version, but caused by Image::Scale process non-image files. This actually lead me to find out that LMS instances exposed to the internet are systematically being manipulated...