Page 1 of 1

libvlc_video_set_marquee_string on MacOSX

Posted: 08 Jun 2010 11:13
by WippelDa
I try to set marquee on MacOSX resulting in following error:

Using Qt 4.5.2 and libVLC 1.1rc2. Embedding with cocoacontainerwidget.

Code: Select all

Process: Player [605] Path: /Users/davidwippel/Downloads/Player-5.app/Contents/MacOS/Player Identifier: com.yourcompany.Player Version: ??? (???) Code Type: X86-64 (Native) Parent Process: launchd [95028] Date/Time: 2010-06-08 11:02:51.474 +0200 OS Version: Mac OS X 10.6.3 (10D573) Report Version: 6 Interval Since Last Report: 20760 sec Crashes Since Last Report: 8 Per-App Interval Since Last Report: 987 sec Per-App Crashes Since Last Report: 8 Anonymous UUID: C229B7AF-529A-4B1C-A08C-6300A9C61581 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Application Specific Information: abort() called Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x00007fff8779f886 __kill + 10 1 libSystem.B.dylib 0x00007fff8783feae abort + 83 2 libvlccore.4.dylib 0x00000001019abb41 vlc_thread_fatal + 193 (pthread.c:124) 3 libvlccore.4.dylib 0x00000001019abfb7 vlc_mutex_lock + 39 (pthread.c:223) 4 libvlc.dylib 0x00000001018db93e libvlc_get_input_thread + 30 (media_player.c:149) 5 libvlc.dylib 0x00000001018d81d3 GetVouts + 19 (video.c:49) 6 libvlc.dylib 0x00000001018d823b GetVout + 27 (video.c:67) 7 libvlc.dylib 0x00000001018d82c7 get_object + 23 (video.c:594) 8 libvlc.dylib 0x00000001018d88d0 set_string + 64 (video.c:686) 9 libvlc.dylib 0x00000001018d8979 libvlc_video_set_marquee_string + 41 (video.c:771) 10 libQTVLC.1.dylib 0x0000000100085a8e VLCMediaPlayer::displayTextInVideo(QString, int, int, int, int) + 76 11 libPlayerModule.dylib 0x0000000115e419cb MediaPlayerHandler::setBackwardSpeed(float, bool) + 163 12 libPlayerModule.dylib 0x0000000115e46e1a RedBullPlayer::Modules::Player::PlayerStopped::enterState(RedBullPlayer::Modules::MediaLibrary::IMedia*) + 174 13 libPlayerModule.dylib 0x0000000115e462fe RedBullPlayer::Modules::Player::PlayerStateMachine::changeStateTo(RedBullPlayer::Modules::Player::MediaPlayerState::StateEnum, RedBullPlayer::Modules::MediaLibrary::IMedia*) + 278 14 libPlayerModule.dylib 0x0000000115e457a0 MediaPlayerEventBridge::event(QEvent*) + 188 15 QtGui 0x00000001004d9b8d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189 16 QtGui 0x00000001004e07fe QApplication::notify(QObject*, QEvent*) + 238 17 QtCore 0x0000000101170a1c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124 18 libEventAggregator.1.dylib 0x0000000100058c61 RedBullPlayer::EventAggregator::Aggregator::sendEvent(QEvent*) + 83 19 libPlayerModule.dylib 0x0000000115e42b7c MediaPlayerHandler::playerStateChanged(int) + 338 20 libPlayerModule.dylib 0x0000000115e47c07 MediaPlayerHandler::qt_metacall(QMetaObject::Call, int, void**) + 89 21 QtCore 0x0000000101182f83 QMetaObject::activate(QObject*, int, int, void**) + 675 22 libQTVLC.1.dylib 0x0000000100089392 IMediaPlayer::playerStateChanged(int) + 48 23 libQTVLC.1.dylib 0x0000000100085ecf VLCMediaPlayer::emitPlayerStateChanged(RedBullPlayer::Modules::Player::MediaPlayerState::StateEnum) + 443 24 libQTVLC.1.dylib 0x0000000100085fd0 VLCMediaPlayer::emitStopped() + 22 25 libQTVLC.1.dylib 0x0000000100089064 VLCEventBridge::onVLCEvent(libvlc_event_t const*, void*) + 166 26 libvlc.dylib 0x00000001018da539 libvlc_event_send + 329 (event.c:205) 27 libvlc.dylib 0x00000001018dc253 libvlc_media_player_stop + 115 (media_player.c:743) 28 libPlayerModule.dylib 0x0000000115e417b7 MediaPlayerHandler::stopVideo() + 61 29 libPlayerModule.dylib 0x0000000115e4530a MediaPlayerEventBridge::closePlayer() + 480 30 libPlayerModule.dylib 0x0000000115e4578d MediaPlayerEventBridge::event(QEvent*) + 169 31 QtGui 0x00000001004d9b8d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189 32 QtGui 0x00000001004e07fe QApplication::notify(QObject*, QEvent*) + 238 33 QtCore 0x0000000101170a1c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124 34 libEventAggregator.1.dylib 0x0000000100058c61 RedBullPlayer::EventAggregator::Aggregator::sendEvent(QEvent*) + 83 35 ...ayerCloseButtonModule.dylib 0x0000000115eb0e95 RedBullPlayer::Modules::PlayerCloseButton::PlayerCloseButtonModule::exitClickedSlot() + 207 36 ...ayerCloseButtonModule.dylib 0x0000000115eb1c39 RedBullPlayer::Modules::PlayerCloseButton::PlayerCloseButtonModule::qt_metacall(QMetaObject::Call, int, void**) + 61 37 QtCore 0x0000000101182f83 QMetaObject::activate(QObject*, int, int, void**) + 675 38 ...ayerCloseButtonModule.dylib 0x0000000115eb1eae PlayerCloseButtonUI::qt_metacall(QMetaObject::Call, int, void**) + 82 39 QtCore 0x0000000101182f83 QMetaObject::activate(QObject*, int, int, void**) + 675 40 QtGui 0x0000000100a9d836 QAbstractButton::clicked(bool) + 54 41 QtGui 0x0000000100823ea3 QAbstractButtonPrivate::emitClicked() + 67 42 QtGui 0x0000000100823fea QAbstractButtonPrivate::click() + 202 43 QtGui 0x000000010082425b QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 123 44 QtGui 0x000000010052108d QWidget::event(QEvent*) + 3165 45 QtGui 0x0000000100824b7f QAbstractButton::event(QEvent*) + 79 46 QtGui 0x00000001008ba4af QPushButton::event(QEvent*) + 63 47 QtGui 0x00000001004d9b8d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189 48 QtGui 0x00000001004e11aa QApplication::notify(QObject*, QEvent*) + 2714 49 QtCore 0x0000000101170a1c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124 50 QtGui 0x00000001004d7c40 qt_sendSpontaneousEvent(QObject*, QEvent*) + 48 51 QtGui 0x000000010049593b qt_mac_handleMouseEvent(void*, void*, QEvent::Type, Qt::MouseButton) + 1595 52 QtGui 0x0000000100488768 -[QCocoaView mouseUp:] + 40 53 com.apple.AppKit 0x00007fff830aafa5 -[NSWindow sendEvent:] + 5547 54 QtGui 0x000000010048f477 -[QCocoaWindow sendEvent:] + 199 55 com.apple.AppKit 0x00007fff82fe0662 -[NSApplication sendEvent:] + 4719 56 com.apple.AppKit 0x00007fff82f770aa -[NSApplication run] + 474 57 QtGui 0x0000000100498e29 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1241 58 QtCore 0x0000000101170124 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68 59 QtCore 0x00000001011702b5 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 181 60 QtCore 0x0000000101173e55 QCoreApplication::exec() + 181 61 com.yourcompany.Player 0x000000010000a184 main + 629 62 com.yourcompany.Player 0x0000000100009d66 _start + 224 63 com.yourcompany.Player 0x0000000100009c85 start + 33
any suggestions?

Re: libvlc_video_set_marquee_string on MacOSX

Posted: 08 Jun 2010 20:40
by RĂ©mi Denis-Courmont
Don't call LibVLC from inside its own callback.