osmf-hls-plugin icon indicating copy to clipboard operation
osmf-hls-plugin copied to clipboard

Verify error, but only when compiled for release?

Open GaiusCoffey opened this issue 10 years ago • 7 comments

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

GaiusCoffey avatar Mar 04 '14 17:03 GaiusCoffey

What compiler you use?

D3adKnight avatar Mar 17 '14 13:03 D3adKnight

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

GaiusCoffey avatar Mar 17 '14 14:03 GaiusCoffey

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,

D3adKnight avatar Mar 22 '14 12:03 D3adKnight

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:[email protected]] 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 https://github.com/denivip/osmf-hls-plugin/issues/89#issuecomment-38350381 . https://github.com/notifications/beacon/1902699__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMTExMDk2NCwiZGF0YSI6eyJpZCI6MjY5MjY3NzJ9fQ==--d0d09f91b866c6604d04336576089cc46ee56038.gif

GaiusCoffey avatar Jun 03 '14 15:06 GaiusCoffey

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

Please vote for it! Thanks, G

GaiusCoffey avatar Jan 22 '16 13:01 GaiusCoffey

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

lucky-zj avatar Sep 24 '16 08:09 lucky-zj

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

GaiusCoffey avatar Sep 24 '16 21:09 GaiusCoffey