vogl icon indicating copy to clipboard operation
vogl copied to clipboard

Crash clicking on "Collect Per-Frame Screenshots"

Open lawlove opened this issue 11 years ago • 2 comments

Crash clicking on "Collect Per-Frame Screenshots" with latest master

0 ?? 1 vogl_gl_replayer::process_pending_make_current 1993 2 vogl_gl_replayer::process_pending_gl_entrypoint_packets 3735 3 vogl_gl_replayer::process_pending_packets 431 4 vogleditor_traceReplayer::recursive_replay_apicallTreeItem 191 5 vogleditor_traceReplayer::recursive_replay_apicallTreeItem 242 6 vogleditor_traceReplayer::recursive_replay_apicallTreeItem 242 7 vogleditor_traceReplayer::replay 331 8 VoglEditor::collect_screenshots 578 9 ... 12 QAbstractButton::clicked 297

Using attached .bin trace file (renamed to .png in order to drag and drop here; download and rm the ".png" extension) debug_khr bin

This is a trace file I've been using for testing and happened to click on the "Collect" button

lawlove avatar Oct 02 '14 01:10 lawlove

Thanks for the bug report! This "process_pending_make_current" stuff has been a necessary annoyance due to peculiarities in OpenGL. Hopefully the fix will be straightforward!

PeterLValve avatar Jan 06 '15 20:01 PeterLValve

Probably a low priority then. I've used it as a test case for nested khr calls and it's only a single frame.

screenshot from 2015-01-06 14 35 53

I see now that it also crashes with the same traceback when clicking on "Play Trace".

The original attached (.png) trace file is obsolete. I tried using it but it's an older trace file version:

Error: vogl_trace_file_reader.cpp(207): open():Trace file failed validation! Error: vogl_trace_file_reader.cpp(210): open():Trace file version is not supported, found version 0x0106, expected at least version 0x0107! Error: vogl_trace_file_reader.cpp(1142): vogl_open_trace_file():Failed opening trace file "test.bin"

Here's a newer version (download and change extension from .png to .bin) debug_khr bin

Error messages output to xterm: Warning: Can't take snapshot without an active context OGL Warning: While processing GL entrypoint packet func glXCreateNewContext, frame 0, swaps 0, GL call counter 4, packet start trace context 0x0, cur trace context 0x0, trace thread 0x362F: OGL Warning: glxCreateNewContext() called but we're trying to force debug contexts, which requires us to call glXCreateContextAttribsARB(). This may fail if the user has called glXCreateWindow().

lawlove avatar Jan 06 '15 22:01 lawlove