msd_lite icon indicating copy to clipboard operation
msd_lite copied to clipboard

Bus error (SIGBUS)

Open tsl0922 opened this issue 2 years ago • 3 comments

I'm running msd_lite on a router firmware, msd_lite crashes when my player generating thumbnails of the playlist(.m3u contains a lot of channels).

/home/root # /usr/bin/msd_lite -c /etc/storage/msd_lite.conf
Bus error

can't debug on the router, no more info.

tsl0922 avatar Oct 09 '22 02:10 tsl0922

Hi!

Probably there is not enough free memory (RAM).

Also check limits - Max open files by default is 1024 in many distros which is not enough in case of many connections. msd prints actual files descriptors count in log at start: [2022-05-28 10:17:51]: descriptor table size: 65536 (max files)

rozhuk-im avatar Oct 12 '22 01:10 rozhuk-im

Increased the limits, still get the same error. while the memory usage increased ~10M, I didn't see any OOM error in system log.

tsl0922 avatar Oct 15 '22 07:10 tsl0922

Possible log can show what goes wrong, if there is no errors then we need coredump and backtrace to locate error. Without this this is con not be fixed.

rozhuk-im avatar Jan 01 '23 13:01 rozhuk-im