Open hotsphink opened 5 years ago
Works with rr record -n
.
Works for me on master.
[roc@localhost a0a3f6fbc41771796bcc36734add3e7d]$ rr record ./js sample.js
rr: Saving execution to trace directory `/home/roc/.local/share/rr/js-1'.
Assertion failure: isIncremental, at /home/sfink/src/mozilla/js/src/gc/GC.cpp:6977
Segmentation fault
[roc@localhost a0a3f6fbc41771796bcc36734add3e7d]$ rr replay -a
Assertion failure: isIncremental, at /home/sfink/src/mozilla/js/src/gc/GC.cpp:6977
[roc@localhost a0a3f6fbc41771796bcc36734add3e7d]$
Shouldn't be too hard for you to debug I think. Try logging where registers are getting dirtied and undirtied.
Binary is at https://gist.github.com/hotsphink/a0a3f6fbc41771796bcc36734add3e7d though it's probably easier to
git clone https://gist.github.com/a0a3f6fbc41771796bcc36734add3e7d.git
xz -d the js binary, then run on the included sample file.