Re: thread blocked indefinitely in an MVar operation in unsafePerformIO

2012-07-31 Thread Marco Túlio Gontijo e Silva
Hi Simon.

On Mon, Jul 30, 2012 at 12:00 PM, Simon Marlow  wrote:
(...)
> Is it possible that the String you are passing to uLog contains unevaluated
> calls to uLog itself, which would thereby create a deadlock as uLog tries to
> take the MVar that is already being held by the same thread?

Yes, that's right.  I removed the recursive call to uLog and it worked, thanks.

Greetings.
(...)
-- 
marcot
http://marcot.eti.br/

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


thread blocked indefinitely in an MVar operation in unsafePerformIO

2012-07-30 Thread Marco Túlio Gontijo e Silva
Hi.

I'm having a problem calling logM from hsLogger inside
unsafePerformIO.  I have described the problem in Haskell-cafe, so
I'll avoid repeating it here:

http://www.haskell.org/pipermail/haskell-cafe/2012-July/102545.html

I've had this problem both with GHC 7.4.1 and 7.4.2.  Do you have any
suggestion?

Greetings.

-- 
marcot
http://marcot.eti.br/

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Fwd: Still causes segfault.

2010-02-05 Thread Marco Túlio Gontijo e Silva
--- Begin forwarded message from Marco Túlio Gontijo e Silva ---
From: Marco Túlio Gontijo e Silva 
To: 557185 <557...@bugs.debian.org>
Cc: debian-haskell , glasgow-haskell-users 

Date: Fri, 05 Feb 2010 15:26:51 -0200
Subject: Still causes segfault.

Hi.

I just tested building ghc6-6.12.1-4_powerpc with a registered build, that is,
without those lines from debian/rules that make an unregistered build, and got
a segfault just after running inplace/bin/ghc-stage2 --interactive.

Just confirming that this bug is still present in this version.

Greetings.
--- End forwarded message ---
-- 
marcot
http://marcot.iaaeee.org/
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Trying to build from the darcs repository

2010-01-24 Thread Marco Túlio Gontijo e Silva
Hi Florian.

Dom, 2010-01-24 às 13:10 +0100, Florian Weimer escreveu: 
> How much memory does GHC need to build on amd64 GNU/Linux?  I'm trying
> to build from the darcs repository, and this command
> 
> "inplace/bin/ghc-stage1" -H32m -O -package-name terminfo-0.3.1.1
>   -hide-all-packages -i ilibraries/terminfo/.
>   --ilibraries/terminfo/dist-install/build
>   -ilibraries/terminfo/dist-install/build/autogen
>   -Ilibraries/terminfo/dist-install/build
>   -Ilibraries/terminfo/dist-install/build/autogen
>   --Ilibraries/terminfo/.  optP-include
>   -optPlibraries/terminfo/dist-install/build/autogen/cabal_macros.h
>   -package base-4.2.0.0 -package extensible-exceptions-0.1.1.1
>   -split-objs -Wall -XForeignFunctionInterface -XDeriveDataTypeable
>   -XEmptyDataDecls -XScopedTypeVariables -XFlexibleInstances -O2
>   -XGenerics -fno-warn-deprecated-flags -odir
>   -libraries/terminfo/dist-install/build -hidir
>   -libraries/terminfo/dist-install/build -stubdir
>   -libraries/terminfo/dist-install/build -hisuf hi -osuf o -hcsuf hc
>   --c libraries/terminfo/./System/Console/Terminfo/Effects.hs -o
>   -libraries/terminfo/dist-install/build/System/Console/Terminfo/Effects.o
> 
> needs more than 3.5 GB of RAM.

I guess this is related to
http://hackage.haskell.org/trac/ghc/ticket/3831 .

Greetings.
(...)
-- 
marcot
http://marcot.iaaeee.org/


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ghc API in platforms with no GHCi

2010-01-20 Thread Marco Túlio Gontijo e Silva
Hi Thomas.

Qua, 2010-01-20 às 18:47 +, Thomas Schilling escreveu: 
> The byte code interpreter (which hlint uses) has its own dynamic
> linker to load binaries.  I suppose the platforms that you listed this
> is not supported and GHCi (or more precisely the part of GHCi that
> requires the byte code interpreter) is not built.

Thanks for your answer.  If you're interested, I've changed hlint in
Debian to be built only in i386, amd64 and sparc.

Greetings.
(...)
-- 
marcot
http://marcot.iaaeee.org/


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


ghc API in platforms with no GHCi

2010-01-17 Thread Marco Túlio Gontijo e Silva
Hi.

I noticed that in Debian/KFreeBSD the module ByteCodeLink is not
available, which cause the build error of haskell-hint in Debian's
buildds.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564136

This is also the case of alpha, armel, hppa, mips, powerpc and s390.  I
haven't checked if these are the architectures without GHCi but I
suspect they are.

Is the full ghc API available only in arches in which GHCi is available?

Greetings.
-- 
marcot
http://marcot.iaaeee.org/


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


[Fwd: Re: [Gtk2hs-devel] Help with build on Alpha]

2009-10-18 Thread Marco Túlio Gontijo e Silva
Hi.

I sent a mail to gtk2hs-devel about this bug, and I'm forwarding it's
response to here.

Greetings.

 Mensagem encaminhada 
De: Axel Simon 

(...)
On Sep 27, 2009, at 18:02, Marco Túlio Gontijo e Silva wrote:
(...)
> I don't have a clue about this bug:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540879 .  Do you have
> any idea about what could be causing this?
(...)
This is a limitation of ghc. So you should ask the ghc people if they  
can fix this. Then we could think of a work-around. But the only  
workaround there is is not to bind functions that are affected by the  
limitation. That would pretty much rule out all modules in ModelView/  
which is a rather important part of Gtk2Hs.
(...)

-- 
marcot
http://marcot.iaaeee.org/


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Broken link in GHC page

2009-10-18 Thread Marco Túlio Gontijo e Silva
Hi.

The link to the mailing list on the GHC page is not correct.  It should
link to
http://www.haskell.org/ghc/docs/latest/html/users_guide/mailing-lists-GHC.html 
instead of
http://www.haskell.org/ghc/docs/latest/html/users_guide/introduction-GHC.html#mailing-lists-GHC
.

Greetings.

-- 
marcot
http://marcot.iaaeee.org/


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Problem with profiling

2009-06-03 Thread Marco Túlio Gontijo e Silva
Hello Axel.

Em Ter, 2009-06-02 às 23:19 +0200, Axel Simon escreveu:
> On May 31, 2009, at 21:20, Marco Túlio Gontijo e Silva wrote:
(...)
> > recently there was a thread about a problem in profiling in
> > gtk2hs-users, and it was menitoned that this could be a GHC6 bug.
> >
> > The problem is described in
> > http://sourceforge.net/mailarchive/forum.php? 
> > thread_name=1242762143.18742.277.camel%40zezinho&forum_name=gtk2hs- 
> > users .
> >
> > Do you think this is a gtk2hs specific problem, or is it something  
> > about
> > GHC?
> >
> 
> Are you sure that you compiled from scratch, i.e. did you do a 'make  
> distclean'? You could try to give --disable-split-objs to configure  
> and see if that helps.

I build from a just extracted tree.  Should I do make distclean just
after extracting the .tar.gz?

Greetings.

-- 
marcot
http://marcot.iaaeee.org/

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Problem with profiling

2009-05-31 Thread Marco Túlio Gontijo e Silva
Hello,

recently there was a thread about a problem in profiling in
gtk2hs-users, and it was menitoned that this could be a GHC6 bug.

The problem is described in
http://sourceforge.net/mailarchive/forum.php?thread_name=1242762143.18742.277.camel%40zezinho&forum_name=gtk2hs-users
 .

Do you think this is a gtk2hs specific problem, or is it something about
GHC?

Greetings.
-- 
marcot
http://marcot.iaaeee.org/


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Int vs Word performance?

2009-03-27 Thread Marco Túlio Gontijo e Silva
Hello,

sorry for breaking the thread, I just got in the list.

Simon Peyton-Jones simonpj at microsoft.com :
> PS: in the case that no one gets around to creating such a patch,
> creating a ticket that documents the problem and points to the needed
> specialisations would be a start

Was this created?  I could not find something about it in the GHC trac.

Greetings.

-- 
marcot
http://marcot.iaaeee.org/


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Error in building profiling

2009-02-06 Thread Marco Túlio Gontijo e Silva
Hello,

I'm trying to package ghc-paths for debian, and I got to this:

$ ./setup configure --enable-library-profiling --disable-library-vanilla
Configuring ghc-paths-0.1.0.5...
$ ./setup build
Preprocessing library ghc-paths-0.1.0.5...
Building ghc-paths-0.1.0.5...
/usr/bin/ar: creating dist/build/libHSghc-paths-0.1.0.5_p.a
/usr/bin/ld: dist/build/GHC/Paths.o: No such file: No such file or
directory

I thought this could be a problem with this package, but I've tried with
mtl, and I got the same result:

/usr/bin/ld: dist/build/Control/Monad/Cont.o: No such file: No such file
or directory

I'm using ghc6 6.10.1+dfsg1-5 and binutils 2.19-1~exp1.

I tried the same with ghc6 6.8.2dfsg1-1 and it worked.

Greetings.

-- 
marcot
http://marcot.iaaeee.org/


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users