Post Reply 
minimserver 0.8.1 crashes following a relaunch or a restart
17-12-2013, 19:06
Post: #1
minimserver 0.8.1 crashes following a relaunch or a restart
After installing minim 0.8.1 on win7 (64bit version), I was asked to uninstall previous 0.72 version. Installation went OK , but minim server refused to start. I had to reboot my win7 system to get it running. Everything OK so far, minimserver was fully functional.

I went to Properties > Packages to install minimstreame-0.3.5. Following a Relaunch (as per instructions), I got a MinimServer error window containing :
Code:
Relaunch failed: see minimserver-heapdump-20131217-...hprof and minimserver-threads-20131217-...log
Here is the minimserver-threads log contents (heap log is way too big to post).
Code:
"TimerQueue" id=25 WAITING
    at sun.misc.Unsafe.park(Native Method)
    - waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@cb12b53
    at java.util.concurrent.locks.LockSupport.park(Unknown Source)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unkn​own Source)
    at java.util.concurrent.DelayQueue.take(Unknown Source)
    at javax.swing.TimerQueue.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Locked synchronizers:
    - java.util.concurrent.locks.ReentrantLock$NonfairSync@55fa81

"Thread-1" id=14 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.launch.Launcher$ConsoleThread@43935ca7
    at java.lang.Object.wait(Object.java:503)
    at org.jminim.launch.Launcher$ConsoleThread.run(Launcher.java:1094)

"AWT-Windows" id=11 RUNNABLE (in native)
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

"Java2D Disposer" id=9 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.ReferenceQueue$Lock@7fa7fa99
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    at sun.java2d.Disposer.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

"Attach Listener" id=5 RUNNABLE

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.ReferenceQueue$Lock@6d359448
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

"Reference Handler" id=2 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.Reference$Lock@589a3afb
    at java.lang.Object.wait(Object.java:503)
    at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

"main" id=1 RUNNABLE
    at sun.management.ThreadImpl.dumpThreads0(Native Method)
    at sun.management.ThreadImpl.getThreadInfo(Unknown Source)
    at org.jminim.launch.Launcher.writeThreadDump(Launcher.java:802)
    at org.jminim.launch.Launcher.launch(Launcher.java:217)
    at com.minimserver.launch.LaunchServer.main(LaunchServer.java:28)
Code:
I then restarted minim (withut exiting). This time I got the following error message in the log file:
  Tue Dec 17 11:26:43 starting MinimServer[boulier]
  Tue Dec 17 11:26:43 Platform default charset is windows-1252
  Tue Dec 17 11:26:43 Reading folder cache for Allegri- Miserere; Messe Vidi Turbam Magnam; Motets
  (...)
  Tue Dec 17 11:26:47 Reading folder cache for Zbinden, Julien-François (1917 - )
  Tue Dec 17 11:26:47 Reading folder cache for Zelenka, Jan Dismas (1679 - 1745)
  Tue Dec 17 11:26:47 Reading folder cache for Zipoli
  Tue Dec 17 11:26:51 MinimServer internal error: unknown itemLocation 0x4000010B in playlist Compositeurs/.../Albinoni - Adagio - Andre, Alain (trumpet, organ).m3u
NOTE. The playlist minimserver is complaining about has always played well so far, and does so when 0.8.1 is running OK.
No matter what I did after that (Stop - Restart, Rescan) I always got this errror message. The only way to get a working minimserver back was to Exit minimserver, then retart it from the windows desktop. Then minimserver started OK, the log file showing :
Code:
Tue Dec 17 11:37:35 MinimServer 0.8.1, Copyright (c) 2012, 2013 Simon Nash. All rights reserved.
  Tue Dec 17 11:37:35 MinimStreamer 0.3.5, Copyright (c) 2012, 2013 Simon Nash. All rights reserved.
  Tue Dec 17 11:37:35 Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
  Tue Dec 17 11:37:35 Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
  Tue Dec 17 11:37:36 Platform default charset is windows-1252
  Tue Dec 17 11:37:36 starting MinimServer
  Tue Dec 17 11:37:37 Scanning directory flac
  Tue Dec 17 11:37:37 Scanning directory A Sei Voci
  Tue Dec 17 11:37:37 Scanning directory Allegri- Miserere; Messe Vidi Turbam Magnam; Motets
  (...)
  Tue Dec 17 11:38:11 Scanning directory Zipoli
  Tue Dec 17 11:38:39 MinimServer[boulier] is running
  Tue Dec 17 11:38:39 Startup complete
(I note that this time the log makes no reference to the folder cache).
I can play the seemingly offending playlist referred to above with no problem, so it seems clear this playlist is OK.

If I try a "rescan", everythig is ok. But if if attempt a "restart" I am back to a non-working minimserver with the same error message in the log :
Code:
MinimServer internal error: unknown itemLocation 0x4000010B in playlist ...
The only way out of this situation is to exit minimserver completely, and restart if.

It appears that the "Relaunch" button in the Properties > Packages tab, or the Restart entry in the minim context box, break minimserver 0.8.1 somehow.

At least, this problem can be systematically reproduced on my win7 setup. This should make it easier to trace. I will be happy to provide any further information that could help fix this issue.

Except for that, my first experience with version 0.8.1 was fine. I will keep working with it.

Thanks for all your efforts.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
minimserver 0.8.1 crashes following a relaunch or a restart - Andre Gosselin - 17-12-2013 19:06

Forum Jump:


User(s) browsing this thread: 1 Guest(s)