Michael Torrie wrote:
On Wed, 2005-09-14 at 11:30 -0600, Ashley Oviatt wrote:

I'm wondering if there's an alternative to strace. I have a program that segfaults with no info from strace:

# strace /usr/local/lib/libsablot.so
execve("/usr/local/lib/libsablot.so", ["/usr/local/lib/libsablot.so"], [/* 32 vars */]) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

It's like it's dying before it even gets going. Maybe a library is screwed up?


I didn't know you could run a library file like that.  Try doing strace
-f to capture any child process or thread activity.



from what I understand, you should call a library from an external app
most libraries, when called directly, will segfault right away. If your
goal is to troubleshoot that specific lib, use ltrace (which is like strace but for libraries)

Any help appreciated.

Ashley



--
-----
Derek Carter <[EMAIL PROTECTED]>
Instructor
GuruLabs <http://www.GuruLabs.com/> Your source for linux instruction.

--------------------
BYU Unix Users Group http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to