[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    Re:  CXX-DEV: fopen: error on '_findiop'
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2004-08-19 7:03:18
Message-ID: 200408190703.AAA28462 () hpcll183 ! cup ! hp ! com
[Download RAW message or body]

>From: Sameer Rele <sameer_rele@yahoo.com>
>I am using pthreads.
>A call to fopen within a thread is failing with following stack trace.
>Can anyone provide me with clues?
Sameer

Without the register and disassembly of the abort we can only guess.
(info reg and disass)
Also what was the signal?

Either fopen's FILE arrays got messed up.
Or you have a thread stack overflow.  By default it is 64Kb.
Do your functions have large frames?

#0  0xc0000000002ec9e0 in _findiop+0xe8 /lib/pa20_64/libc.2
#1  0xc0000000002f7870 in fopen+0x90 /lib/pa20_64/libc.2
#2  0x400000000018b13c in MsgPool::getNewLogId
#6  0xc0000000000e5ec4 in __pthread_start+0x14  /lib/pa20_64/libpthread.1

You can estimate the stack size by printing $sp and subtracting:
   p /x $save=$sp
   frame 6
   p /x $save-$sp
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic