Bug 326837 - kalzium crashes when selecting clicking on button "molecular editor"
Summary: kalzium crashes when selecting clicking on button "molecular editor"
Status: RESOLVED FIXED
Alias: None
Product: kalzium
Classification: Applications
Component: general (show other bugs)
Version: 2.4.01
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-29 16:08 UTC by Alexander
Modified: 2016-11-12 14:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Added missing debug symbols. (3.99 KB, text/plain)
2013-10-29 16:24 UTC, Alexander
Details
New crash information added by DrKonqi (3.78 KB, text/plain)
2016-09-19 14:50 UTC, Marco Bobba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2013-10-29 16:08:35 UTC
Application: kalzium (2.4.01)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
When clicking on "molecular editor" in kalzium, a message box appears and says "No drivers loaded - maybe no avogadro module was found". 

libavogadro1 is installed (version 1.1.0-95.2) from openSUSE 12.3 ecucation repository.

The crash can be reproduced every time.

-- Backtrace:
Application: Kalzium (kalzium), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x0000000000540fe4 in ?? ()
#7  0x00007f65adc4c4fe in Avogadro::GLWidget::render() () from /usr/lib64/libavogadro.so.1
#8  0x00007f65adc43eba in Avogadro::GLWidget::paintEvent(QPaintEvent*) () from /usr/lib64/libavogadro.so.1
#9  0x00007f65ac8623ae in QWidget::event (this=0x31d7dc0, event=0x7fff9feaa5c0) at kernel/qwidget.cpp:8533
#10 0x00007f65ae12ddf8 in QGLWidget::event (this=0x31d7dc0, e=0x7fff9feaa5c0) at qgl.cpp:4407
#11 0x00007f65ac81292c in QApplicationPrivate::notify_helper (this=this@entry=0x25192f0, receiver=receiver@entry=0x31d7dc0, e=e@entry=0x7fff9feaa5c0) at kernel/qapplication.cpp:4562
#12 0x00007f65ac816dab in QApplication::notify (this=0x7fff9feab230, receiver=0x31d7dc0, e=0x7fff9feaa5c0) at kernel/qapplication.cpp:4423
#13 0x00007f65abd3a016 in KApplication::notify (this=0x7fff9feab230, receiver=0x31d7dc0, event=0x7fff9feaa5c0) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#14 0x00007f65ac2d4f3e in QCoreApplication::notifyInternal (this=0x7fff9feab230, receiver=0x31d7dc0, event=0x7fff9feaa5c0) at kernel/qcoreapplication.cpp:949
#15 0x00007f65ac85df74 in sendSpontaneousEvent (event=0x7fff9feaa5c0, receiver=0x31d7dc0) at ../../src/corelib/kernel/qcoreapplication.h:234
#16 QWidgetPrivate::drawWidget (this=0x31d7e20, pdev=0x31d7dd0, rgn=..., offset=..., flags=3, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5599
#17 0x00007f65aca2370c in QWidgetPrivate::repaint_sys (this=0x31d7e20, rgn=...) at painting/qbackingstore.cpp:1656
#18 0x00007f65ac852a64 in QWidgetPrivate::syncBackingStore (this=this@entry=0x31d7e20) at kernel/qwidget.cpp:1891
#19 0x00007f65ac862854 in QWidget::event (this=0x31d7dc0, event=0x35028f0) at kernel/qwidget.cpp:8680
#20 0x00007f65ae12ddf8 in QGLWidget::event (this=0x31d7dc0, e=0x35028f0) at qgl.cpp:4407
#21 0x00007f65ac81292c in QApplicationPrivate::notify_helper (this=this@entry=0x25192f0, receiver=receiver@entry=0x31d7dc0, e=e@entry=0x35028f0) at kernel/qapplication.cpp:4562
#22 0x00007f65ac816dab in QApplication::notify (this=0x7fff9feab230, receiver=0x31d7dc0, e=0x35028f0) at kernel/qapplication.cpp:4423
#23 0x00007f65abd3a016 in KApplication::notify (this=0x7fff9feab230, receiver=0x31d7dc0, event=0x35028f0) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#24 0x00007f65ac2d4f3e in QCoreApplication::notifyInternal (this=0x7fff9feab230, receiver=receiver@entry=0x31d7dc0, event=event@entry=0x35028f0) at kernel/qcoreapplication.cpp:949
#25 0x00007f65ac2d88a1 in sendEvent (event=0x35028f0, receiver=0x31d7dc0) at kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23791f0) at kernel/qcoreapplication.cpp:1573
#27 0x00007f65ac303423 in sendPostedEvents () at kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x252c770) at kernel/qeventdispatcher_glib.cpp:280
#29 0x00007f65a63e77d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f65a63e7b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f65a63e7bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f65ac3035b6 in QEventDispatcherGlib::processEvents (this=0x237ea70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#33 0x00007f65ac8b2e0e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f65ac2d3bef in QEventLoop::processEvents (this=this@entry=0x7fff9feab0d0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f65ac2d3e78 in QEventLoop::exec (this=0x7fff9feab0d0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f65ac2d8bb8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#37 0x000000000045bcc7 in ?? ()
#38 0x00007f65aa830a15 in __libc_start_main () from /lib64/libc.so.6
#39 0x000000000045bed1 in _start ()

Reported using DrKonqi
Comment 1 Alexander 2013-10-29 16:24:20 UTC
Created attachment 83204 [details]
Added missing debug symbols.
Comment 2 Marco Bobba 2016-09-19 14:50:44 UTC
Created attachment 101177 [details]
New crash information added by DrKonqi

kalzium (2.4.03) on KDE Platform 4.14.23 using Qt 4.8.7

- What I was doing when the application crashed:
The crash occurs when you open the molecular editor.
Connected error: Avogadro draw the molecules on a non-visible part of the z axis

-- Backtrace (Reduced):
#7  0x00007f83fb61e8cc in Avogadro::GLWidget::render() () from /usr/lib/libavogadro.so.1
#8  0x00007f83fb611b2e in Avogadro::GLWidget::paintEvent(QPaintEvent*) () from /usr/lib/libavogadro.so.1
#9  0x00007f83f9f65e80 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007f83fbb117b3 in QGLWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4
#11 0x00007f83f9f0f54c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Comment 3 Andreas Cord-Landwehr 2016-11-12 14:43:20 UTC
This should be fixed in the upcoming Kalzium release with the KDE Applications 16/12 release (December 2016), in which Kalzium switches to Avogadro 2.