OSMC seems to crash when i add my music collection to the library. Running for a while, then crashes with a sad Smiley, and restarts
My music collection is located on my Synology NAS, and it crashes on both Samba or NFS.
I have made a fresh install (Alpha 4), fully updated through OSMC settings. OSMC skin. LAN with Fixed IP.
Just tried the same with Openelec and everything went fine.
Narrowed it down to a single album that OSMC don’t like.
I have tried adding it to the library on the following systems, Openelec, Raspmc (Rpi), Android Kodi 14.1, Windows Kodi 14.1.
it only crashes on OSMC
Here is the Flac file info.
Sample Rate: 44KHz
Channels: 2
Bits Per Sample: 16
Size: 31,8MB (70% of original)
Original Size: 44,85MB
Average Bitrate: 1.001kbps
Compressor: libFLAC 1.2.1 20070917 (reference)
EDIT:
The debug log shows nothing, here are the last couple of lines, from where i start adding the files to the library
As soon as the file is opened it crashes
08:45:11 T:3024740352 DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
08:45:11 T:2759844896 NOTICE: Thread MusicInfoScanner start, auto delete: false
08:45:11 T:2759844896 DEBUG: CAnnouncementManager - Announcement: OnScanStarted from xbmc
08:45:11 T:2759844896 DEBUG: GOT ANNOUNCEMENT, type: 32, from xbmc, message OnScanStarted
08:45:11 T:3024740352 DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------
08:45:11 T:2759844896 DEBUG: Process - Starting scan
08:45:11 T:2751456288 NOTICE: Thread MusicFileCounter start, auto delete: false
08:45:11 T:2751456288 DEBUG: Thread MusicFileCounter 2751456288 terminating
08:45:11 T:2759844896 DEBUG: DoScan Scanning dir 'smb://DISKSTATION/SqueezeBox/ny test/Rascal Flatts - Still Feels Good/' as not in the database
08:45:11 T:2759844896 DEBUG: CSMBFile::Open - opened SqueezeBox/ny test/Rascal Flatts - Still Feels Good/01 - Rascal Flatts - Take Me There.flac, fd=10001
That is odd.
Any chance you could upload the offending file somewhere so the devs can use it for testing?
If you haven’t got any online storage, dropbox or http://mega.co.nz are decent.
I’m not sure about uploading the files, due to copyright issues. But I will be happy to provide the file/files for test only, if a developer contacts me in a pm.
Place the file in a folder on a NFS or Samba share
Add the file to your music collection. Music → File → Add Music…
Then Scan folder to library. Context menu → Scan item to Library
Kodi - Win8.1 - NFS from a Debian box.
Browsing using the file manager to the Music directory where the problematic file resides in /Music/
Crashes out straight away.
22:30:16 T:4788 DEBUG: NFS: Refreshing context for 192.168.1.10/export/Music, old: 45638, new: 46240
22:30:16 T:4788 DEBUG: NFS: Using cached context.
22:30:16 T:4788 DEBUG: CNFSFile::Open - opened export/Music/06 - Rascal Flatts - Winner at a Losing Game.flac
Windows error report
Problem signature:
Problem Event Name: APPCRASH
Application Name: Kodi.exe
Application Version: 14.0.0.0
Application Timestamp: 54990369
Fault Module Name: StackHash_52c3
Fault Module Version: 6.3.9600.17415
Fault Module Timestamp: 545041a0
Exception Code: c0000374
Exception Offset: PCH_B3_FROM_ntdll+0x0003CC2C
OS Version: 6.3.9600.2.0.0.256.27
Locale ID: 2057
Additional Information 1: 52c3
Additional Information 2: 52c3b43b02c2ed819a587057b05769f8
Additional Information 3: 5535
Additional Information 4: 5535b4c8dd4194fca823bc8e7dc1c0b5
I pulled all the tag info from the file and it seems to be fine.
Using MP3Tag I pulled the tag info from Amazon,com and Kodi handled it correctly.
I think there maybe a limit to the number of characters allowed in the tag comments.r
Also ok on qmmp. I think that qmmp uses its own flac decoder which may be older that the one installed in the OS.
It may be similar with OSMC. Can anyone confirm which version of flac / libflac does osmc use? Maybe it can be upgraded?
EDIT: It wasn’t a problem with the comment. I edited the tag with easytag, changed nothing really, just added a char and then removed it. After changes are saved everything work correctly.
My guess is, that there was a problem with the file after all - of course tag related. After rewriting the tag the file should be playable everywhere.
My first thought was also the tags in the file, I then removed all the tags with Tag&Rename for Windows
I also tried renaming the files to 1.flac - 2.flac and so on
Here is part of EAC log
Good *.flac
Exact Audio Copy V0.99 prebeta 1 from 25. May 2007
EAC extraction logfile from 1. November 2007, 17:36
Poul Krebs / Kosmorama
Used drive : HL-DT-STDVDRAM GSA-4081B Adapter: 1 ID: 0
Read mode : Secure
Utilize accurate stream : Yes
Defeat audio cache : No
Make use of C2 pointers : Yes
Read offset correction : 667
Overread into Lead-In and Lead-Out : No
Fill up missing offset samples with silence : Yes
Delete leading and trailing silent blocks : No
Used interface : Native Win32 interface for Win NT & 2000
Gap handling : Not detected, thus appended to previous track
Used output format : User Defined Encoder
Selected bitrate : 1024 kBit/s
Quality : High
Add ID3 tag : No
Command line compressor : C:\Programmer\Exact Audio Copy\FLAC\FLAC.EXE
Additional command line options : -6 -V -T "ARTIST=%a" -T "TITLE=%t" -T "ALBUM=%g" -T "DATE=%y" -T "TRACKNUMBER=%n" -T "GENRE=%m" -T "COMMENT=%e" %s -o %d
Bad *.flac
Exact Audio Copy V0.99 prebeta 4 from 23. January 2008
EAC extraction logfile from 6. February 2008, 23:51
Rascal Flatts / Still Feels Good
Used drive : HL-DT-STDVDRAM GSA-4081B Adapter: 1 ID: 0
Read mode : Secure
Utilize accurate stream : Yes
Defeat audio cache : No
Make use of C2 pointers : Yes
Read offset correction : 12
Overread into Lead-In and Lead-Out : Yes
Fill up missing offset samples with silence : Yes
Delete leading and trailing silent blocks : No
Null samples used in CRC calculations : No
Used interface : Native Win32 interface for Win NT & 2000
Gap handling : Appended to previous track
Used output format : User Defined Encoder
Selected bitrate : 768 kBit/s
Quality : High
Add ID3 tag : Yes
Command line compressor : C:\Programmer\Exact Audio Copy\FLAC\FLAC.EXE
Additional command line options : -6 -V -T "ARTIST=%a" -T "TITLE=%t" -T "ALBUM=%g" -T "DATE=%y" -T "TRACKNUMBER=%n" -T "GENRE=%m" -T "COMMENT=%e" %s -o %d