Ticket #9 (closed bug: Fixed)

Opened 12 years ago

Last modified 43 years ago

GHCI for Win32 crashes with many options

Reported by: fizzgig Owned by: nobody
Priority: normal Milestone:
Component: None Version: 5.02
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

If GHCI is started with the following, f.ex., it 
crashes <access violation somewhere in the 
msvcrt.dll>:

ghci -package net -package util

Giving just one -package xxx statement works, as well 
as giving f.ex. -fglasgow-exts. Setting more packages 
from within GHCI with :set works splendidly however.

A few more test runs:

$ ghci -package util -fglasgow-exts -package net
c:\PROGRA~1\GLASGO~1\ghc-5.02\bin\ghc.exe: file `Ç;=' 
does not exist

$ ghci bla bla asdfas awpktad
<crash>



Change History

Changed 12 years ago by rrt

  • status changed from assigned to closed
Logged In: YES 
user_id=50145

Sigbjorn has now fixed this (sizeof(char) -> sizeof(char *), it was a buffer overflow).
Note: See TracTickets for help on using tickets.