If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.

#946 Decompilation error - Invalid jump
Author:
honfika

Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed 

> What steps will reproduce the problem?
Open abyss-walker... swf
View one of the following scripts:
\b28b7af69320201\§1ce45cf15bc522c§.as
\b55174ea9c3e902\§21f34db2aba5ff4§.as
\§29716a243b354ef§.as
\§45272e2e8863883§.as
\b28b7af69320201\§66ba2061883e0b7§.as
\b28b7af69320201\§9464a45d3acc13f§.as
\ae5be613d3a5acb.as
\b28b7af69320201\bcd39c1dc6d03b2.as
\b28b7af69320201\dc9afc15deb61fe.as
\b28b7af69320201\ee3113ea1740785.as
> What is the expected output? What do you see instead?
Exceptoin
Jul 06, 2015 11:57:46 AM com.jpexs.decompiler.flash.abc.types.MethodBody convert
SEVERE: Decompilation error in /§45272e2e8863883§.initializer
java.util.concurrent.ExecutionException:
com.jpexs.decompiler.flash.abc.avm2.ConvertException: Invalid jump to ofs00005 on line -1
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.jpexs.helpers.CancellableWorker.get(CancellableWorker.java:99)
at com.jpexs.helpers.CancellableWorker.call(CancellableWorker.java:117)
at com.jpexs.decompiler.flash.abc.types.MethodBody.convert(MethodBody.java:285)
at com.jpexs.decompiler.flash.abc.types.traits.TraitClass.convert(TraitClass.java:555)
at com.jpexs.decompiler.flash.abc.types.traits.Trait.convertPackaged(Trait.java:171)
at com.jpexs.decompiler.flash.abc.ScriptPack.convert(ScriptPack.java:153)
at com.jpexs.decompiler.flash.abc.ScriptPack$1.call(ScriptPack.java:187)
at com.jpexs.decompiler.flash.abc.ScriptPack$1.call(ScriptPack.java:184)
at com.jpexs.helpers.CancellableWorker$3.doInBackground(CancellableWorker.java:112)
at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:49)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.jpexs.decompiler.flash.abc.avm2.ConvertException: Invalid jump to ofs00005
on line -1
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.adr2pos(AVM2Code.java:1289)
at
com.jpexs.decompiler.flash.abc.avm2.AVM2Code$2.updateOperandOffset(AVM2Code.java:2001)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.updateOffsets(AVM2Code.java:1940)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.checkValidOffsets(AVM2Code.java:1991)
at
com.jpexs.decompiler.flash.abc.types.MethodBody.convertMethodBody(MethodBody.java:357)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:277)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:274)
... 7 more
I can add the orher exceptions if it is needed. But I think it is unnecessary, I'll retest
the whole swf after the fix.
> What version of the product are you using? Is it "nighlty build"? Which operating system
do you have?
Nightly 691 (there was no relevant fixes until the latest - 695 - nightly)
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
fixed in few previous revisions
State: new→upgraded
fixed. Thank you
State: upgraded→closed