Ticket #4531 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

GHCi reacting strangely and then crashing after pressing CTRL-C

Reported by: stakx Owned by: simonmar
Priority: high Milestone: 7.0.2
Component: GHCi Version: 7.0.1
Keywords: GHCI Cc:
Operating System: Windows Architecture: x86_64 (amd64)
Type of failure: GHCi crash Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I attempted to abort GHCi by pressing CTRL+C (I had started GHCi from a Windows 7 x64 CMD.exe command-line session). This led to some strange behaviour, namely an alternativ prompt by CMD.exe and then again by GHCi. Every time or every second time I pressed the [RETURN] key, the prompt changed from one to the other. After I executed the DIR command while being on the CMD.exe prompt, GHCi crashed.

(See attached console output log.)

Attachments

ghci-crash-report.txt Download (1.1 KB) - added by stakx 2 years ago.
Console output log showing how the crash happened

Change History

Changed 2 years ago by stakx

Console output log showing how the crash happened

Changed 2 years ago by igloo

  • milestone set to 7.2.1

Thanks for the report

Changed 2 years ago by simonmar

See also #4245

Changed 2 years ago by simonmar

  • priority changed from normal to high
  • milestone changed from 7.2.1 to 7.0.2

This is a regression in 7.0.1 relative to 6.12.3.

Changed 2 years ago by simonmar

  • owner set to simonmar

Changed 2 years ago by simonmar

  • component changed from Compiler to GHCi

Changed 2 years ago by simonmar

  • status changed from new to merge

Fixed:

Thu Jan  6 13:38:34 GMT 2011  Simon Marlow <marlowsd@gmail.com>
  * use Win32 CreateProcess() rather than mingw spawnv() (#4531)

Changed 2 years ago by igloo

  • status changed from merge to closed
  • resolution set to fixed

Merged.

Note: See TracTickets for help on using tickets.