Ticket #6006 (closed bug: fixed)
hs_init(NULL, NULL) segfaults on latest snapshot
| Reported by: | ezyang | Owned by: | simonmar |
|---|---|---|---|
| Priority: | high | Milestone: | 7.4.2 |
| Component: | Runtime System | Version: | 7.5 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | x86 |
| Type of failure: | Runtime crash | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
This weeny program crashes:
int main(int argc, char** argv) {
hs_init(NULL,NULL);
}
Old versions of GHC accomodate null pointers fine, and there is an explicit check for this case inside the function. If this is intentional behavior change, it should be documented.
Change History
Note: See
TracTickets for help on using
tickets.
