FreeBSD [Re: 6.4.2 under solaris]

2006-04-28 Thread Volker Stolz
) 67244 ghc-6.4.2 RET kse_release -1 errno 22 Invalid argument (KSEs are 'kernel scheduling entities') Unfortunately, I didn't have any coffee yet, so I killed it instead of trying to get a core dump. After restarting the build, it works w/o problems. Volker -- Volker Stolz * http://www-i2

Re: Threaded runtime error

2006-03-22 Thread Volker Stolz
* Volker Stolz [EMAIL PROTECTED]: [EMAIL PROTECTED] [20:17:08] ./timeout 10 /usr/bin/true FFatal error '_pq_insert_tail: Already in priority queue' at line 200 in file /usr/src/lib/libpthread/thread/thr_priority_queue.c (errno = 0) A workaround seems to use another threading library here

Re: Compiling from CVS on Sparc/Solaris

2004-10-20 Thread Volker Stolz
In gmane.comp.lang.haskell.glasgow.bugs, you wrote: Fair enough... The problem I'm having (which my proposed fix did in fact not solve) is that my readline libraries are in a non-standard location. Currently the final linking of stage1/ghc-6.2.2 (in this case) dies complaining about not

Re: Preprocessors

2004-10-20 Thread Volker Stolz
, though. If I'm reading this correctly, your incorrectly terminated C-string literal confuses cpp, so it won't do any macro expansion in the offending part (past the single quote). -- Volker Stolz * http://www-i2.informatik.rwth-aachen.de/stolz/ * PGP * S/MIME

Re: [ ghc-Bugs-954378 ] getFileStatus does not include the file name in IO-Error

2004-05-15 Thread Volker Stolz
In local.glasgow-haskell-bugs, you wrote: Summary: getFileStatus does not include the file name in IO-Error Hm, it looks like none of the functions in there return a hint as to which argument caused the error. All of them should probably include filenames etc into exceptions. Volker -- Volker

Re: compiler bug? sunos 5.8, ghci-6.0.1 -package unix

2003-09-15 Thread Volker Stolz
In local.glasgow-haskell-bugs, you wrote: and the some for the precompiled version, i getting the following error. Loading package unix ... linking ... /home/xxx/local/lib/HSunix.o: unknown symbol `sendfile' Hrmph. Sorry for the hassle. Please try adding sendfile to the list of

Re: problem compiling OpenGL/.../Extensions.hs with GHC version 6.0

2003-06-03 Thread Volker Stolz
Could the parties involved with the quoting issue please test the following patch? It doesn't use an additional shell for starting sub-tasks and does no additional quoting so that quoting remains unaffected, i.e. testing with OpenGL shows that the double quotes are indeed passed through. Sven, do

HEAD: the `impossible' happened, MacOS X

2003-03-20 Thread Volker Stolz
): ASSERT failed! file stgSyn/CoreToStg.lhs line 188 randomIvalDouble1 {- v s2Im -} -- Volker Stolz * http://www-i2.informatik.rwth-aachen.de/stolz/ * PGP * S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo

Re: HEAD: the `impossible' happened, MacOS X

2003-03-20 Thread Volker Stolz
when using -O! -- Volker Stolz * http://www-i2.informatik.rwth-aachen.de/stolz/ * PGP * S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [ ghc-Bugs-643878 ] sortBy not stable

2002-11-26 Thread Volker Stolz
In local.glasgow-haskell-bugs, you wrote: The library report requires that sortBy be stable. In 5.04.1 it isn't: [Simon, I must have missed that ghc-bugs is subscribers-only] There's an #ifdef'ed version in there which is stable, but the newer mergesort is not: #ifdef USE_REPORT_PRELUDE sort

Re: [ ghc-Bugs-643878 ] sortBy not stable

2002-11-26 Thread Volker Stolz
In local.glasgow-haskell-bugs, you wrote: The library report requires that sortBy be stable. In 5.04.1 it isn't: It looks like the change to mergesort broke this property: #ifdef USE_REPORT_PRELUDE sort = sortBy compare sortBy cmp = foldr (insertBy cmp) [] #else sortBy cmp l = mergesort cmp

Re: docs bug

2002-09-09 Thread Volker Stolz
In local.glasgow-haskell-bugs, you wrote: http://www.mirror.ac.uk/sites/www.haskell.org/ghc/docs/latest/html/base/Data.Bits.html The description of each method of the Bits class seems to be attached to the signature of a different method. The documentation generated by haddock 0.4 looks fine

Re: select() failure

2002-08-29 Thread Volker Stolz
In local.glasgow-haskell-bugs, you wrote: It sure would simplify my program if I could fork a process and not have auxiliary threads persist in the child. Could this option be provided by GHC RTS in a semantically sound way? On a recent GHC you can try 'forkProcess[Prim]':

Re: sigCHLD signal handling (Was: Re: pipes? threadWaitRead?)

2002-07-15 Thread Volker Stolz
In local.glasgow-haskell-bugs, you wrote: Am 10. Jul 2002 um 22:21 CEST schrieb Dean Herington: The first issue I confronted is that the get*ProcessStatus routines return an error rather than nothing if there is no candidate child process. Yes, `waitpid' might return with EINTR which will

Re: panic in ghc5.02.3

2002-04-10 Thread Volker Stolz
line in 'vi'. I won't judge if ghc-5.02.3 is wrong here, though. -- Wonderful \hbox (0.80312pt too nice) in paragraph at lines 16--18 Volker Stolz * [EMAIL PROTECTED] Please use PGP or S/MIME for correspondence! ___ Glasgow-haskell-bugs mailing list [EMAIL

Re: Cannot build 5.02.2 on Solaris 2.7

2002-04-05 Thread Volker Stolz
(0.80312pt too nice) in paragraph at lines 16--18 Volker Stolz * [EMAIL PROTECTED] Please use PGP or S/MIME for correspondence! ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: Bug in IO libraries when sending data through a pipe?

2002-03-18 Thread Volker Stolz
, there is a buffer's worth missing. Moral of this story: don't use lazy I/O. There's a warning in the documentation of executeFile to exactly the same end after all... -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL

Re: Bug in IO libraries when sending data through a pipe?

2002-03-15 Thread Volker Stolz
. Regards, Volker -- Wonderful \hbox (0.80312pt too nice) in paragraph at lines 16--18 Volker Stolz * [EMAIL PROTECTED] Please use PGP or S/MIME for correspondence! ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman

Re: Bug in IO libraries when sending data through a pipe?

2002-03-15 Thread Volker Stolz
, so I'd expect the same missing data as in your original case. -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

AbsCStixGen.gencode panic

2001-11-16 Thread Volker Stolz
:: IO () main = do withModule (Just .) simple ModuleBindOnLoad $ \ mod - do funptr - moduleSymbol mod simple when (isNothing funptr) $ error fo! let res = iterator__ (castPtrToFunPtr (fromJust funptr)) withCString hello $ \ str - res str 1 return () \end{code} -- Volker

[5.02/5.02.1] hGetContents problem

2001-11-13 Thread Volker Stolz
) = 0x2 (flags O_RDWR) write(2, \nFail: , 7) = 7 write(2, failed\nAction: connect\nReason: B..., 51) = 51 write(2, \n, 1) = 1 _exit(1)= ? -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME

Re: Changed behaviour when reading from FIFOs!

2001-10-30 Thread Volker Stolz
), in a Concurrent Haskell programm and I need a way to lock out multiple readers from the same file handle because of the sharing when forking. -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http

Changed behaviour when reading from FIFOs!

2001-10-29 Thread Volker Stolz
++ fifoname openFile fifoname ReadMode else error $ Can´t create FIFO ++ fifoname ) \end{code} -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http

Re: Changed behaviour when reading from FIFOs!

2001-10-29 Thread Volker Stolz
of fifoReadLoop, and everything should be fine. This also fixes the other problem you mentioned above (varying numbers of last). The blocking is essential since I need to be able to use MVars between the threadWaitRead the hGetLine (remember the note I sent about fork()ing). -- Volker Stolz * [EMAIL

[5.02] Bug with existentially-quantified constructors

2001-10-18 Thread Volker Stolz
())] call li foo call st 3 call (C f) arg = do f arg \end{code} -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: Bug with readFile and named pipes

2001-08-22 Thread Volker Stolz
the filetype and does The Right Thing(TM), but I`m not sure I want that, either. -- Neues aus Genua? http://germany.indymedia.org/ Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org

Fixed^2 (Re: Fixed! (Re: [5.01] Runtime error in SocketPrim?!))

2001-06-13 Thread Volker Stolz
(SockAddrInet (PortNum port) addr) -- size of struct sockaddr by family #if !defined(cygwin32_TARGET_OS) !defined(mingw32_TARGET_OS) -- Abstrakte Syntaxträume. Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL

[5.01] Runtime error in SocketPrim?!

2001-06-07 Thread Volker Stolz
Just s - do SocketPrim.inet_addr s SocketPrim.bindSocket sock (SocketPrim.SockAddrInet port i) SocketPrim.listen sock SocketPrim.maxListenQueue return sock -- Abstrakte Syntaxträume. Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME

Re: [5.01] Runtime error in SocketPrim?!

2001-06-07 Thread Volker Stolz
- mkPortNumber p)) print reached (PortNumber myPort) - socketPort socket print NOT REACHED let record = SocketR { socketR = socket, portR = (read (show myPort)) :: Port -- sigh } return record I'm still on it. -- Abstrakte Syntaxträume. Volker Stolz * [EMAIL

finalizers broken (4.08.2 5.00)

2001-05-25 Thread Volker Stolz
. -- Abstrakte Syntaxträume. Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Patch [Re: [Fwd: Bug#94739: ./.ghci -- isn't it dangerous?]]

2001-04-30 Thread Volker Stolz
I attached a fix which will NOT source a suspicious file and print out a warning. Could anyone with Wintendo please confirm that the Posix-stuff doesn't break anything for them? -- Abstrakte Syntaxträume. Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME --- ghci/InteractiveUI.orig Mon Apr

Re: [Fwd: Bug#94739: ./.ghci -- isn't it dangerous?]

2001-04-30 Thread Volker Stolz
check ownership of the directory. And the ownership of .., and ../.. and ... Hm. Maybe the best way would be to steal some C-code from things like ssh and paste it. Michael keeps on mumbling something about a libflock, whatever. -- Abstrakte Syntaxträume. Volker Stolz * [EMAIL PROTECTED] * PGP + S

[ghc5] (internal?) Bug in Socket.listen

2001-04-30 Thread Volker Stolz
thoughts about what's happening here? -- Abstrakte Syntaxträume. Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: RTLD_GLOBAL not available on FreeBSD 3.x

2001-04-24 Thread Volker Stolz
. Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [ghc5] getDirectoryContents: trouble on Linux/NFS

2001-04-19 Thread Volker Stolz
ntly show the faulty behaviour. -- \usepackage[latin1]{inputenc}! Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

[ghc5] getDirectoryContents: trouble on Linux/NFS

2001-04-17 Thread Volker Stolz
l free to ask for more details regarding machine setup/compilation. -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [cvs] ghc/compiler/rename/ParseIFace won´t build

2001-01-29 Thread Volker Stolz
In local.glasgow-haskell-bugs, you wrote: /home/stolz/Linux/haskell/ghc-4.08.1/bin/happy +RTS -K2m -H16m -RTS -g rename/ParseIface.y Michael kindly pointed out that I should be using happy 1.9 anyway and not 1.10 from cvs. That solved the problem. -- \usepackage[latin1]{inputenc}! Volker

[cvs] ghc/compiler/rename/ParseIFace won´t build

2001-01-28 Thread Volker Stolz
rename/ParseIface.o -osuf o rename/ParseIface.hs:8079: Data constructor not in scope: `HappyAbsSyn38' Happy is 1.10, everything from cvs (just "checkout", though, no special TAGS given). -- \usepackage[latin1]{inputenc}! Volker Stolz * [EMAIL PROTECTED] * PG

fptools/configure thinks happy 1.10 1.9

2001-01-26 Thread Volker Stolz
quot; "4.08"; echo $? 0 Got to take my pills now, Volker -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: Change sigTTOU/TTIN to IGNORE by default

2001-01-16 Thread Volker Stolz
on reali^WPOSIX. -- \usepackage[latin1]{inputenc}! Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: Change sigTTOU/TTIN to IGNORE by default

2001-01-11 Thread Volker Stolz
Am 11. Jan 2001 um 11:54 MET schrieb Volker Stolz: In fact I can produce a simple example, either. So just the facts: * Thats a "cant" of course. *sigh* -- \usepackage[latin1]{inputenc}! Volker Stolz * [EMAIL PROTECTED] * PG

Change sigTTOU/TTIN to IGNORE by default

2001-01-10 Thread Volker Stolz
nly wrong. In the latter case SIGTTIN should be changed, too. -- \usepackage[latin1]{inputenc}! Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Type checker too lazy

2000-12-13 Thread Volker Stolz
her like Hugs? Why can´t I use the record like I´m doing in the first place? -- \usepackage[latin1]{inputenc}! Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: little bug in ghc 4.06

2000-11-29 Thread Volker Stolz
Am 29. Nov 2000 um 13:37 MET schrieb Jean-Philippe Pouzol: I use ghc on a SPARC Ultra-1 with SunOS 5.6 Today, a "panic" message was produced by ghc Doesn´t happen any more in 4.08.1. -- \usepackage[latin1]{inputenc}! Volker Stolz * [EMAIL PROTECTED] * PG

Re: Signal handling still buggy

2000-10-10 Thread Volker Stolz
ster [10:23:21] kill -USR1 %2 [2]+ Stopped ./sigTest tests@monster [10:23:23] fg ./sigTest Fail: failed Action: hGetChar Reason: (error code: 0) Or is this some intended Posix-feature? -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME ___

Signal handling still buggy

2000-10-09 Thread Volker Stolz
to the dictionary process which will happily do whatever I want it to. However, after repeatingly sending this signal, the I/O-loop in the other thread doing the getLine will choke with: Error: failed Action: hGetChar Reason: (error code: 0) Regards, Volker -- Volker Stolz * [EMAIL PROTECTED] * PGP + S

Re: Signal handling still buggy

2000-10-09 Thread Volker Stolz
On Mon, Oct 09, 2000 at 01:42:45PM +0200, Volker Stolz wrote: It seems that in 4.08 4.08.1 signal handling still seems to be flawed: I forgot to mention that this only happens when using job-control: 1) start the program 2) use Ctrl-Z to suspend 3) kill -USR1 4) fg to resume, sigUSR1-handler

Re: How to use dynamic types?

2000-08-08 Thread Volker Stolz
*sigh*. I wonder why comments like this in Dynamic.lhs "Provided the implementor of other @Typeable@ instances takes care of making all the @TyCon@s CAFs (toplevel constants), this will work." ...don´t get written in bold, bright and friendly letters across the (HTML-)documentation... Of

Re: Blocking I/O FIFOs

2000-05-12 Thread Volker Stolz
and writes to FIFOs that Hugs *can* read, this wrapper could even be replaced by C or Java. I can´t think of any other way of doing this (except by some really evil things like file-spooling and busy-waiting/polling lock-files). Any suggestions of solving my problem will be appreciated. -- Volker Stol

Blocking I/O FIFOs

2000-05-10 Thread Volker Stolz
: hGetChar Any suggestions? Calling Concurrent.threadWaitRead first doesn´t work, either. -- Volker Stolz * [EMAIL PROTECTED] * PGP

Re: Blocking I/O FIFOs

2000-05-10 Thread Volker Stolz
to read from a socket and the writing end has been closed. Sorry to disappoint you, but it happens even with a sigPIPE-handler (anyways, it should have segfaulted when no handler was installed, shouldn´t it?). -- Volker Stolz * [EMAIL PROTECTED] * PGP

Re: Blocking I/O FIFOs

2000-05-10 Thread Volker Stolz
On Wed, May 10, 2000 at 09:05:52AM -0700, Simon Marlow wrote: Hmmm. Still can't reproduce this. I tried 4.06 4.07 on both x86 and Sparc. Just for the record: FreeBSD 3.4 -- Volker Stolz * [EMAIL PROTECTED] * PGP

Signals once again.

2000-03-15 Thread Volker Stolz
"welcome" zeile - getLine putStrLn (": " ++ zeile) -- Volker Stolz * [EMAIL PROTECTED] * PGP

Re: Still problems with non-blocking I/O?

1999-12-06 Thread Volker Stolz
into those 4252 bytes, though :) To invoke 'block' for example in 'bash', you can use: PS1='`block`\W@\h [\t] '; export PS1 in .profile (take care of all those quotes!). -- Volker Stolz * [EMAIL PROTECTED] * PGP

[module Time] ghc-4.05 time-travelling

1999-11-22 Thread Volker Stolz
putStrLn (show time) time1 - toCalendarTime time putStrLn (show time1) let ntime = addToClockTime (TimeDiff { tdYear=0, tdMonth=0, tdDay=0, tdHour=0, tdMin=0, tdSec=10, tdPicosec=0}) time time2 - toCalendarTime ntime putStrLn (show time2) -- Volker Stolz * [EMAIL PROTECTED] * PGP