Bug 5656 - projectx freez at startup
Summary: projectx freez at startup
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-28 16:05 CEST by jean michel masereel
Modified: 2012-05-26 14:45 CEST (History)
4 users (show)

See Also:
Source RPM: projectx-0.91.0-2.mga2.src.rpm
CVE:
Status comment:


Attachments

Description jean michel masereel 2012-04-28 16:05:33 CEST
Description of problem:
I launch projectx in command line. A frame open with a "agree" button (and 2 others) when I click on this button, another frame open (the main window of projectx). But this window stay completely gray. Nothing else to do except to kill it.

In command line (> projectx myvideo.extension) it seems ok (projectx do the default work on the video). But I need the GUI to cut the video at the corrects frames :-)

Version-Release number of selected component (if applicable):
projectx-0.91 both from the one installed from source (on mga1) and launched with "java -jar ProjectX.jar" and the one newly installed from the beta3 repository.

> java -version (perhaps the problem is due to java??)
java version "1.7.0_b147-icedtea"
OpenJDK Runtime Environment (mageia-2.1.1.mga2-x86_64)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)

How reproducible:
every time...

Steps to Reproduce:
1.
2.
3.
Manuel Hiebel 2012-04-28 22:43:37 CEST

CC: (none) => dmorganec, oliver.bgr

Comment 1 jean michel masereel 2012-05-08 11:18:16 CEST
Hi,
As I thought, I'm not really that the problem come from projectx.
I have the same problem with geogebra (java based application)
The command
> javaws "/home/me/.icedtea/cache/51/http/www.geogebra.org/webstart/geogebra.jnlp"
is ok.
But I've installed geogebra from source and the command
> java -jar ./geogebra.jar
lets me with just a gray window.

So I suppose that the problem is IcedTea??
should I change the title of this bug-report or create a new bug-report??
Comment 2 jean michel masereel 2012-05-08 11:27:21 CEST
according to this bug : https://bugs.mageia.org/show_bug.cgi?id=5530
I'll wait the RC and see ;-)
Comment 3 jean michel masereel 2012-05-12 13:51:32 CEST
bad news.
even with the rc and the OpenJDK 1.7.0.3 I still have the same problem
Comment 4 Oliver Burger 2012-05-12 13:59:56 CEST
I can't reproduce here.
Please start projectx from the terminal and provide the output.
Comment 5 Julien Gouesse 2012-05-12 16:13:38 CEST
I assume there is a deadlock or another problem that causes a freeze in ProjectX. If it is not reproducible by someone else, there is something wrong in your configuration. Please use jstack -l [pid] to provide us more information about this freeze.

CC: (none) => gouessej

Comment 6 jean michel masereel 2012-05-12 17:50:35 CEST
Problem solved.
It was a java problem : OpenJDK 1.7 doesn't work.
I 've installed OpenJDK 1.6 (32 bit version since rpmdrake don't let me install the 64 bits version, without telling me why...)
With the command line "sudo update-alternatives --config java", I choose the 1.6 version, and now it's ok (both for projectx and geogebra).

Now we have to know why Openjdk1.7 doesn't work!

As I said there was the same problem with geogebra. In fact, the cursor change aspect according to its position on the "grey" window. So it seems to me that it is not a "freeze" but simply java that doesn't draw the content of the window.

to answer Oliver's question, I always start projcetX from the terminal and the output is ok (ending at the "loading AC3 frames" line.

To answer julien's question, here is the stack answer (with openjdk 1.7) :
2012-05-12 17:40:21
Full thread dump OpenJDK 64-Bit Server VM (22.0-b10 mixed mode):

"Attach Listener" daemon prio=10 tid=0x00007fb830001000 nid=0x3025 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"DestroyJavaVM" prio=10 tid=0x00007fb850006800 nid=0x2f83 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"TimerQueue" daemon prio=10 tid=0x00007fb85058e800 nid=0x2f9d waiting on condition [0x00007fb8263c3000]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x00000000ebd18ba8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
        at java.util.concurrent.DelayQueue.take(DelayQueue.java:209)
        at javax.swing.TimerQueue.run(TimerQueue.java:171)
        at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
        - <0x00000000ebd18bd0> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

"Clock_1" prio=10 tid=0x00007fb850580800 nid=0x2f9c waiting on condition [0x00007fb8264c4000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.MainFrame$2Clock.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
        - None

"Clock_6" prio=10 tid=0x00007fb85057f000 nid=0x2f9b waiting on condition [0x00007fb8265c5000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.FilterPanel$Clock.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
        - None

"Clock_3" prio=10 tid=0x00007fb850572800 nid=0x2f9a waiting on condition [0x00007fb8266c6000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.MainFrame$1Clock.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
        - None

"MemoryMonitor" prio=10 tid=0x00007fb850570800 nid=0x2f99 waiting on condition [0x00007fb8267c7000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.MemoryMonitor$Surface.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
        - None

"Clock_2" prio=10 tid=0x00007fb850522800 nid=0x2f98 waiting on condition [0x00007fb8268e0000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.ProcessWindow$1Clock.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
        - None

"AWT-EventQueue-0" prio=10 tid=0x00007fb850427800 nid=0x2f96 waiting on condition [0x00007fb826eab000]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x00000000ec79f3b8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
        at java.awt.EventQueue.getNextEvent(EventQueue.java:515)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:180)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

   Locked ownable synchronizers:
        - None

"AWT-Shutdown" prio=10 tid=0x00007fb850426000 nid=0x2f95 in Object.wait() [0x00007fb826fac000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000c2657048> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:503)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)
        - locked <0x00000000c2657048> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
        - None

"AWT-XAWT" daemon prio=10 tid=0x00007fb850377800 nid=0x2f8f runnable [0x00007fb84c169000]
   java.lang.Thread.State: RUNNABLE
        at sun.awt.X11.XToolkit.waitForEvents(Native Method)
        at sun.awt.X11.XToolkit.run(XToolkit.java:631)
        at sun.awt.X11.XToolkit.run(XToolkit.java:595)
        at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
        - None

"Java2D Disposer" daemon prio=10 tid=0x00007fb8502d1000 nid=0x2f8e in Object.wait() [0x00007fb8541c2000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000ec5d43d0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
        - locked <0x00000000ec5d43d0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
        at sun.java2d.Disposer.run(Disposer.java:145)
        at java.lang.Thread.run(Thread.java:722)

   Locked ownable synchronizers:
        - None

"Service Thread" daemon prio=10 tid=0x00007fb85010b000 nid=0x2f8c runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"C2 CompilerThread1" daemon prio=10 tid=0x00007fb850108800 nid=0x2f8b waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"C2 CompilerThread0" daemon prio=10 tid=0x00007fb850105800 nid=0x2f8a waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"Signal Dispatcher" daemon prio=10 tid=0x00007fb850103800 nid=0x2f89 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"Finalizer" daemon prio=10 tid=0x00007fb8500b7000 nid=0x2f88 in Object.wait() [0x00007fb8553a0000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000ec578db0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
        - locked <0x00000000ec578db0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)

   Locked ownable synchronizers:
        - None

"Reference Handler" daemon prio=10 tid=0x00007fb8500b5000 nid=0x2f87 in Object.wait() [0x00007fb8554a1000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000ec578b00> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:503)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
        - locked <0x00000000ec578b00> (a java.lang.ref.Reference$Lock)

   Locked ownable synchronizers:
        - None

"VM Thread" prio=10 tid=0x00007fb8500ad800 nid=0x2f86 runnable 

"GC task thread#0 (ParallelGC)" prio=10 tid=0x00007fb850011800 nid=0x2f84 runnable 

"GC task thread#1 (ParallelGC)" prio=10 tid=0x00007fb850013000 nid=0x2f85 runnable 

"VM Periodic Task Thread" prio=10 tid=0x00007fb850115800 nid=0x2f8d waiting on condition 

JNI global references: 490

################################################################################

Same thing but with openjdk 1.6 (no freeze) to compare:

-----------------------------------------------

2012-05-12 17:43:32
Full thread dump OpenJDK Server VM (20.0-b12 mixed mode):

"Attach Listener" daemon prio=10 tid=0xf66ae800 nid=0x3159 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"DestroyJavaVM" prio=10 tid=0xf6604c00 nid=0x3102 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"TimerQueue" daemon prio=10 tid=0xa9048000 nid=0x3121 waiting on condition [0xa94ba000]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0xdf5fe230> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
        at java.util.concurrent.DelayQueue.take(DelayQueue.java:189)
        at javax.swing.TimerQueue.run(TimerQueue.java:167)
        at java.lang.Thread.run(Thread.java:679)

   Locked ownable synchronizers:
        - <0xdf5fe2a8> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

"Clock_1" prio=10 tid=0xa9045000 nid=0x3120 waiting on condition [0xa950b000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.MainFrame$2Clock.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:679)

   Locked ownable synchronizers:
        - None

"Clock_6" prio=10 tid=0xa9044000 nid=0x311f waiting on condition [0xa955c000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.FilterPanel$Clock.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:679)

   Locked ownable synchronizers:
        - None

"Clock_3" prio=10 tid=0xa9041000 nid=0x311e waiting on condition [0xa95ad000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.MainFrame$1Clock.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:679)

   Locked ownable synchronizers:
        - None

"MemoryMonitor" prio=10 tid=0xa9040400 nid=0x311d waiting on condition [0xa95fe000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.MemoryMonitor$Surface.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:679)

   Locked ownable synchronizers:
        - None

"AWT-EventQueue-0" prio=10 tid=0xabbfd800 nid=0x311c in Object.wait() [0xabf70000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xb5cba800> (a java.awt.EventQueue)
        at java.lang.Object.wait(Object.java:502)
        at java.awt.EventQueue.getNextEvent(EventQueue.java:490)
        - locked <0xb5cba800> (a java.awt.EventQueue)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:247)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

   Locked ownable synchronizers:
        - None

"AWT-Shutdown" prio=10 tid=0xa9008400 nid=0x311b in Object.wait() [0xa9ad5000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xb5cbaf80> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:502)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:281)
        - locked <0xb5cbaf80> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:679)

   Locked ownable synchronizers:
        - None

"Clock_2" prio=10 tid=0xabbcf800 nid=0x3118 waiting on condition [0xabf1f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at net.sourceforge.dvb.projectx.gui.ProcessWindow$1Clock.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:679)

   Locked ownable synchronizers:
        - None

"AWT-XAWT" daemon prio=10 tid=0xabb1fc00 nid=0x310e runnable [0xac012000]
   java.lang.Thread.State: RUNNABLE
        at sun.awt.X11.XToolkit.waitForEvents(Native Method)
        at sun.awt.X11.XToolkit.run(XToolkit.java:568)
        at sun.awt.X11.XToolkit.run(XToolkit.java:543)
        at java.lang.Thread.run(Thread.java:679)

   Locked ownable synchronizers:
        - None

"Java2D Disposer" daemon prio=10 tid=0xac670c00 nid=0x310d in Object.wait() [0xac390000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xe0cceeb0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:133)
        - locked <0xe0cceeb0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:149)
        at sun.java2d.Disposer.run(Disposer.java:143)
        at java.lang.Thread.run(Thread.java:679)

   Locked ownable synchronizers:
        - None

"Low Memory Detector" daemon prio=10 tid=0xf66a3800 nid=0x310b runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"C2 CompilerThread1" daemon prio=10 tid=0xf66a2000 nid=0x310a waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"C2 CompilerThread0" daemon prio=10 tid=0xf66a0000 nid=0x3109 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"Signal Dispatcher" daemon prio=10 tid=0xf669e800 nid=0x3108 runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

"Finalizer" daemon prio=10 tid=0xf668ec00 nid=0x3107 in Object.wait() [0xad17d000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xb5d14870> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:133)
        - locked <0xb5d14870> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:149)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)

   Locked ownable synchronizers:
        - None

"Reference Handler" daemon prio=10 tid=0xf668d400 nid=0x3106 in Object.wait() [0xacdba000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xb5d14828> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:502)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
        - locked <0xb5d14828> (a java.lang.ref.Reference$Lock)

   Locked ownable synchronizers:
        - None

"VM Thread" prio=10 tid=0xf6689800 nid=0x3105 runnable 

"GC task thread#0 (ParallelGC)" prio=10 tid=0xf660c000 nid=0x3103 runnable 

"GC task thread#1 (ParallelGC)" prio=10 tid=0xf660d400 nid=0x3104 runnable 

"VM Periodic Task Thread" prio=10 tid=0xf66a5800 nid=0x310c waiting on condition 

JNI global references: 1600
##########################################################################
Comment 7 Manuel Hiebel 2012-05-12 19:00:26 CEST
>Full thread dump OpenJDK 64-Bit Server VM (22.0-b10 mixed mode):

>"Attach Listener" daemon prio=10 tid=0x00007fb830001000 nid=0x3025 waiting on
>condition [0x0000000000000000]
>[...........]
>JNI global references: 1600
>##########################################################################

Please for the next time attach a text file instead of copy paste so long log, it make the bug really difficult to read.
Thanks
Comment 8 jean michel masereel 2012-05-12 19:20:31 CEST
sorry, I searched a way to put the text between balises (like on forums) but I didn't think of attachments!
Comment 9 Marja Van Waes 2012-05-26 13:07:54 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 10 jean michel masereel 2012-05-26 14:25:00 CEST
Hi,
As I said at the begining of my previous post, the problem is solved (at least not due to projectx) and was due to java and the version on openjdk (1.6 ok and 1.7 not ok)
Sander Lepik 2012-05-26 14:41:14 CEST

Keywords: NEEDINFO => (none)
Status: NEW => RESOLVED
CC: (none) => sander.lepik
Resolution: (none) => FIXED

Comment 11 Julien Gouesse 2012-05-26 14:45:51 CEST
Sorry but it should work with OpenJDK 1.7 too. Please fill a bug report against Mageia 2 if this bug is still reproducible with OpenJDK 1.7.

Note You need to log in before you can comment on or make changes to this bug.