bug with profiling things with "strange" filename

Mike Thomas Mike Thomas" <miketh@brisbane.paradigmgeo.com
Fri, 26 Jul 2002 09:32:25 +1000

Hi Hal.

5.04 profiled executables (-prof -auto-all) on Windows just crash on takeoff
with or without a dot in their name (ie even without a .exe extension).
This is substantially different to the behaviour of HEAD a few days before
release of 5.04, which only crashed when fed heap profiling arguments.


Mike Thomas


nfib.exe caused an Access Violation at location 00451047 in module nfib.exe
Writing to location ffffffff.

eax=00ac043c ebx=00457a40 ecx=ffffffff edx=00ac0498 esi=004510a8
eip=00451047 esp=0022de3c ebp=00abf3cd iopl=0         nv up ei pl nz na pe
cs=001b  ss=0023  ds=0023  es=0000  fs=0038  gs=0000

Call stack:
00451047  nfib.exe:00451047  __gmpn_divrem_2  divrem_2.c:151
mp_limb_t __gmpn_divrem_2(
 mp_ptr qp = &,
 mp_size_t qxn = 671105912,
 mp_ptr np = &,
 mp_size_t nsize = -201326592,
 mp_srcptr dp = &

----- Original Message -----
From: "Hal Daume III" <hdaume@ISI.EDU>
To: "GHC Users Mailing List" <glasgow-haskell-users@haskell.org>
Sent: Friday, July 26, 2002 5:02 AM
Subject: bug with profiling things with "strange" filename

> if you compile a program -p -auto-all with ghc and the name you give the
> exectuable contains iether a "." or a "-" (and possibly other things) it
> will core dump when executed (at least on sparc solaris), or so it seems,
> under 5.04.
> has anyone else had this problem?
> --
> Hal Daume III
>  "Computer science is no more about computers    | hdaume@isi.edu
>   than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users@haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users