mherger wrote: 
> > is there a maintainer of this third party lib ? these things can
> > probably go on for while up the developer foodchain ? (if that lib is
> in
> > turn built with the use of other 3rd party libs with bugs..)
> 
> It might be Andy's Image::Scale - which he has upgraded recently. OP - 
> would you be able to compile code and replace a few files on your system
> 
> to test an updated build?
> 
> -- 
> 
> Michael

LMS started crashing constantly after upgrading earlier this year, and
I've been chasing the GDResizer error since then. 
After disabling some plugins, I was able to *finally* stop this very
annoying behavior. 

I have a large 11K+ track library with artwork in every file, and
suspected either an "out-of-memory" or float exception might be causing
the problem. 

After ruling out the memory problem (the machine has 16GB RAM and a 24GB
paging file on SSD, there are no per-process quotas, and the LMS process
only has ~1.4GB max working set), I now just suspect the Image::Scale
plugin is throwing unhandled exceptions on FPU faults. These are very
common in signal processing routines like an image resizer, and Windows
doesn't manage FPU exception very well by default. In programmer's
terms, the FPU's status bits *must* be saved and restored before calling
any type of DSP code, and the call *must* be protected by try/catch
exception handling that restores the FPU state before returning to the
higher level. There is no other way to do this.

I like Michael Herger's plugins, and I was reluctant to disable them or
their main features, but that's what finally stopped the problem from
occurring on my system. 

Specifically, I disabled "Picture Gallery" (it had somehow added the
root of every external drive on my system to its scan list, including
backup drives with tens of thousands of raw camera images!), disabled
"Image Browser", and unchecked all the remote image fetch options on the
"Music and Artist Information" plugin. 

The test I have been using to check system stability (because it would
immediately crash my server) was a rescan of my music library (just
"Look for new and changed media" would do it), and after disabling
things, I have successfully done both a partial and full rescan of my
entire library now without any problems. Yaya!

Next up is to re-enable Shairtunes2 and the other streaming services
plugins (Tidal, Spotify, etc), and see if they work without crashing.
Getting AirPlay and new streaming services support was the main reason I
upgraded my server earlier this year in the first place.

I really hope the resizer code is updated soon so I can re-enable the
other plugins.

-Joe

Logitech Media Server Version: 7.9.0 - 1485445004 @ Thu Jan 26 15:42:54
CUT 2017
Operating system: Windows 7 - EN - cp1252
Platform Architecture: 8664
Perl Version: 5.14.1 - MSWin32-x86-multi-thread
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)

Total Tracks: 11,093
Total Albums: 1,248
Total Artists: 1,249
Total Genres: 50
Total Playing Time: 1032:22:29

iPeng player for iOS

Player Model: Squeezebox Classic
Player Type: squeezebox2
Firmware: 137
Hardwired

Player Model: Squeezebox Touch
Player Type: fab4
Firmware: 7.8.0-r16754
Wireless Signal Strength: 85%

Player Model: Squeezebox Touch
Player Type: fab4
Firmware: 7.7.3-r16676
Wireless Signal Strength: 100%



[17-03-10 19:18:14.4684] Plugins::Gallery::Cache::__ANON__ (75)
R:\Backups\Local SSD\web\blue.gif not handled yet...
[17-03-10 19:18:14.4685] Plugins::Gallery::Cache::__ANON__ (88) Caching
R:\Backups\Local SSD\web\blue.gif
[17-03-10 19:18:14.4688] Slim::Utils::Misc::msg (1244) Warning:
[19:18:14.4687] Resizing series: 150x150
[17-03-10 19:18:14.4693] Slim::Utils::Misc::msg (1244) Warning:
[19:18:14.4692] Loading image from R:\Backups\Local SSD\web\blue.gif
[17-03-10 19:18:14.4698] Slim::Utils::Misc::msg (1244) Warning:
[19:18:14.4697] Resizing from 3x500 gif @ 0 to 150xX png
[17-03-10 19:18:14.8636] Slim::Utils::Misc::msg (1244) Warning:
[19:18:14.8634] Resizing series: 75x75
[17-03-10 19:18:14.8638] Slim::Utils::Misc::msg (1244) Warning:
[19:18:14.8638] Resizing from 150x25000 png @ 0 to 75x75 png
[17-03-10 19:18:14.9160] Slim::Utils::Misc::msg (1244) Warning:
[19:18:14.9159] Perl interpreter failed at
/<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Utils/GDResizer.pm line
165.
-crash restart-
[17-03-10 19:20:00.3229] main::init (388) Starting Logitech Media Server
(v7.9.0, 1485445004, Thu Jan 26 15:42:54 CUT 2017) perl 5.014001 -
MSWin32-x86-multi-thread


------------------------------------------------------------------------
pbjbryan's Profile: http://forums.slimdevices.com/member.php?userid=3034
View this thread: http://forums.slimdevices.com/showthread.php?t=106417

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to