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: 7262 Reporter: mon Status: closed (set by @mshinwell on 2016-12-08T11:31:50Z) Resolution: duplicate Priority: low Severity: minor Platform: amd64 OS: linux Target version: 4.05.0 +dev/beta1/beta2/beta3/rc1 Category: runtime system and C interface Monitored by:@gasche
Bug description
raising exception from C code concatenates backtrace with backtrace from previous raise if using 4.03.0+flambda
$ opam switch 4.03.0+flambda; eval opam config env; make clean && make foo && ./foo
To setup the new switch in the current shell, you need to run:
eval opam config env
rm -f *.o *.cmx *.cmi foo
cc -c -o stub.o stub.c
ocamlopt stub.o foo.ml -o foo
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Original bug ID: 7262
Reporter: mon
Status: closed (set by @mshinwell on 2016-12-08T11:31:50Z)
Resolution: duplicate
Priority: low
Severity: minor
Platform: amd64
OS: linux
Target version: 4.05.0 +dev/beta1/beta2/beta3/rc1
Category: runtime system and C interface
Monitored by: @gasche
Bug description
raising exception from C code concatenates backtrace with backtrace from previous raise if using 4.03.0+flambda
Steps to reproduce
$ opam switch 4.03.0; eval
opam config env
; make clean && make foo && ./foorm -f *.o *.cmx *.cmi foo
cc -c -o stub.o stub.c
ocamlopt stub.o foo.ml -o foo
$ opam switch 4.03.0+flambda; eval
opam config env
; make clean && make foo && ./fooTo setup the new switch in the current shell, you need to run:
eval
opam config env
rm -f *.o *.cmx *.cmi foo
cc -c -o stub.o stub.c
ocamlopt stub.o foo.ml -o foo
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
Called from file "foo.ml", line 7, characters 10-16
File attachments
The text was updated successfully, but these errors were encountered: