[ ghc-Bugs-1198393 ] Program aborts with segmentation fault when profiling used.

2005-06-03 Thread SourceForge.net
Bugs item #1198393, was opened at 2005-05-09 16:21
Message generated for change (Settings changed) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1198393group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Profiling
Group: None
Status: Closed
Resolution: Works For Me
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Program aborts with segmentation fault when profiling used.

Initial Comment:
I have a program that I have compiled under ghc6.5
(downloaded from the CVS repository on May 5/6), on
Fedora-2 core running on a PC.  This will run fine when
compiled without profiling.  With profiling enabled
(-prof -auto-all with GHC, and +RTS -p for the
program), it aborts, with the message internal error:
Segmentation fault.

The same program will compile and run, both with and
without profiling, under ghc6.2.1.  I have also tried
with different datasets, and the same pattern occurs.

I updated my ghc installation from CVS today (9th May),
but have not been able to update my ghc installation 
to see if this problem has been removed, as the
fptools-level build process is failing, with the
Haddock build complaining that parsec-1.0 is an unknown
package when building Utils.hs; building in the ghc dir
results in a failure to find a module Version when
building Main.hs in the utils/ghc-pkg area.

The program and dataset are contained in the attached
gzip'd tar file.  I compile it (without profiling) using

ghc --make -fglasgow-exts -o Reader Reader.hs

 

--

Comment By: Simon Marlow (simonmar)
Date: 2005-06-03 09:33

Message:
Logged In: YES 
user_id=48280

Closing: it worked for me, and the submitter has not
followed up.

--

Comment By: Simon Marlow (simonmar)
Date: 2005-05-11 10:06

Message:
Logged In: YES 
user_id=48280

I have not been able to reproduce this one, either with 6.4
or with HEAD of today (11/05).

Can you verify that it now works for you?

--

Comment By: Nobody/Anonymous (nobody)
Date: 2005-05-09 16:23

Message:
Logged In: NO 

Submitter forgot to add: contact email address is
David Duke, email [EMAIL PROTECTED]

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1198393group_id=8032
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[ ghc-Bugs-1198393 ] Program aborts with segmentation fault when profiling used.

2005-05-11 Thread SourceForge.net
Bugs item #1198393, was opened at 2005-05-09 16:21
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1198393group_id=8032

Category: Profiling
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Program aborts with segmentation fault when profiling used.

Initial Comment:
I have a program that I have compiled under ghc6.5
(downloaded from the CVS repository on May 5/6), on
Fedora-2 core running on a PC.  This will run fine when
compiled without profiling.  With profiling enabled
(-prof -auto-all with GHC, and +RTS -p for the
program), it aborts, with the message internal error:
Segmentation fault.

The same program will compile and run, both with and
without profiling, under ghc6.2.1.  I have also tried
with different datasets, and the same pattern occurs.

I updated my ghc installation from CVS today (9th May),
but have not been able to update my ghc installation 
to see if this problem has been removed, as the
fptools-level build process is failing, with the
Haddock build complaining that parsec-1.0 is an unknown
package when building Utils.hs; building in the ghc dir
results in a failure to find a module Version when
building Main.hs in the utils/ghc-pkg area.

The program and dataset are contained in the attached
gzip'd tar file.  I compile it (without profiling) using

ghc --make -fglasgow-exts -o Reader Reader.hs

 

--

Comment By: Simon Marlow (simonmar)
Date: 2005-05-11 10:06

Message:
Logged In: YES 
user_id=48280

I have not been able to reproduce this one, either with 6.4
or with HEAD of today (11/05).

Can you verify that it now works for you?

--

Comment By: Nobody/Anonymous (nobody)
Date: 2005-05-09 16:23

Message:
Logged In: NO 

Submitter forgot to add: contact email address is
David Duke, email [EMAIL PROTECTED]

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1198393group_id=8032
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[ ghc-Bugs-1198393 ] Program aborts with segmentation fault when profiling used.

2005-05-09 Thread SourceForge.net
Bugs item #1198393, was opened at 2005-05-09 09:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1198393group_id=8032

Category: Profiling
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Program aborts with segmentation fault when profiling used.

Initial Comment:
I have a program that I have compiled under ghc6.5
(downloaded from the CVS repository on May 5/6), on
Fedora-2 core running on a PC.  This will run fine when
compiled without profiling.  With profiling enabled
(-prof -auto-all with GHC, and +RTS -p for the
program), it aborts, with the message internal error:
Segmentation fault.

The same program will compile and run, both with and
without profiling, under ghc6.2.1.  I have also tried
with different datasets, and the same pattern occurs.

I updated my ghc installation from CVS today (9th May),
but have not been able to update my ghc installation 
to see if this problem has been removed, as the
fptools-level build process is failing, with the
Haddock build complaining that parsec-1.0 is an unknown
package when building Utils.hs; building in the ghc dir
results in a failure to find a module Version when
building Main.hs in the utils/ghc-pkg area.

The program and dataset are contained in the attached
gzip'd tar file.  I compile it (without profiling) using

ghc --make -fglasgow-exts -o Reader Reader.hs

 

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1198393group_id=8032
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[ ghc-Bugs-1198393 ] Program aborts with segmentation fault when profiling used.

2005-05-09 Thread SourceForge.net
Bugs item #1198393, was opened at 2005-05-09 09:21
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1198393group_id=8032

Category: Profiling
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Program aborts with segmentation fault when profiling used.

Initial Comment:
I have a program that I have compiled under ghc6.5
(downloaded from the CVS repository on May 5/6), on
Fedora-2 core running on a PC.  This will run fine when
compiled without profiling.  With profiling enabled
(-prof -auto-all with GHC, and +RTS -p for the
program), it aborts, with the message internal error:
Segmentation fault.

The same program will compile and run, both with and
without profiling, under ghc6.2.1.  I have also tried
with different datasets, and the same pattern occurs.

I updated my ghc installation from CVS today (9th May),
but have not been able to update my ghc installation 
to see if this problem has been removed, as the
fptools-level build process is failing, with the
Haddock build complaining that parsec-1.0 is an unknown
package when building Utils.hs; building in the ghc dir
results in a failure to find a module Version when
building Main.hs in the utils/ghc-pkg area.

The program and dataset are contained in the attached
gzip'd tar file.  I compile it (without profiling) using

ghc --make -fglasgow-exts -o Reader Reader.hs

 

--

Comment By: Nobody/Anonymous (nobody)
Date: 2005-05-09 09:23

Message:
Logged In: NO 

Submitter forgot to add: contact email address is
David Duke, email [EMAIL PROTECTED]

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1198393group_id=8032
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[ ghc-Bugs-1198393 ] Program aborts with segmentation fault when profiling used

2005-05-09 Thread Christian Maeder
Hi,

I also have (a rather large) program (not included) that segfaults when
compiled with profiling. I use the ghc-6.4 linux binary distribution
from the web.

It is not even necessary to call the program with +RTS -p -RTS. There is
no problem with ghc-6.2.2, except that the old version uses its own copy
of the fgl, Data.Map and Data.Set.

If I let my Map and Set module reexport the ghc-6.4 library modules
Data.Map and Data.Set then the program does not terminate if compiled
without profiling and without optimization (with optimization it
terminates, profiling segfaults in all cases).

Any idea what I should do (and is not too time consuming)?
Christian
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs