EXC_BAD_ACCESS in audio.c DecodeAudio

iOS, iPad, iPhone, tvOS specific usage questions
linked
Blank Cone
Blank Cone
Posts: 41
Joined: 28 Nov 2014 09:12

EXC_BAD_ACCESS in audio.c DecodeAudio

Postby linked » 30 Nov 2014 00:01

I try to read a asf stream from my IP camera that contain IMA ADPCM sound codec and MJPEG video.
VLCKit play for 1s or less and crash in audio.c in the DecodeAudio function, not always the same line.

It's a rtsp stream with TCP (if i remember well).

If i put a exception breakpoint, it stop in stream.c:
malloc: *** error for object 0x130b3604: incorrect checksum for freed object - object was probably modified after being freed

Code: Select all

block_t *stream_Block( stream_t *s, int i_size ) { if( i_size <= 0 ) return NULL; /* emulate block read */ block_t *p_bk = block_Alloc( i_size ); <---- CRASH HERE p_bk and s is NULL if( p_bk ) { int i_read = stream_Read( s, p_bk->p_buffer, i_size ); if( i_read > 0 ) { p_bk->i_buffer = i_read; return p_bk; } block_Release( p_bk ); } return NULL; }
The stream is a RTSP and with som player i have to specify tcp = YES.
I have try with --rtsp-tcp option without luck.

Is there something special to init the player with tcp stream ?

Same problem with the latest nightly build.

Edit:
With the most old nightly build backup (2014-03-03) it is working. It's not really a solution but at least i can use it.I hope there will be some fix in the futre to use the latest version.
If someone need more debug data, just ask what you need.

Edit 2:
Working with nightly build (MobileVLCKit-UniversalBinary-20141006-0610) too.

Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 11 guests