[nhc-bugs] Bus Error and Segmentation Fault when Heap Profiling
is On
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Fri Jun 2 09:06:57 EDT 2006
Shin-Cheng Mu <scm at iis.sinica.edu.tw> wrote:
> scm$ cat > temp.xml
> <a><b><item>123</item></b><c></c></a>
> scm$ ./hxpc temp.xml
> Bus error
> scm$ ./hxpc temp.xml +RTS -p
> Segmentation fault
>
> If I compile the program without the -p option, it runs fine.
>
> Since Malcolm Wallace has already profiled the program
> on his machine, it seems to be a platform specific problem
When I profiled your code previously, it worked fine on either a
Linux/x86 or Solaris/sparc machine (I don't remember which), but not on
MacOS/powerpc, so yes it does look like a platform-specific problem.
Strangely, although the profile was generated OK on the other platform,
the hp2graph tool for converting it to a graph seg faulted there, but
worked correctly on MacOS/powerpc.
Regards,
Malcolm
More information about the Nhc-bugs
mailing list