Created
October 8, 2012 15:26
-
-
Save damphyr/3853110 to your computer and use it in GitHub Desktop.
Reproduce the windows marshalling bug in systemu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:89:in `rescue in block (3 levels) in s | |
ystemu': systemu: Error - process interrupted! (RuntimeError) | |
o:↕ArgumentError: mesg"∟dump format error(0x67):bt[I"kC:/Users/C11865/AppData/Local/Temp/syste | |
encoding"♂IBM437I"mC:/Users/C11865/AppData/Local/Temp/systemu_C11865DEV_3620_3920_0.942001098869122_ | |
1/program:5:in `<main>'♠@ | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:82:in `block (3 levels) i | |
n systemu' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:76:in `popen' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:76:in `block (2 levels) i | |
n systemu' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:168:in `quietly' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:75:in `block in systemu' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:236:in `call' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:236:in `block in tmpdir' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:221:in `loop' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:221:in `tmpdir' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:68:in `systemu' | |
from c:/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.5.2/lib/systemu.rb:10:in `systemu' | |
from systemu_bug.rb:5:in `<main>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'systemu' | |
cmd= "ruby -e 'exit 1'" | |
status,stdout,stderr=systemu cmd | |
p [status,stdout,stderr] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment