)
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
* 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
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
, 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
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
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
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
):
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
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
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
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
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
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]':
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
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
(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
, 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
.
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
,
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
:: 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
) = 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
), 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
++ 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
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
())]
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
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
(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
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
- 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
.
--
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
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
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
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
.
Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
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
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
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
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
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
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
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
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
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
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
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
___
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
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
*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
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
: hGetChar
Any suggestions? Calling Concurrent.threadWaitRead first doesn´t work, either.
--
Volker Stolz * [EMAIL PROTECTED] * PGP
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
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
"welcome"
zeile - getLine
putStrLn (": " ++ zeile)
--
Volker Stolz * [EMAIL PROTECTED] * PGP
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
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
55 matches
Mail list logo