VLC crash when try to stop playing

macOS specific usage questions
kc.chen
Blank Cone
Blank Cone
Posts: 25
Joined: 30 Jul 2012 10:23

VLC crash when try to stop playing

Postby kc.chen » 06 Jul 2013 08:49

Hi, I download the latest code from git server and build successfully. After that, I try to play TS stream on it but find it is often crash when stop the playing.

Anyone know what is the reason? Thanks!


0 libsystem_kernel.dylib 0x36e336a4 __semwait_signal + 24
1 libsystem_c.dylib 0x3411e0f2 pthread_join + 650
2 VLC 0x00460bfa vlc_join + 14
3 VLC 0x0041d908 input_Join + 36
4 VLC 0x0041d92e input_Close + 10
5 VLC 0x003d1592 release_input_thread + 166
6 VLC 0x003d1d20 libvlc_media_player_stop + 40

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC crash when try to stop playing

Postby fkuehne » 06 Jul 2013 23:27

Do you use OS X 10.8? If yes, don't compile with --enable-debug but with CFLAGS="-g" instead.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

kc.chen
Blank Cone
Blank Cone
Posts: 25
Joined: 30 Jul 2012 10:23

Re: VLC crash when try to stop playing

Postby kc.chen » 07 Jul 2013 03:54

Do you use OS X 10.8? If yes, don't compile with --enable-debug but with CFLAGS="-g" instead.
Yes, thanks for your advice, I will try it.

kc.chen
Blank Cone
Blank Cone
Posts: 25
Joined: 30 Jul 2012 10:23

Re: VLC crash when try to stop playing

Postby kc.chen » 07 Jul 2013 04:07

Do you use OS X 10.8? If yes, don't compile with --enable-debug but with CFLAGS="-g" instead.
@Felix, I saw you have changed like that on latest vlc code. Does it mean it doesn't work?


commit 8cd0aeaa12a2a4e2f75ba21c27ec0d5610ea84cf
Author: Felix Paul Kühne <fkuehne@videolan.org>
Date: Sat Jan 19 18:44:02 2013 +0100

ios: don't compile with --enable-debug with -g only by default

diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 91fa785..1431e3c 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -74,10 +74,10 @@ info "Building libvlc for iOS"
if [ "$PLATFORM" = "Simulator" ]; then
TARGET="i686-apple-darwin11"
ARCH="i386"
- OPTIM="-O3"
+ OPTIM="-O3 -g"
else
TARGET="arm-apple-darwin11"
- ARCH="armv7"
+ ARCH="armv7 -g"
fi

info "Using ${ARCH} with SDK version ${SDK_VERSION}"
@@ -238,7 +238,7 @@ CONTRIB_DIR=${VLCROOT}/contrib-ios-${TARGET} \
${VLCROOT}/configure \
--prefix="${PREFIX}" \
--host="${TARGET}" \
- --enable-debug \
+ --disable-debug \
--enable-static \
--disable-macosx \
--disable-macosx-vout \


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests