You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7674 Reporter:@nojb Assigned to:@nojb Status: resolved (set by @nojb on 2018-04-09T13:02:21Z) Resolution: fixed Priority: normal Severity: minor Category: standard library Related to:#7666 Monitored by:@gasche
Bug description
When passing extra (> 2) arguments to Printexc.raise_with_partial_backtrace, a segmentation fault is produced.
Incidentally, this issue was discovered while working on a solution for #7666, which reported a compilation problem when passing < 2 arguments to this function.
Steps to reproduce
$ ./ocamlrun ../ocaml
OCaml version 4.07.0+dev0-2017-09-18
let bt = Printexc.get_raw_backtrace ();;
val bt : Printexc.raw_backtrace =
Printexc.raise_with_backtrace Exit bt;;
Exception: Pervasives.Exit.
Printexc.raise_with_backtrace Exit bt 1;;
Warning 20: this argument will not be used by the function.
Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered:
Original bug ID: 7674
Reporter: @nojb
Assigned to: @nojb
Status: resolved (set by @nojb on 2018-04-09T13:02:21Z)
Resolution: fixed
Priority: normal
Severity: minor
Category: standard library
Related to: #7666
Monitored by: @gasche
Bug description
When passing extra (> 2) arguments to Printexc.raise_with_partial_backtrace, a segmentation fault is produced.
Incidentally, this issue was discovered while working on a solution for #7666, which reported a compilation problem when passing < 2 arguments to this function.
Steps to reproduce
$ ./ocamlrun ../ocaml
OCaml version 4.07.0+dev0-2017-09-18
let bt = Printexc.get_raw_backtrace ();;
val bt : Printexc.raw_backtrace =
Printexc.raise_with_backtrace Exit bt;;
Exception: Pervasives.Exit.
Printexc.raise_with_backtrace Exit bt 1;;
Warning 20: this argument will not be used by the function.
Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered: