Debugging Symbols In Production Code

Discussion in 'NZ Computing' started by Lawrence D'Oliveiro, Jun 8, 2010.

  1. I like it how even binary-based distros make debugger symbols available for
    their binaries (I think these are in separate files that can be loaded by
    the debugger, not in the main executables/libraries). It makes it so much
    easier to isolate problems if/when they occur.

    Look at this bug report
    <https://bugzilla.redhat.com/show_bug.cgi?id=595830>, for example. I was
    able to quickly narrow it down to a particular line of code, and figure out
    that it could only happen if an array field had never had any items put into
    it. A trivial way to reproduce this was to feed in a zero-length input movie
    file.

    Based on that, I can modify the code to add a check, output an error message
    and abort at that point, instead of crashing.

    As to why the user’s actual movie file was triggering the problem, we don’t
    know yet. We’ll see if they’re willing to provide a sample we can use to
    investigate the situation further.
     
    Lawrence D'Oliveiro, Jun 8, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Kiessling

    Catalyst debugging

    Michael Kiessling, Jul 17, 2003, in forum: Cisco
    Replies:
    2
    Views:
    4,196
    jmcdonou
    Jul 9, 2007
  2. Richard Antony Burton
    Replies:
    3
    Views:
    6,731
    Richard Antony Burton
    Dec 18, 2003
  3. Forrest
    Replies:
    0
    Views:
    393
    Forrest
    Mar 5, 2004
  4. Replies:
    0
    Views:
    957
  5. KR
    Replies:
    5
    Views:
    937
Loading...

Share This Page