Bug 346671 - crash in pdf (size A3) print preview
Summary: crash in pdf (size A3) print preview
Status: RESOLVED DUPLICATE of bug 348000
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-25 20:43 UTC by Jaime Torres
Modified: 2015-05-24 04:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2015-04-25 20:43:55 UTC
Application: okular (1.0.0)
 (Compiled from sources)
Qt Version: 5.4.1
Operating System: Linux 3.19.4-1-desktop x86_64
Distribution: "openSUSE 20150423 (Tumbleweed) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Just trying to preview a PDF with A3 as paper size 
I tried it twice.
Compiled with gcc 5.1

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f30b95f27c0 (LWP 8348))]

Thread 3 (Thread 0x7f30b6031700 (LWP 8352)):
#0  0x00007f30c0eb04cd in poll () at /lib64/libc.so.6
#1  0x00007f30be998322 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f30be999def in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f30b7dafbd9 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007f30c18d475f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f30bf4a6484 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f30c0eb8a4d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f30a43d7700 (LWP 8392)):
#0  0x00007f30bf4aa91f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f30a9d917b3 in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007f30a9d91067 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007f30bf4a6484 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f30c0eb8a4d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f30b95f27c0 (LWP 8348)):
[KCrash Handler]
#6  0x00007f30c2768cb5 in QAction::setEnabled(bool) (this=0x44ff0043fe004507) at ../../src/corelib/tools/qscopedpointer.h:135
#7  0x00007f30c2768cb5 in QAction::setEnabled(bool) (p=...) at ../../src/corelib/global/qglobal.h:961
#8  0x00007f30c2768cb5 in QAction::setEnabled(bool) (this=0x44ff0043fe0044ff) at kernel/qaction.h:56
#9  0x00007f30c2768cb5 in QAction::setEnabled(bool) (this=0x44ff0043fe0044ff, b=false) at kernel/qaction.cpp:1025
#10 0x00007f30b4625810 in PageView::updateActionState(bool, bool, bool) () at /opt/kde5/lib64/plugins/okularpart.so
#11 0x00007f30b45b149b in Okular::Part::Part(QWidget*, QObject*, QList<QVariant> const&) () at /opt/kde5/lib64/plugins/okularpart.so
#12 0x00007f30b45b5b91 in QObject* KPluginFactory::createPartInstance<Okular::Part>(QWidget*, QObject*, QList<QVariant> const&) () at /opt/kde5/lib64/plugins/okularpart.so
#13 0x00007f30c37be8fc in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) (this=0xa22400, iface=0x7f30c482bf98 <qt_meta_stringdata_KParts__ReadOnlyPart+408> "KParts::ReadOnlyPart", parentWidget=0x7ffeb4734950, parent=0x7ffeb4734950, args=..., keyword=...) at /g/5kde/frameworks/kcoreaddons/src/lib/plugin/kpluginfactory.cpp:145
#14 0x00007f30b45eb2a6 in Okular::FilePrinterPreviewPrivate::getPart() () at /opt/kde5/lib64/plugins/okularpart.so
#15 0x00007f30b45eb7e5 in Okular::FilePrinterPreviewPrivate::doPreview() () at /opt/kde5/lib64/plugins/okularpart.so
#16 0x00007f30b45ebebc in Okular::FilePrinterPreview::showEvent(QShowEvent*) () at /opt/kde5/lib64/plugins/okularpart.so
#17 0x00007f30c27af632 in QWidget::event(QEvent*) (this=0x7ffeb4734950, event=0x7ffeb4734760) at kernel/qwidget.cpp:8871
#18 0x00007f30c276fb5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x96e770, receiver=receiver@entry=0x7ffeb4734950, e=e@entry=0x7ffeb4734760) at kernel/qapplication.cpp:3720
#19 0x00007f30c2774a26 in QApplication::notify(QObject*, QEvent*) (this=0x7ffeb4735a60, receiver=0x7ffeb4734950, e=0x7ffeb4734760) at kernel/qapplication.cpp:3503
#20 0x00007f30c1aaed65 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f30c27ac80e in QWidgetPrivate::show_helper() (event=0x7ffeb4734760, receiver=0x7ffeb4734950) at ../../src/corelib/kernel/qcoreapplication.h:228
#22 0x00007f30c27ac80e in QWidgetPrivate::show_helper() (this=this@entry=0xdf59c0) at kernel/qwidget.cpp:7785
#23 0x00007f30c27ae7da in QWidget::setVisible(bool) (this=this@entry=0x7ffeb4734950, visible=visible@entry=true) at kernel/qwidget.cpp:8086
#24 0x00007f30c29599e8 in QDialog::setVisible(bool) (this=0x7ffeb4734950, visible=<optimized out>) at dialogs/qdialog.cpp:727
#25 0x00007f30c2959451 in QDialog::exec() (this=0x7ffeb4734950) at dialogs/qdialog.cpp:533
#26 0x00007f30b45b4bbd in Okular::Part::slotPrintPreview() () at /opt/kde5/lib64/plugins/okularpart.so
#27 0x00007f30b4671d65 in Okular::Part::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /opt/kde5/lib64/plugins/okularpart.so
#28 0x00007f30c1ade5c1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#29 0x00007f30c2766662 in QAction::triggered(bool) (this=this@entry=0xd37bd0, _t1=false) at .moc/moc_qaction.cpp:360
#30 0x00007f30c2768b48 in QAction::activate(QAction::ActionEvent) (this=0xd37bd0, event=<optimized out>) at kernel/qaction.cpp:1167
#31 0x00007f30c28dc65a in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) (this=this@entry=0xe1b7c0, causedStack=..., action=action@entry=0xd37bd0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1003
#32 0x00007f30c28e1b94 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) (this=this@entry=0xe1b7c0, action=action@entry=0xd37bd0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1080
#33 0x00007f30c28e5cba in QMenu::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, e=0x7ffeb4735180) at widgets/qmenu.cpp:2403
#34 0x00007f30c27af431 in QWidget::event(QEvent*) (this=this@entry=0xf054e0, event=event@entry=0x7ffeb4735180) at kernel/qwidget.cpp:8656
#35 0x00007f30c28e646b in QMenu::event(QEvent*) (this=0xf054e0, e=0x7ffeb4735180) at widgets/qmenu.cpp:2516
#36 0x00007f30c276fb5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x96e770, receiver=receiver@entry=0xf054e0, e=e@entry=0x7ffeb4735180) at kernel/qapplication.cpp:3720
#37 0x00007f30c2775417 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0xf054e0, e=0x7ffeb4735180) at kernel/qapplication.cpp:3280
#38 0x00007f30c1aaed65 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#39 0x00007f30c2773ea1 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (event=0x7ffeb4735180, receiver=0xf054e0) at ../../src/corelib/kernel/qcoreapplication.h:231
#40 0x00007f30c2773ea1 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0xf054e0, event=event@entry=0x7ffeb4735180, alienWidget=alienWidget@entry=0x0, nativeWidget=0xf054e0, buttonDown=buttonDown@entry=0x7f30c2e815f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:2751
#41 0x00007f30c27c6907 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0xe3bce0, event=event@entry=0x7ffeb47355d0) at kernel/qwidgetwindow.cpp:442
#42 0x00007f30c27c8a8b in QWidgetWindow::event(QEvent*) (this=0xe3bce0, event=0x7ffeb47355d0) at kernel/qwidgetwindow.cpp:210
#43 0x00007f30c276fb5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x96e770, receiver=receiver@entry=0xe3bce0, e=e@entry=0x7ffeb47355d0) at kernel/qapplication.cpp:3720
#44 0x00007f30c2774a26 in QApplication::notify(QObject*, QEvent*) (this=0x7ffeb4735a60, receiver=0xe3bce0, e=0x7ffeb47355d0) at kernel/qapplication.cpp:3503
#45 0x00007f30c1aaed65 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#46 0x00007f30c1fe592e in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#47 0x00007f30c1fe7135 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#48 0x00007f30c1fcdab8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#49 0x00007f30b7dd8860 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#50 0x00007f30bd78ca04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#51 0x00007f30bd78cc48 in  () at /usr/lib64/libglib-2.0.so.0
#52 0x00007f30bd78ccec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#53 0x00007f30c1b0609c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#54 0x00007f30c1aacccb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#55 0x00007f30c1ab4336 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#56 0x000000000040d339 in main ()

Reported using DrKonqi
Comment 1 Luigi Toscano 2015-04-25 21:13:12 UTC
The Qt5 version is not supported. A release is scheduled for August. But maybe in this case we can leave the bug open, as the "official" development on that branch will start soon...
Comment 2 Albert Astals Cid 2015-05-24 04:18:04 UTC

*** This bug has been marked as a duplicate of bug 348000 ***