[vlc-devel] QT assertion failure with VideoWidget

Alexander Gall gall at switch.ch
Wed Aug 8 12:30:58 CEST 2007


The problem seems to be gone in the svn trunk of today (with the patch
applied).

-- 
Alex

On Tue, 7 Aug 2007 10:32:30 +0200, Alexander Gall <gall at switch.ch> said:

> On Mon, 06 Aug 2007 18:42:05 +0200, Jean-Baptiste Kempf <jb at videolan.org> said:
>> Alexander Gall wrote:
>>> I haven't heard anything concerning this issue.  I would really
>>> appreciate if somebody could fix that bug.  It completely breaks video
>>> output with the Qt gui.

>> Can you try the attached patch ?

> That's better.  I can now watch a stream, but when I switch to a
> different stream (from the SAP playlist in this case), the same
> problem appears:

> (dbx) where
> current thread: t at 14
>   [1] __lwp_kill(0x0, 0xffffffff, 0x0, 0x0, 0xfffffffc, 0x0), at 0xfecc4a24 
>   [2] raise(0x6, 0x0, 0x5, 0xfed04f50, 0xffffffff, 0x6), at 0xfec77504 
>   [3] abort(0x0, 0x1, 0x6, 0xfed036c0, 0xacf34, 0x0), at 0xfec53824 
> =>[4] qt_message_output(msgType = QtFatalMsg, buf = 0xf4279064 "ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 330778. Receiver '' (of type 'VideoWidget') was created in thread 2291d0", file kernel/qcoreapplication.cpp, line 253"), line 2145 in "qglobal.cpp"
>   [5] qFatal(msg = 0xf6f3d1e2 "ASSERT failure in %s: "%s", file %s, line %d", ...), line 2376 in "qglobal.cpp"
>   [6] qt_assert_x(where = 0xf6f47d5d "QCoreApplication::sendEvent", what = 0x8e9748 "Cannot send events to objects owned by a different thread. Current thread 330778. Receiver '' (of type 'VideoWidget') was created in thread 2291d0", file = 0xf6f47dfd "kernel/qcoreapplication.cpp", line = 253), line 1912 in "qglobal.cpp"
>   [7] QCoreApplicationPrivate::checkReceiverThread(this = 0x4aec8, receiver = 0x314528), line 253 in "qcoreapplication.cpp"
>   [8] QApplication::notify(this = 0x2291f0, receiver = 0x314528, e = 0xf427b87c), line 3053 in "qapplication.cpp"
>   [9] QCoreApplication::notifyInternal(this = 0x2291f0, receiver = 0x314528, event = 0xf427b87c), line 509 in "qcoreapplication.cpp"
>   [10] QCoreApplication::sendEvent(receiver = 0x314528, event = 0xf427b87c), line 186 in "qcoreapplication.h"
>   [11] QWidgetPrivate::setGeometry_sys(this = 0x314580, x = 0, y = 0, w = 0, h = 0, isMove = false), line 2151 in "qwidget_x11.cpp"
>   [12] QWidget::resize(this = 0x314528, s = CLASS), line 4868 in "qwidget.cpp"
>   [13] MainInterface::releaseVideo(this = 0x301cd8, p_win = 0x130001b), line 567 in "main_interface.cpp"
>   [14] DoRelease(p_intf = 0x22dca0, p_win = 0x130001b), line 82 in "main_interface.cpp"
>   [15] vout_ReleaseWindow(p_vout = 0x6edfa8, p_window = 0x130001b), line 152 in "vout_intf.c"
>   [16] DestroyWindow(p_vout = 0x6edfa8, p_win = 0x6aca2c), line 1835 in "xcommon.c"
>   [17] Deactivate__0_9_0b(p_this = 0x6edfa8), line 466 in "xcommon.c"
>   [18] __module_Unneed(p_this = 0x6edfa8, p_module = 0x21e418), line 761 in "modules.c"
>   [19] DestroyThread(p_vout = 0x6edfa8), line 1307 in "video_output.c"
>   [20] RunThread(p_vout = 0x6edfa8), line 1223 in "video_output.c"

> Seems like you need to fix another event in the same manner.

> Also, when I start vlc, I get this:

> Object::connect: Parentheses expected, signal VideoWidget::resizeEvts
> Object::connect: Parentheses expected, signal VideoWidget::setMinimumSizesi

> Thanks,
> -- 
> Alex

_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list