Bug 374955 - Gwenview crashes on startup
Summary: Gwenview crashes on startup
Status: RESOLVED DOWNSTREAM
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-01-12 12:23 UTC by Roey Katz
Modified: 2017-01-18 00:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roey Katz 2017-01-12 12:23:24 UTC
Application: gwenview (15.12.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-43-generic x86_64
Distribution: Ubuntu 16.04.1 LTS

-- Information about the crash:
I had just updated to the latest Gwenview, and now it crashes without even so much as opening a window

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f57a190a980 (LWP 18528))]

Thread 2 (Thread 0x7f579f41a700 (LWP 18529)):
#0  0x00007f57aef22b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f57a7df9c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f57a7dfb8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f57a154e629 in QXcbEventReader::run (this=0x26399a0) at qxcbconnection.cpp:1253
#4  0x00007f57af6187be in QThreadPrivate::start (arg=0x26399a0) at thread/qthread_unix.cpp:331
#5  0x00007f57aa42a6ba in start_thread (arg=0x7f579f41a700) at pthread_create.c:333
#6  0x00007f57aef2e82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f57a190a980 (LWP 18528)):
[KCrash Handler]
#6  0x00007f57aee5d428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f57aee5f02a in __GI_abort () at abort.c:89
#8  0x00007f57af605f81 in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1578
#9  QMessageLogger::fatal (this=this@entry=0x7ffef34fc200, msg=msg@entry=0x7f57a15c9cb6 "Could not initialize OpenGL") at global/qlogging.cpp:781
#10 0x00007f57a156aab9 in QXcbWindow::create (this=0x28784e0) at qxcbwindow.cpp:463
#11 0x00007f57a1556001 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x286fd20) at qxcbintegration.cpp:201
#12 0x00007f57afb42584 in QWindowPrivate::create (this=0x286fd80, recursive=recursive@entry=false) at kernel/qwindow.cpp:392
#13 0x00007f57afb4278b in QWindow::create (this=this@entry=0x286fd20) at kernel/qwindow.cpp:548
#14 0x00007f57b3e6f16a in QGLContext::chooseContext (this=0x288a0d0, shareContext=0x0) at qgl.cpp:3492
#15 0x00007f57b3e6d4ca in QGLContext::create (this=0x288a0d0, shareContext=0x0) at qgl.cpp:3354
#16 0x00007f57b3e6924f in QGLWidget::setContext (this=this@entry=0x2889dd0, context=context@entry=0x288a0d0, shareContext=0x0, deleteOldContext=deleteOldContext@entry=true) at qgl.cpp:4226
#17 0x00007f57b3e6b3b5 in QGLWidgetPrivate::initContext (this=this@entry=0x2889e10, context=context@entry=0x288a0d0, shareWidget=shareWidget@entry=0x0) at qgl.cpp:5163
#18 0x00007f57b3e6b435 in QGLWidgetPrivate::init (this=this@entry=0x2889e10, context=context@entry=0x288a0d0, shareWidget=shareWidget@entry=0x0) at qgl.cpp:5146
#19 0x00007f57b3e6b63a in QGLWidget::QGLWidget (this=0x2889dd0, parent=<optimized out>, shareWidget=0x0, f=...) at qgl.cpp:3871
#20 0x00007f57b3622203 in Gwenview::DocumentViewContainer::DocumentViewContainer (this=0x288df90, parent=<optimized out>) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/documentview/documentviewcontainer.cpp:91
#21 0x0000000000455019 in Gwenview::ViewMainPagePrivate::setupAdapterContainer (this=0x2833df0) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/viewmainpage.cpp:227
#22 Gwenview::ViewMainPage::ViewMainPage (this=0x28b9ec0, parent=<optimized out>, slideShow=<optimized out>, actionCollection=0x27236c0, gvCore=<optimized out>) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/viewmainpage.cpp:413
#23 0x0000000000479381 in Gwenview::MainWindow::Private::setupViewMainPage (parent=0x2761b80, this=0x270f3e0) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/mainwindow.cpp:312
#24 Gwenview::MainWindow::Private::setupWidgets (this=0x270f3e0) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/mainwindow.cpp:250
#25 0x000000000047579d in Gwenview::MainWindow::MainWindow (this=0x26eb830, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/mainwindow.cpp:777
#26 0x000000000046e1ee in StartHelper::createMainWindow (this=this@entry=0x7ffef34fc800) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/main.cpp:92
#27 0x000000000044ba5f in main (argc=1, argv=<optimized out>) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/main.cpp:158

Possible duplicates by query: bug 364721, bug 364342.

Reported using DrKonqi
Comment 1 Christoph Feck 2017-01-18 00:55:34 UTC
The error message is: "Could not initialize OpenGL"

Please ask in a forum of your distribution how to fix your OpenGL drivers.