Re: DBX on AIX 5.3 with Threads
- From: Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxx>
- Date: Fri, 07 Mar 2008 21:59:00 -0800
Larry Smith <lsmith@xxxxxxxxxx> writes:
We have a large app that's built on
Linux, Solaris, & AIX. The app uses
many threads (pthreads API).
Have you checked the application with Valgrind (Linux), or Purify
(Solaris and AIX)? No point in spending time guessing/debugging,
unless you know that the application is "squeaky clean".
There is a bug in the app that shows itself
only on AIX. All (seems to) work OK on
Linux & Solaris. On AIX some threads trap
at random (i.e. there is no recognizable
pattern to the traps).
The app has a signal handler that catches
all signals and restarts the offending
thread;
You can't restart a thread. If one thread of the application gets
a fatal signal, there is absolutely no reasonable way to recover
from that. I assume you mean you restart the whole process.
We disabled the program's signal handler
and ran it under DBX (dbx -r). The program
hangs without doing any work.
If dbx interfers so much with your application, you should be able
to let it core-dump, and debug it post-mortem. What are some of
the crash stack traces?
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.
- Follow-Ups:
- Re: DBX on AIX 5.3 with Threads
- From: Larry Smith
- Re: DBX on AIX 5.3 with Threads
- References:
- DBX on AIX 5.3 with Threads
- From: Larry Smith
- DBX on AIX 5.3 with Threads
- Prev by Date: Re: Good console concentrator solutions
- Next by Date: Adjusting CDE menu
- Previous by thread: Re: DBX on AIX 5.3 with Threads
- Next by thread: Re: DBX on AIX 5.3 with Threads
- Index(es):
Relevant Pages
|
|