Bug 268749 - some problems in kalzium molecular editor
Summary: some problems in kalzium molecular editor
Status: RESOLVED FIXED
Alias: None
Product: kalzium
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 15:49 UTC by André LAUMAILLIER
Modified: 2011-03-21 17:47 UTC (History)
1 user (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 André LAUMAILLIER 2011-03-17 15:49:16 UTC
Application: kalzium (2.3.90)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.1
Operating System: Linux 2.6.37.3-desktop-1.mga i686
Distribution (Platform): Mageia RPMs

-- Information about the crash:
- What I was doing when the application crashed: I click on molecular editor, then "No tools or engines loaded. It is likely that the Avogadro plugins could not be located" is displayed. But libavogadro is installed.
I click on "Load molecule", then "No tools or engines loaded. It is likely that the Avogadro plugins could not be located. No molecule can be viewed until this issue is resolved" is displayed. Then file explorer opens and I can choose the molecule which is displayed.
Only style "Balls and sticks" work. No label available.
I click on "Edit" and select another atom and kalzium crash !

The crash can be reproduced every time.

-- Backtrace:
Application: Kalzium (kalzium), signal: Segmentation fault
[KCrash Handler]
#7  0x0808a9dc in MoleculeDialog::slotElementChanged (this=0x9c03300, element=0) at /usr/src/debug/kdeedu-4.6.1/kalzium/src/tools/moleculeview.cpp:306
#8  0x0808ab6d in MoleculeDialog::qt_metacall (this=0x9c03300, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd018e8)
    at /usr/src/debug/kdeedu-4.6.1/build/kalzium/src/moleculeview.moc:94
#9  0xb5cb270d in QMetaObject::metacall (object=0x9c03300, cl=164338000, idx=77, argv=0xbfd018e8) at kernel/qmetaobject.cpp:237
#10 0xb5cc5c3c in QMetaObject::activate (sender=0x9cec7f0, m=0xb689f898, local_signal_index=5, argv=0xbfd018e8) at kernel/qobject.cpp:3272
#11 0xb6369985 in QComboBox::currentIndexChanged (this=0x9cec7f0, _t1=0) at .moc/release-shared/moc_qcombobox.cpp:302
#12 0xb636bd8f in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0x9cec818, index=...) at widgets/qcombobox.cpp:1264
#13 0xb636f24b in QComboBoxPrivate::setCurrentIndex (this=0x9cec818, mi=...) at widgets/qcombobox.cpp:2022
#14 0xb636f66e in QComboBoxPrivate::_q_itemSelected (this=0x9cec818, item=...) at widgets/qcombobox.cpp:1233
#15 0xb63753ad in QComboBox::qt_metacall (this=0x9cec7f0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfd01b48) at .moc/release-shared/moc_qcombobox.cpp:191
#16 0xb59bd852 in KComboBox::qt_metacall (this=0x9cec7f0, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfd01b48) at /usr/src/debug/kdelibs-4.6.1/build/kdeui/kcombobox.moc:106
#17 0xb5cb270d in QMetaObject::metacall (object=0x9cec7f0, cl=164338000, idx=39, argv=0xbfd01b48) at kernel/qmetaobject.cpp:237
#18 0xb5cc5c3c in QMetaObject::activate (sender=0xa04b548, m=0xb68adcb4, local_signal_index=0, argv=0xbfd01b48) at kernel/qobject.cpp:3272
#19 0xb66969c5 in QComboBoxPrivateContainer::itemSelected (this=0xa04b548, _t1=...) at .moc/release-shared/moc_qcombobox_p.cpp:213
#20 0xb636b700 in QComboBoxPrivateContainer::eventFilter (this=0xa04b548, o=0xa0b3af0, e=0xbfd01b94) at widgets/qcombobox.cpp:687
#21 0xb5cabfce in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9750648, receiver=0xa0b3af0, event=0xbfd02160) at kernel/qcoreapplication.cpp:847
#22 0xb5f0e6dd in QApplicationPrivate::notify_helper (this=0x9750648, receiver=0xa0b3af0, e=0xbfd02160) at kernel/qapplication.cpp:4441
#23 0xb5f16f89 in QApplication::notify (this=0xbfd01e94, receiver=0xa0b3af0, e=0xbfd02160) at kernel/qapplication.cpp:4006
#24 0xb5900ce1 in KApplication::notify (this=0xbfd029c4, receiver=0xa0b3af0, event=0xbfd02160) at /usr/src/debug/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#25 0xb5cac87e in QCoreApplication::notifyInternal (this=0xbfd029c4, receiver=0xa0b3af0, event=0xbfd02160) at kernel/qcoreapplication.cpp:732
#26 0xb5f1314c in sendSpontaneousEvent (receiver=0xa0b3af0, event=0xbfd02160, alienWidget=0xa0b3af0, nativeWidget=0xa04b548, buttonDown=0xb68b6c00, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#27 QApplicationPrivate::sendMouseEvent (receiver=0xa0b3af0, event=0xbfd02160, alienWidget=0xa0b3af0, nativeWidget=0xa04b548, buttonDown=0xb68b6c00, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3103
#28 0xb5fa5f46 in QETWidget::translateMouseEvent (this=0xa04b548, event=0xbfd0266c) at kernel/qapplication_x11.cpp:4372
#29 0xb5fa4fc4 in QApplication::x11ProcessEvent (this=0xbfd029c4, event=0xbfd0266c) at kernel/qapplication_x11.cpp:3442
#30 0xb5fd2e38 in x11EventSourceDispatch (s=0x9753940, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0xb4505609 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0xb4505e10 in ?? () from /lib/libglib-2.0.so.0
#33 0xb45060ca in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0xb5cdc141 in QEventDispatcherGlib::processEvents (this=0x9723b90, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#35 0xb5fd26da in QGuiEventDispatcherGlib::processEvents (this=0x9723b90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0xb5cab32d in QEventLoop::processEvents (this=0xbfd02924, flags=) at kernel/qeventloop.cpp:149
#37 0xb5cab7b9 in QEventLoop::exec (this=0xbfd02924, flags=...) at kernel/qeventloop.cpp:201
#38 0xb5cb0e20 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#39 0xb5f0d3c4 in QApplication::exec () at kernel/qapplication.cpp:3719
#40 0x080b8fe8 in main (argc=-1243742680, argv=0xa04c018) at /usr/src/debug/kdeedu-4.6.1/kalzium/src/main.cpp:102

Reported using DrKonqi
Comment 1 André LAUMAILLIER 2011-03-21 17:47:36 UTC
Sorry, kalzium needs libavogadro AND avogadro, and the problem is connected with the kalzium.rpm of Mageia and Mandriva. The dependence with avogadro is missing.