Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 2 of 2 < 1 2
Topic Options
#122218 - 27/10/2002 20:33 Re: jemplode: sync goes into la-la land? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
jswat 2.9 (as opposed to 1.6) seems to be a bit better.

Thread AWT-EventQueue-0 seems to be in PlayerDatabase.getConfigFile(), status monitor

Thread jEmplode: Synchronize is in Component.enable(), status monitor

Threads DestroyJavaVM, AWT-Motif and Signal Dispatcher are in status Running, and everything else is in status Wait.

I'm still trying to figure out why JSwat 2.9 isn't showing source when 1.6 did, so maybe I can figure out what's going on.

Top
#122219 - 27/10/2002 20:38 Re: jemplode: sync goes into la-la land? [Re: Daria]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I use Eclipse which has a really nice debugger in it (www.eclipse.org) ...

Top
#122220 - 27/10/2002 23:23 Re: jemplode: sync goes into la-la land? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I tried Eclipse, and it seems to be pointing exactly the same places.

Synchronize is in javax.swing.JButton(java.awt.Component).enable() leading back up through awt and swing to org.jempeg.empeg.emplode.dialog.ProgressDialog.setStopEnabled() (line 161)

It would be neat if I could figure out how to export the stack backtraces.

I guess I'll start reading source.

Top
#122221 - 27/10/2002 23:25 Re: jemplode: sync goes into la-la land? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I suppose I can do it by cheating


Attachments
121992-grab1.jpg (299 downloads)


Top
#122222 - 27/10/2002 23:26 Re: jemplode: sync goes into la-la land? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
and by cheating some more, since it's so long.


Attachments
121993-grab2.jpg (295 downloads)


Top
#122223 - 28/10/2002 00:25 Re: jemplode: sync goes into la-la land? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
The thing I don't understand is how the line number for the getConfigFile() call can be right; How can it hang comparing a variable to NULL?

Top
#122224 - 28/10/2002 05:24 Re: jemplode: sync goes into la-la land? [Re: Daria]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Those jpg's aren't working By the way -- about the debugLevel 32 -- I was wrong, 31 was supposed to be showing everything but I commented out the lowest level debugging code to increase performance... Try doing this: after it hangs, go to the console and hit either Ctrl-Shift-Break or Ctrl-\ and see if it prints all the stack traces to the console. If you can, save those and send them to me.... It's frustrating because on my RedHat 7.2 everything is working fine (running over X11 since I don't have X installed on it).

Top
#122225 - 28/10/2002 09:44 Re: jemplode: sync goes into la-la land? [Re: mschrag]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Well, I put the jpgs in my web directory, so:
http://www.dementia.org/~shadow/grab1.jpg
and
http://www.dementia.org/~shadow/grab2.jpg

I'll try that now, though.

Top
#122226 - 28/10/2002 09:55 Re: jemplode: sync goes into la-la land? [Re: mschrag]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
No dice. Break is fn-pause on this by that shouldn't matter.

Eclipse has a "copy stack" function if you right-click a thread, but I haven't yet figured out how to do something with that copy.

Top
#122227 - 28/10/2002 10:12 Re: jemplode: sync goes into la-la land? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Actually, I created a simple text file resource and could paste into that. Annoying that eclipse won't play nice with the X11 clipboard.


Attachments
122053-txt (278 downloads)


Top
#122228 - 28/10/2002 10:16 Re: jemplode: sync goes into la-la land? [Re: Daria]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Cool .. I actually could see this from your jpgs too ... Apparently there's a deadlock trying to retrieve the value of your wendy flags at the same time as synchronizing (both methods are blocking on the same object). Is it possible you have Wendy flags as a column in the right-hand pane (the playlist table view)? Try removing that column and see if it still locks ... I'll try to fix the locking tonight so you can have that column on.

Thanks a lot for getting those stack traces ...

Mike

Top
#122229 - 28/10/2002 10:18 Re: jemplode: sync goes into la-la land? [Re: Daria]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I might add that you also now have Eclipse installed, and it's pretty much hands-down the best Java IDE around. So there's a bright side to everything

Top
#122230 - 28/10/2002 10:19 Re: jemplode: sync goes into la-la land? [Re: mschrag]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
The sync in the text log was a change of a comment and not a wendy flag, but seems to cause the same thing.

Yes, I have the wendy flags in a column, I'll try disabling that.

Thanks a lot for getting those stack traces ...
Thanks for writing it, and looking at it, and...

Eclipse looks pretty cool, I just haven't figured out how to build the jar file successfully yet.

Top
#122231 - 28/10/2002 10:22 Re: jemplode: sync goes into la-la land? [Re: mschrag]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I installed eclipse in /usr/tmp, which doesn't get auto-cleaned, but I should probably do something more permanent.


Top
#122232 - 28/10/2002 10:37 Re: jemplode: sync goes into la-la land? [Re: mschrag]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Indeed, removing the Wendy column brings joy. Thanks!

I guess now I'll slap together a new gpsapp for Tony with the cold start fix, since I put it off all weekend.


Top
#122233 - 28/10/2002 10:39 Re: jemplode: sync goes into la-la land? [Re: Daria]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
I guess now I'll slap together a new gpsapp for Tony with the cold start fix, since I put it off all weekend.

_________________________
Tony Fabris

Top
#122234 - 28/10/2002 10:39 Re: jemplode: sync goes into la-la land? [Re: Daria]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
So I think fact that you're changing a field isn't actually the problem, but rather the AWT painting thread just happens to be blocking trying to get the wendy flag value to draw it on the screen in the table ... Very weird.

Top
#122235 - 28/10/2002 10:50 Re: jemplode: sync goes into la-la land? [Re: mschrag]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Yeah, that's... neat.

But still, turning off the wendy column makes it all good, so I could finally flush my changes. Still can't bulk unset "marked" but jaharkes alleged jemplode 41 could, and I'm could to try that later.

Top
#122236 - 28/10/2002 11:02 Re: jemplode: sync goes into la-la land? [Re: Daria]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I didn't look at bulk setting marked for 43 .. i'll see if I can get that in 44 ...

Top
#122237 - 28/10/2002 12:12 Re: jemplode: sync goes into la-la land? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Still can't bulk unset "marked" but jaharkes alleged jemplode 41 could

Didn't work for me, nor did jemplode 34. I guess I'll wait for 44, or create a playlist of marked tracks and unmark them by hand.

At least I can sync my Wendy flags now, though.

Top
Page 2 of 2 < 1 2