Giter Site home page Giter Site logo

Comments (5)

zackr avatar zackr commented on May 14, 2024

Any chance to see the trace file? If not then if you could just post the value of call->sig->name (e.g. p call->sig->name.c_str()) in Trace::Parser::parse_call_details at trace_parser.cpp:187 then that should allow us to fix it quickly.

from apitrace.

chehrlic avatar chehrlic commented on May 14, 2024

I would rather not post the file in the bugtracker - private mail should be ok if you need it. I wrote you a message through github with my address if you need it.

#4 0x00000000004726ba in Trace::Parser::parse_call_details (this=0x7fffe41b4c80, call=0x7fffdd2cfb30)
at /home/chehrlic/tds/apitrace/trace_parser.cpp:187
187 parse_arg(call);
(gdb) p call->sig->name.c_str()
$1 = 0x7fffdd218058 "glLoadMatrixd"

And two frames below:
#1 0x0000000000472f72 in Trace::Parser::parse_array (this=0x7fffe41b4c80) at /home/chehrlic/tds/apitrace/trace_parser.cpp:323
323 array->values[i] = parse_value();
(gdb) p len
$6 = 16
(gdb) p i
$7 = 6

from apitrace.

chehrlic avatar chehrlic commented on May 14, 2024

Pushed the wrong button :)

from apitrace.

chehrlic avatar chehrlic commented on May 14, 2024

Ok, I think I've found the problem. To exit the application I simply killed it by pressing STRG+C. This leads to a corrupted gzip-file.
Imho the assert() should not be there when the file pointer is at EOF - this should fix the issue

from apitrace.

jrfonseca avatar jrfonseca commented on May 14, 2024

It should be fixed now. Thanks for investigating this.

from apitrace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.