Status: New
Owner: ----
New issue 2147 by [email protected]: 'mksnapshot' tool SegFaults rather
than Generate Error Messages
http://code.google.com/p/v8/issues/detail?id=2147
What steps will reproduce the problem?
1. Edit chromium/src/v8/src/array.js and and 'error' to the last line.
2. build chrome
3. Notice the following output:
ACTION v8_snapshot_run_mksnapshot
out/Release/obj.target/v8_snapshot/geni/snapshot.cc
/bin/sh: line 1: 26783 Segmentation
fault ".../chromium/src/out/Release/mksnapshot"
--log-snapshot-positions
--logfile ".../chromium/src/out/Release/obj.target/v8_snapshot/geni/snapshot.log" ".../chromium/src/out/Release/obj.target/v8_snapshot/geni/snapshot.cc"
make: *** [out/Release/obj.target/v8_snapshot/geni/snapshot.cc] Error 139
I would have expected a useful error message rather than a seg-fault. Any
error in any of the javascript source files results in a seg-fault rather
than an error message. This make developing new snapshotted code extremely
difficult.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev