Re: ORBit bug (or panel bug?)
- From: Edd Dumbill <edmundd heddley com>
- To: gnome-list gnome org
- Cc: tack dok org, sopwith redhat com
- Subject: Re: ORBit bug (or panel bug?)
- Date: Mon, 21 Dec 1998 09:04:13 +0000
Elliot Lee wrote:
> On Sun, 20 Dec 1998, Jason Tackaberry wrote:
>
> > Looks like mkdir _is_ returning EEXIST, but that "ptrace: umoven: Input/output
> > error" looks odd? Corrupt file system?
>
> That's just strace not working perfectly - ignore it.
>
> > mkdir(ptrace: umoven: Input/output error
> > 0x80adfd8, 0700) = -1 EEXIST (File exists)
>
> Perhaps your libc is screwed up or something. Any ideas what the problem
> is?
I've been having this problem too. It coincided with when I
needed to add "-lpthread" to get ORBit to build.
I've traced through the code, and errno is always zero
after the mkdir(). This implies that the code isn't getting
the right errno. I know that when threads are being used
this define in errno.h becomes important:
#if defined(_POSIX_THREAD_SAFE_FUNCTIONS) || defined(_REENTRANT)
extern int* __errno_location __P((void));
#define errno (*__errno_location ())
#else
extern int errno;
#endif
so it looks like the build isn't setting the _REENTRANT flag, and
so we're getting the wrong errno.
Where should this flag be set?
(I'm going to try a clean build of glib to see if this helps)
--
Edd Dumbill -- edd@heddley.com -- http://www.heddley.com/edd/
PGP key available at -- http://www.heddley.com/edd/pubkey.asc
5B D5 8E 66 D4 43 D7 C0 CF 55 BD 4A B2 0F 89 18 BA F5 0C 04
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]