This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 10 - Pages: 1 - Last Post: 13 Dec 21, 12:14 Last Post By: RobM Threads: [ Previous | Next ]
RobM

Posts: 3,966
Registered: 4-Aug-2006
Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 13:43
 
  Click to reply to this thread Reply
Mac OS 11.6, jAlbum 21 through to current version, ffmpeg versions (current jAlbum version) N-99463-g3a035a8cd2-tessus and ffmpeg version (latest ffmpeg version) N-104775-g228b25ad9b-tessus.

Moving any of the scrubber controls, or clicking on a new location on the bars, causes jAlbum to hang. There is no report in the config folder and no printout to the system console. I can sometimes move the thumbnail selector without a hang, but it is rare. The start/stop points always cause a hang.

It would appear to be the OS, Java or my machine. Can other Mac users confirm if they get the same result or not?
JeffTucker

Posts: 8,431
Registered: 31-Jan-2006
Re: Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 14:17   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
Can other Mac users confirm if they get the same result or not?

No problem on macOS 11.6.1, jAlbum 25.1.1, ffmpeg N-99463-g3a035a8cd2-tessus.

I'm very proud of myself for having figured out how to check the ffmpeg version on a Mac, at this hour of the morning, without even finishing the first cup of coffee. I should quit while I'm ahead, and go back to bed.
RobM

Posts: 3,966
Registered: 4-Aug-2006
Re: Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 15:07   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
RobM wrote:
Can other Mac users confirm if they get the same result or not?

No problem on macOS 11.6.1, jAlbum 25.1.1, ffmpeg N-99463-g3a035a8cd2-tessus.

Good new for jAlbum, bad news for me. Thanks.
I'm very proud of myself for having figured out how to check the ffmpeg version on a Mac, at this hour of the morning, without even finishing the first cup of coffee. I should quit while I'm ahead, and go back to bed.
I just drag ffmpeg to a terminal window and hit enter :)
JeffTucker

Posts: 8,431
Registered: 31-Jan-2006
Re: Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 15:09   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
I just drag ffmpeg to a terminal window and hit enter :)

That's what I did. But to a Windows person, a "terminal window" is where you buy train tickets.

ETA: macOS is still peppered with these kinds of weird anachronisms. "Terminal window" goes back to the days of using a terminal connected to a mainframe somewhere. I also enjoy "ejecting" a DMG, as if there were a floppy disk involved.
RobM

Posts: 3,966
Registered: 4-Aug-2006
Re: Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 15:39   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
ETA: macOS is still peppered with these kinds of weird anachronisms. "Terminal window" goes back to the days of using a terminal connected to a mainframe somewhere. I also enjoy "ejecting" a DMG, as if there were a floppy disk involved.
A DMG is. Disc Mounting Image, so having opened the ‘disc’ ejecting it is appropriate.
JeffTucker

Posts: 8,431
Registered: 31-Jan-2006
Re: Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 15:47   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
So where's the "disc?" ;)

RobM

Posts: 3,966
Registered: 4-Aug-2006
Re: Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 16:22   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
I have a new bit to this puzzle. Created a brand new config folder and opened a video (double clicked it) then set it to play. at a point during playback clicked the camera icon to make a thumbnail. Fine it created the thumbnail, did not hang but gives this info in the system console
Dec 07, 2021 3:16:25 PM net.javainthebox.caraibe.svg.SVGContentBuilder eventLoop
INFO: Non Support Element: <title>
Dec 07, 2021 3:16:25 PM net.javainthebox.caraibe.svg.SVGContentBuilder eventLoop
INFO: Non Support Element: <title>


Edited by: RobM on 7 Dec 2021, 15:54
Just set logging to All, entered edit mode for the video and then opened system console and cleared its contents. Clicked and drag the start video point and it hangs, with nothing printed to the console. Weird.
RobM

Posts: 3,966
Registered: 4-Aug-2006
Re: Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 21:42   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Attachment thread-dump-1.txt (26.1 KB)
Attachment thread-dump.txt (29.0 KB)
I have run a thread dump script
new Thread(() -> {
	window.statusBar.setText("Prepare to change video start point...");
	Thread.sleep(5000);
	window.statusBar.setText("Do it now!");
	Thread.sleep(5000);
	window.statusBar.setText("Dumping threads");
	JAlbum.dumpThreads();
	Thread.sleep(5000);
	JAlbum.dumpThreads();	
}).start();
Results attached.

The really strange thing is with the script running jAlbum doesn't hang. I'm at a complete loss as to what to try next, a new Mac sounds good!
JeffTucker

Posts: 8,431
Registered: 31-Jan-2006
Re: Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 21:55   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
I have a new bit to this puzzle. Created a brand new config folder and opened a video (double clicked it) then set it to play. at a point during playback clicked the camera icon to make a thumbnail. Fine it created the thumbnail, did not hang but gives this info in the system console
Dec 07, 2021 3:16:25 PM net.javainthebox.caraibe.svg.SVGContentBuilder eventLoop
INFO: Non Support Element: <title>
Dec 07, 2021 3:16:25 PM net.javainthebox.caraibe.svg.SVGContentBuilder eventLoop
INFO: Non Support Element: <title>

I get the same error on my Macbook, and with no hanging afterwards - the sliders still behave themselves.

In Windows, I get a different, more serious error when doing that. I need to get back on there and grab that one - I'll post back in a few minutes.

ETA: Got the more serious error only once in Windows, and I can't reproduce it. I do get the same seemingly harmless console error lines, however.
JeffTucker

Posts: 8,431
Registered: 31-Jan-2006
Re: Video scrubber controls hang jAlbum
Posted: 7 Dec 21, 21:57   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
...a new Mac sounds good!

YOLO. Who deserves it more than you?

https://www.apple.com/imac-27/
RobM

Posts: 3,966
Registered: 4-Aug-2006
Re: Video scrubber controls hang jAlbum
Posted: 13 Dec 21, 12:14   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Seems to be a very rare error, one that I can avoid.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums