Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-19 03:16:41



Reply to topic  [ 3 posts ] 
Cool VL Viewer v1.30.2.15 crashed on taking snapshot. 
Author Message

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
Cool VL Viewer v1.30.2.15 crashed on taking a snapshot to my local hard disk this morning, and I have attached the viewer log and crash dump below. I have had this intermittent problem for years, going back over many releases of the viewer, and in the past ignored it and logged back in, but with my new policy of reporting all crashes, here we are.

This was the first snapshot of my viewer session (that is always when it seems to happen), so when I pressed Ctrl-` I got the usual dialogue prompting me to enter a file-name, so I typed 20230605 (my normal naming convention is to prefix my snapshot files with the date) and pressed Return. The viewer "beachballed" and then crashed. Testing suggests that the viewer does not crash if instead of just pressing Return after entering the date, I mouse-click on the OK button.


Attachments:
Cool VL Viewer_2023-06-05.zip [38.49 KiB]
Downloaded 58 times
2023-06-05 00:05:58
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Thank you very much for the crash report !

There is indeed something fishy happening between snapshot taking and the file selector, due to the fact the latter gets redrawn during the snapshot it triggers when you choose a file: even under Linux, when using the RETURN key instead of the OK button (or a double-click on a file), I get a black snapshot image... But under macOS, due to how the draw loop is handled under this OS, it causes an infinite loop instead (and a crash after the return stack has filled up to the brim) !

I changed the way the RETURN key callback is dealt with, and how the file selector gets closed to avoid any other such issues in the future (the file selector is now hidden on any selection method type, and is actually closed at the next idle loop only, which cannot happen during UI redrawing).

Here is a patch you could test on your side to let me know if it also fixes things for you (and macOS):
Attachment:
snapshot_to_disk_fix-patch.txt [2.67 KiB]
Downloaded 57 times


2023-06-05 08:50:57
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Fixed in today's release.


2023-06-10 09:25:30
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.