Re: SIGSEGV informations

From: tosoAplos (tosoAplos_at_earth.space)
Date: 08/17/05


Date: Wed, 17 Aug 2005 10:07:12 +0000 (UTC)

Please don't top-post. You can use OE-QuoteFix for a proper arrangement
of quotes ( http://home.in.tum.de/~jain/software/oe-quotefix/ )

On Ôåô, 17 Áýã 2005 at 09:06 GMT, Serge Wenger wrote:
> "tosoAplos" <tosoAplos@earth.space> a écrit dans le message de news:
> ddi0am$2283$1@ulysses.noc.ntua.gr...
>> In article <ddhpsi$l2b$1@atlas.ip-plus.net>, Serge Wenger wrote:
>>>
>>> I run on Linux.I have a big multithread application with many dynamic
>>> library. Sometimes I receive a SIGSEGV.
>>>
>>> How is it possible to obtain more informations, call stack or
>>> something else to help me to find my bug(s)?
>>
>> man gdb
>>
>> Apostolos
>
> Thank for the suggestion.
>
> It was not what I hope. I search for a method to give the call stack when an
> error occurs on a customer machine, not only on development machine.
>
> Serge

If you have the source, you can use assert(), or other debugging
techniques, in certain places of your code to find out what's wrong.

If you don't have the source code, I know gdb can do remote debugging
but I've never used it remotely.

Apostolos

-- 
Replace earth.space with gmail.com for a valid e-mail


Relevant Pages

  • Re: SIGSEGV informations
    ... If you don't have the source code, I know gdb can do remote debugging ... Apostolos ...
    (comp.os.linux.misc)
  • how to remote debug flat binary?
    ... i was trying remote debugging on my mips based embedded system. ... data and bss sections to the gdb client using add-symbol-file command ... by finding the offsets in generated .map file. ...
    (comp.arch.embedded)
  • Re: Debugging
    ... > I do a listing of available source code from within DDD none of these ... all that shows up is the top level source files containing the ... I manually added it with the directory command in gdb. ...
    (comp.lang.fortran)
  • db displays wrong line (source code) while executing.
    ... db displays wrong line (source code) while executing. ... GNU gdb 6.3 ... Copyright 2004 Free Software Foundation, ... There is absolutely no warranty for GDB. ...
    (comp.os.linux.misc)
  • gdb: warning: .dynamic section for "/usr/lib/libcrack.so.2" is not at the expected address
    ... server running on machine A, I attached the gdbserver to the server process.. ... Remote debugging from host 171.71.171.102 ... Then on another machine B, I started gdb, and set solib-search-path, when I ...
    (RedHat)