Skip to content

qtbase crash on Windows #28

@tsieger

Description

@tsieger

R crashes running some qtbase demos.

E.g. running the characterWidget demo results in:

> library(qtbase)
>  source('/src/qtbase-qt4-build-cleaned-test/qtbase/demo/characterWidget.R')
Program received signal SIGSEGV, Segmentation fault.
0x677536ca in ZN14QWidgetPrivate12showChildrenEb () from C:\Qt\4.8.6\bin\QtGui4.dll
(gdb) bt
#0  0x677536ca in ZN14QWidgetPrivate12showChildrenEb () from C:\Qt\4.8.6\bin\QtGui4.dll
#1  0x677537e3 in ZN14QWidgetPrivate11show_helperEv () from C:\Qt\4.8.6\bin\QtGui4.dll
#2  0x67755868 in ZN7QWidget10setVisibleEb () from C:\Qt\4.8.6\bin\QtGui4.dll
#3  0x06d67b37 in __smokeqt::x_QWidget::setVisible(bool) () from C:\Program Files\R\R-3.1.0\library\qtbase\libs\i386\qtbase.dll
#4  0x677536fc in ZN14QWidgetPrivate12showChildrenEb () from C:\Qt\4.8.6\bin\QtGui4.dll
#5  0x677537e3 in ZN14QWidgetPrivate11show_helperEv () from C:\Qt\4.8.6\bin\QtGui4.dll
#6  0x67755868 in ZN7QWidget10setVisibleEb () from C:\Qt\4.8.6\bin\QtGui4.dll
#7  0x06b42d87 in __smokeqt::x_QMainWindow::setVisible(bool) () from C:\Program Files\R\R-3.1.0\library\qtbase\libs\i386\qtbase.dll
#8  0x06a770c1 in QWidget::show() () from C:\Program Files\R\R-3.1.0\library\qtbase\libs\i386\qtbase.dll
#9  0x06d6b063 in __smokeqt::x_QWidget::x_165(Smoke::StackItem*) () from C:\Program Files\R\R-3.1.0\library\qtbase\libs\i386\qtbase.dll
#10 0x069e6676 in __smokeqt::xcall_QWidget(short, void*, Smoke::StackItem*) () from C:\Program Files\R\R-3.1.0\library\qtbase\libs\i386\qtbase.dll
#11 0x0690e6bc in SmokeMethod::invoke (this=0xb175460, obj=0x49caa28, stack=0xb1716f0) at C:/src/qtbase-qt4/qtbase/src/SmokeMethod.cpp:20
#12 0x0691043b in MethodCall::invokeMethod (this=0x140c2e4) at C:/src/qtbase-qt4/qtbase/src/MethodCall.cpp:104
#13 0x06910356 in MethodCall::marshal (this=0x140c2e4) at C:/src/qtbase-qt4/qtbase/src/MethodCall.cpp:84
#14 0x069104dc in MethodCall::eval (this=0x140c2e4) at C:/src/qtbase-qt4/qtbase/src/MethodCall.cpp:117
#15 0x0690e559 in ForeignMethod::invoke (this=0xb175460, obj=0x6898298, args=0x67842a0) at C:/src/qtbase-qt4/qtbase/src/ForeignMethod.cpp:6
#16 0x06a1ed40 in SmokeMethod::invoke (this=0xb175460, obj=0x6898298, args=0x67842a0) at C:/src/qtbase-qt4/qtbase/src/SmokeMethod.hpp:78
#17 0x0690f79b in DynamicBinding::invoke (this=0x140c3c0, obj=0x6898298, args=0x67842a0) at C:/src/qtbase-qt4/qtbase/src/DynamicBinding.cpp:10
#18 0x0690a021 in qt_qinvoke (self=0x6898298, method=0x95fc9d0, super=0x95d3200, args=0x67842a0) at C:/src/qtbase-qt4/qtbase/src/invoke.cpp:17
#19 0x6c81c612 in Runzip () from C:\Program Files\R\R-3.1.0\bin\i386\R.dll
#20 0x0678b9c8 in ?? ()
#21 0x021a24a0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

The sliders demo results in:

>  source('/src/qtbase-qt4-build-cleaned-test/qtbase/demo/sliders.R')
Program received signal SIGSEGV, Segmentation fault.
0x67895282 in ZrsR11QDataStreamR12QPaintBuffer () from C:\Qt\4.8.6\bin\QtGui4.dll

(Can't get stack trace in this case.)

Some other demos (groupBox, addressBook, widget) seem to work correctly.

Testing on:
Windows 7 SP1 32bit
R 3.1.0
Qt 4.8.6
qtbase branch qt4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions