From: john reguera <reguera@zko.dec.com>
Subject: Re: Help with core file and stack size needed
Date: Thu, 28 Nov 2002 13:16:38 GMT [thread overview]
Message-ID: <3DE61611.7030102@zko.dec.com> (raw)
In-Reply-To: 993d885.0211251434.7c9639f@posting.google.com
Hi Jack,
Fortran can use LIBOTS, which uses DecThreads.
Using Ladebug, extract the following information from the application/core.
pthread "system" ! system info
pthread "versions" ! DECthreads version
pthread "vp" ! Brief listing of VPs
pthread "thread -1a" ! Brief listing of threads
pthread "mutex -faql" ! Full listing of all locked mutexes
pthread "cond -faqw" ! Full listing of all CV's with waiters
pthread "rwlocks -faqr ! Full listing of all read-locks
pthread "rwlocks -faqw ! Full listing of all write-locks
pthread "show -tuvk" ! Timeslice, Upcall, VP (on old versions), and
kernel information
pthread "vp -f" ! Full info on all VPs
pthread "thread -fa" ! Full info on all threads
pthread "stacks -fs" ! Display each threads' stacks beginning and
end points.
pthread "mutex -faq" ! Full info on all mutexes
pthread "cond -faq" ! Full info on all CV's
pthread "rwlocks -faq ! Full listing of all write-locks
pthread "vm -cf" ! DECthreads internal memory manager
pthread "keys" ! List of per-thread context keys
pthread "mutex -h" ! History for mutexes, if available (typically
not)
pthread "cond -h" ! History for condition variables, if available
(typically not)
This will be a good starting point to determine the root cause of
failure. I would be happy to assist if you prefer. Simply forward the
information to me at:
reguera@zko.dec.com
thanks
John Reguera
Hewlett Packard
POSIX Threads Engineering.
Jack Frillman wrote:
> I have a Fortran program (running on Tru64 V 4.0F) that dumps core
> after
> about 45min. to 1 Hr. of run time. I can lenghten the time it takes
> to
> dump core by increasing the stack size with the ulimit command.
> Looking
> at the core file with ladebug it appears that the problem is in the
> libpthread.so
> library. At least that is where it manifests itself. The Fortran
> program is
> not directly using threads so I can only assume that the underlying
> librarys are the source of the threading or use of one master thread.
>
> The fortran program is not using recursion and not forking processes.
>
> I am stumped.
>
> I have included the function call stack at the bottom, and this is
> the only information I can glean form the core file.
>
> Has anyone seen a simular problem?
>
>
> Why would increasing the stack size effect this?
> How does the implementation of threads use the stack?
> Any ideas on how I can narrow this down any more?
> Any ideas on how to fix this or if it is even possible to fix?
>
>
>
>
> [popt1](465):ladebug fdax core
> Welcome to the Ladebug Debugger Version 4.0-49
> ------------------
> object file name: fdax
> core file name: core
> Reading symbolic information ...done
> Core file produced from executable fdax
> Thread 0x1 terminated at PC 0x3ff805bc5d8 by signal SEGV
> (ladebug) where
>
>>0 0x3ff805bc5d8 in UnknownProcedure13FromFile111(0x3ffc01b71e0,
>>0x3ffc01b3690, 0x3ffc
>
> 01b3690, 0x11fe000f8, 0x0, 0x3ff8057d830) in /usr/shlib/libpthread.so
> #1 0x3ff805bc5d4 in UnknownProcedure13FromFile111(0x3ffc01b71e0,
> 0x3ffc01b3690, 0x3ffc
> 01b3690, 0x11fe000f8, 0x0, 0x3ff8057d830) in /usr/shlib/libpthread.so
> #2 0x3ff805bc5d4 in UnknownProcedure13FromFile111(0x3ffc01b71e0,
> 0x3ffc01b3690, 0x3ffc
> 01b3690, 0x11fe000f8, 0x0, 0x3ff8057d830) in /usr/shlib/libpthread.so
> (ladebug) list
> No file.
> (ladebug)
prev parent reply other threads:[~2002-11-28 13:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-25 22:34 Help with core file and stack size needed Jack Frillman
2002-11-26 1:08 ` News Account
2002-11-28 13:16 ` john reguera [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox