INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: dreamweaverhk on February 21, 2018, 11:03:52 am

Title: MC Crash while importing library
Post by: dreamweaverhk on February 21, 2018, 11:03:52 am
I am trying the MC 23. I have a huge song library. After successfully importing maybe 20,000+ song files, MC 23 crashed repeatedly when I tried importing the rest. And sometimes it just crashed even I did nothing after starting MC 23. I have Bitdefender. Is it the issue?
Title: Re: MC Crash while importing library
Post by: Awesome Donkey on February 21, 2018, 11:37:15 am
I have Bitdefender. Is it the issue?

Could be, yes. ntdll.dll crashes, perhaps?

Might be related: https://yabb.jriver.com/interact/index.php?topic=112547.0
Title: Re: MC Crash while importing library
Post by: ~OHM~ on February 22, 2018, 02:08:30 pm
besides the bitdefender, tell us how you are trying to import the rest.....
Title: Re: MC Crash while importing library
Post by: BradATIMA on February 22, 2018, 02:59:30 pm
It's also possible that Media Center is crashing because of one of the imported files. Can you enable logging and attach the log to a post after Media Center crashes again? You can find information on logging here:

https://wiki.jriver.com/index.php/Logging
Title: Re: MC Crash while importing library
Post by: darkhyphenvoid on June 10, 2018, 02:51:25 am
I'm experiencing the same problem. been using MC since build 14, never had an issue before. Recently built new pc after a major hard drive malfunction and installed MC from library backup. Was initially okay but then started crashing.  Runs for a minute or so, then just shuts itself off with no warning.

Uninstalled and started again without the library backup. Stated with a fresh slate and set up a new import. Is initially fine, but then gets to a certain point and crashes out.

Figure it must be a bad file that it is trying to import, or has imported and is now causing it to crash. I recovered the media from the dodgy hard drive, so quite likely that some files have become corrupted. If this if the case, how do I identify the offending file? I've followed your instuctions and downloaded a system log, but it won't let me attach it, as the file is too large!?
Title: Re: MC Crash while importing library
Post by: JimH on June 10, 2018, 07:06:20 am
The wiki has a topic called Logging.  After a crash, take a look at the Previous Log.  The problem should be near the bottom.  You may see the word "crash".
Title: Re: MC Crash while importing library
Post by: darkhyphenvoid on June 11, 2018, 12:15:24 am
this is the final entry on the Log:

0020516: 1720: General: CMCResourceHelper::GetIsModalPopupShowing: Main window disabled
0020688: 1720: General: CMCUICore::SystemPowerManager_UpdateActions: Start
0020688: 1720: General: CMCUICore::SystemPowerManager_UpdateActions: UI Mode: -999; Playing: 0
0020688: 1720: General: CMCUICore::SystemPowerManager_UpdateActions: Finish (result: 0) (0 ms)

And the Previous Log:

0866453: 860: General: TopLevelExceptionFilter: Unhandled exception -- program crashing
0866453: 860: General: TopLevelExceptionFilter: Message: 517, wParam: 0, lParam: 41222991
0866453: 860: General: RunProgram: Start
0866453: 860: General: RunProgram: Filename: C:\Program Files\J River\Media Center 23\JRCrashHandler.exe / Parameters: JRCrashInfo3600
0866453: 860: General: RunProgram: Performing ShellExecute...
0866703: 3916: Database: CAlbumAnalyzer::AnalyzeAlbumInfo: Start
0866719: 860: General: RunProgram: Running process...
0866719: 860: General: RunProgram: Waiting for completion
0866797: 3916: Database: CAlbumAnalyzer::AnalyzeAlbumInfo: Analyze time: 0.094 seconds
0866797: 3916: Database: CAlbumAnalyzer::AnalyzeAlbumInfo: Finish (94 ms)
0000000: 7608: General: JRCrashHandlerApp::Run: Start
0000000: 7608: General: JRCrashHandlerApp::Run: Opening Shared Memory: JRCrashInfo3600
0000000: 7608: General: JRCrashHandlerApp::CreateMiniDump: Start
0000031: 7608: General: JRCrashHandlerApp::CreateMiniDump: Trying to set dump privileges
0000031: 7608: General: JRCrashHandlerApp::CreateMiniDump: Creating dump output file at C:\Users\njorg\AppData\Roaming\J River\Media Center 23\Crash.dmp
0000609: 7608: General: JRCrashHandlerApp::CreateMiniDump: Finish (result: 1) (609 ms)
0000609: 7608: General: JRCrashHandlerApp::Run: Finish (609 ms)
0000609: 7608: General: JRCrashHandlerApp::ExitInstance: Start
0000609: 7608: General: JRCrashHandlerApp::ExitInstance: Finishing
0870844: 860: General: RunProgram: Finished
0870844: 860: General: RunProgram: Done waiting
0870844: 860: General: RunProgram: Finish (4391 ms)
0870891: 3916: TV: CTVRecordingManager::Process: Start
0870891: 3916: TV: CTVRecordingDatabase::GetActions: returning 0 actions
0870891: 3916: TV: CTVRecordingManager::PerformBackgroundTasks: Silent Days ago 0.0000810185229057, dialog days ago 0
0870891: 3916: TV: CTVRecordingManager::PerformBackgroundTasks: checking program cleanup timer.  Last cleanup 0.2379997082995695 hours ago
0870891: 3916: TV: CTVRecordingManager::Process: returning because TV device list has not been initialized, and there are no recording actions
0870891: 3916: TV: CTVRecordingManager::Process: Finish (0 ms)
0870891: 3916: Podcast: CPodcastScheduler::Update: Start
0870891: 3916: Podcast: CPodcastScheduler::Update: Processing completed work threads
0870891: 3916: Podcast: CPodcastScheduler::Update: Purging files
0870891: 3916: Podcast: CPodcastScheduler::Update: Scheduling downloads
0870891: 3916: Podcast: CPodcastScheduler::ScheduleDownload: Start
0870891: 3916: Podcast: CPodcastScheduler::ScheduleDownload: No work found
0870891: 3916: Podcast: CPodcastScheduler::ScheduleDownload: Finish (0 ms)
0870891: 3916: Podcast: CPodcastScheduler::Update: Finish (0 ms)
Title: Re: MC Crash while importing library
Post by: JimH on June 11, 2018, 06:07:24 am
Are you using TV?  Is it set up?

If not, try turning it off in Tools > Options > Features.
Title: Re: MC Crash while importing library
Post by: darkhyphenvoid on June 11, 2018, 11:19:23 am
no, never used it. it's not set up.
Title: Re: MC Crash while importing library
Post by: JimH on June 11, 2018, 12:38:52 pm
What's in the log just before the crash?

Quote
And the Previous Log:

0866453: 860: General: TopLevelExceptionFilter: Unhandled exception -- program crashing
0866453: 860: General: TopLevelExceptionFilter: Message: 517, wParam: 0, lParam: 41222991
0866453: 860: General: RunProgram: Start
0866453: 860: General: RunProgram: Filename: C:\Program Files\J River\Media Center 23\JRCrashHandler.exe / Parameters: JRCrashInfo3600
It's only the previous log that matters after a crash.
Title: Re: MC Crash while importing library
Post by: darkhyphenvoid on June 11, 2018, 03:05:27 pm
Bingo!

I ran a log after three successive crashes and each crash happened after importing a track from this album:

0866437: 1644: Import: JRAnalyzer::AddFile: Filename: D:\Music\Cul De Sac\China Gate\04. Doldrums.mpc

I deleted the album and restored to a point before MC had tried importing it. Then started the import again. All good so far. Know what to look out for next time.

Many thanks.
Title: Re: MC Crash while importing library
Post by: Matt on June 11, 2018, 03:11:59 pm
Could you send me a copy of the file that causes the crash?  I'm matt at jriver.

Thanks!
Title: Re: MC Crash while importing library
Post by: darkhyphenvoid on June 12, 2018, 12:43:56 am
It was the whole album. It crashed while trying to import each track. After the crash it would pick up where it left off, try to import the next track and crash again. I deleted the folder from my drive, restored to just before the import and set it going again. It imported the rest of the library without issue, so it was just that album causing the problem. The files were Musepack format (MPC). It was the only album I had in that format.