Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify error, but only when compiled for release? #89

Open
GaiusCoffey opened this issue Mar 4, 2014 · 7 comments
Open

Verify error, but only when compiled for release? #89

GaiusCoffey opened this issue Mar 4, 2014 · 7 comments

Comments

@GaiusCoffey
Copy link

Hi,
This one has me stumped, it may well be something I'm doing, but I can't see what! Any pointers are welcome.

  1. I am using Charles web proxy to ensure crossdomain.xml always returns a valid and very permissive crossdomain.xml (no domain security issues)
  2. When running in debug, I can view .m3u8 content absolutely perfectly as per
    https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8
    https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8
  3. If I compile the exact same content, using the exact same code, and the exact same media, but with a SWF compiled without debugger, I invariably get a Verify error as per the below

VerifyError: Error #1021: At least one branch target was not on a valid instruction in the method.

at org.denivip.osmf.net.httpstreaming.hls::HTTPStreamingMP2TSFileHandler/flushFileSegment()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamSource/doSomeProcessingAndGetBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamSource/getBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamMixer/doSomeProcessingAndGetBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamMixer/getBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSNetStream/onMainTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

G

@D3adKnight
Copy link
Member

What compiler you use?

@GaiusCoffey
Copy link
Author

It's the most current one for FlashBuilder - comes with AIR4.0 - it's the ASC2.0 compiler.
G

@D3adKnight
Copy link
Member

Can you rebuild plugin with compc compiler from Flex 4.6 SDK (available here http://www.adobe.com/devnet/flex/flex-sdk-download.html)?
You can use Ant build system or *.bat scripts to do this,

@GaiusCoffey
Copy link
Author

Hi,

I’ve tried compiling using –swf-version=12 as a compile argument and that should do the same thing – the ASC2.0 compiler became the standard for after version 12 and specifying swf-version=12 uses the compiler from 4.6.0.

I am seeing the same issue:

VerifyError: Error #1021: At least one branch target was not on a valid instruction in the method.

            at org.denivip.osmf.net.httpstreaming.hls::HTTPStreamingMP2TSFileHandler/flushFileSegment()

            at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamSource/doSomeProcessingAndGetBytes()

            at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamSource/getBytes()

            at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSNetStream/onMainTimer()

            at flash.utils::Timer/_timerDispatch()

            at flash.utils::Timer/tick()

This happens immediately that a stream starts to load but, as I say, doesn’t happen with debugger (it works very nicely with debugger).

Any clues as to what I can do to resolve this? I would prefer not to require an entirely separate project to compile this as all other OSMF libraries are working fine together and, obviously, it is way easier to debug when you can chase things through the code.

Thanks,
G

From: D3adKnight [mailto:notifications@github.com]
Sent: 22 March 2014 12:36
To: denivip/osmf-hls-plugin
Cc: GaiusCoffey
Subject: Re: [osmf-hls-plugin] Verify error, but only when compiled for release? (#89)

Can you rebuild plugin with compc compiler from Flex 4.6 SDK (available here http://www.adobe.com/devnet/flex/flex-sdk-download.html)?
You can use Ant build system or *.bat scripts to do this,


Reply to this email directly or view it on GitHub #89 (comment) . https://github.com/notifications/beacon/1902699__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMTExMDk2NCwiZGF0YSI6eyJpZCI6MjY5MjY3NzJ9fQ==--d0d09f91b866c6604d04336576089cc46ee56038.gif

@GaiusCoffey
Copy link
Author

Hi,
I've logged a bug ticket here; https://bugbase.adobe.com/index.cfm?event=bug&id=4109701

Please vote for it!
Thanks,
G

@lucky-zj
Copy link

hi, GaiusCoffey
Has this problem been solved yet? The same problem happened to me。

@GaiusCoffey
Copy link
Author

No, no progress. I have logged a ticket with Adobe as I suspect it is a plugin issue.
Please vote on that ticket! (See link above.)
G

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants