Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash clicking on "Collect Per-Frame Screenshots" #174

Open
lawlove opened this issue Oct 2, 2014 · 2 comments
Open

Crash clicking on "Collect Per-Frame Screenshots" #174

lawlove opened this issue Oct 2, 2014 · 2 comments

Comments

@lawlove
Copy link
Contributor

lawlove commented Oct 2, 2014

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

@PeterLValve
Copy link
Contributor

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!

@lawlove
Copy link
Contributor Author

lawlove commented Jan 6, 2015

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().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants