Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > NZ Computing > Debugging Symbols In Production Code

Reply
Thread Tools

Debugging Symbols In Production Code

 
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      06-08-2010
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Windows debugging symbols for python 2.5.4 and pywin32 214 Alexandre Fayolle Python 0 04-23-2010 11:59 AM
Windows debugging symbols for python 2.5.4 and pywin32 214 Alexandre Fayolle Python 0 04-21-2010 09:23 PM
Debugging problem "No symbols have been loaded" Steve Kershaw ASP .Net 8 05-03-2007 12:40 AM
GDB - no debugging symbols found (GDB Vs GCC?) seba C++ 1 03-22-2007 02:02 PM
GDB .... no debugging symbols found Hug C++ 6 03-17-2005 03:38 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57