tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: nagu () amteva ! com
To: tru64-unix-managers
Subject: Help with readdir_r()
Date: Mon, 10 Jun 1996 20:38:20 +0000	[thread overview]
Message-ID: <96076333621275.tru64-unix-managers.marc@archive.invalid> (raw)

hi,

   I am porting software to OSF1/alpha. One of my programs gives this error
   and dumps core on a readdir_r() call.

   Unaligned access pid=8104 <MSG_SYNC> va=5555555555555555 pc=3ff804b77b0 ra=3ff804b77a4 type=ldq

   
   The trace is:
     0 __rec_mutex_lock(0x5555555555555555, 0x73616d7000000004, 0x2, 0x140005608,0x6972747400000000) [0x3ff804b77b0]
    1 __readdir_r(0xc734031b5ff0d, 0x30040813930, 0x1000002000, 0x801700000000, 0x300008176e8) [0x3ff804df4e0]

...
...


  I tested my readdir_r() separately and that seemed to be ok. The man
  page prototype for readdir_r is different from that in the header 
  file(dirent.h)

  Are there any known problems with readdir_r()? The prototype and return values
  are different from that of Unixware.


Thanks in advance,

nagu

------------------------------------------------------------------------------
Nagendran Parasu                            email: nagu@amteva.com
Amteva Technologies Inc.,                   Phone: 804-762-5514
5040, Sadler Road,                          Fax:   804-762-5542
Glen Allen, VA 23060                  
------------------------------------------------------------------------------

                 reply	other threads:[~1996-06-10 20:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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