[Kalzium] crash because kalzium still links to libavogadro.so !!

Benoît Jacob jacob at math.jussieu.fr
Sun May 20 20:27:07 CEST 2007


Hi,

I just got a crash in Kalzium because it still links to libavogadro.so ! It 
should only link to libavogadro-kalzium.so. Looking at the CMakeLists, I 
really don't know what we got wrong.

Below is the backtrace, showing that it links to libavogadro.

To reproduce the problem:

1) build and install kalzium
2) build and install avogadro+libavogadro from trunk (on sourceforge)
3) run kalzium
4) open a molecule in the 3d viewer

Cheers,
Benoit

Backtrace:

  Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1249474864 (LWP 20747)]
[KCrash handler]
#5  0xffffe410 in __kernel_vsyscall ()
#6  0xb5baadf0 in raise () from /lib/tls/i686/cmov/libc.so.6
#7  0xb5bac641 in abort () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5ba443b in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#9  0xb0f46335 in Avogadro::TextRenderer::end ()
   from /home/kde4/kde/lib/libavogadro.so.0
#10 0xb0f4536e in Avogadro::Painter::end ()
   from /home/kde4/kde/lib/libavogadro.so.0
#11 0xb0ee1b3e in Avogadro::NavigateTool::drawSphere ()
   from /home/kde4/kde/lib/avogadro/tools/libnavigatetool.so
#12 0xb0ee1d2a in Avogadro::NavigateTool::paint ()
   from /home/kde4/kde/lib/avogadro/tools/libnavigatetool.so
#13 0xb68e9502 in Avogadro::GLWidget::render (this=0x910ac50)
    
at /home/gaston/cuisine/trunk/kdeedu/kalzium/libavogadro-kalzium/src/glwidget.cpp:296
#14 0xb68e7a5c in Avogadro::GLWidget::hits (this=0x910ac50, x=112, y=74, w=9, 
    h=9)
    
at /home/gaston/cuisine/trunk/kdeedu/kalzium/libavogadro-kalzium/src/glwidget.cpp:684
#15 0xb0ee264f in Avogadro::NavigateTool::computeClickedAtom ()
   from /home/kde4/kde/lib/avogadro/tools/libnavigatetool.so
#16 0xb0ee2a02 in Avogadro::NavigateTool::mousePress ()
   from /home/kde4/kde/lib/avogadro/tools/libnavigatetool.so
#17 0xb68e8a5c in Avogadro::GLWidget::mousePressEvent (this=0x910ac50, 
    event=0xbfbd3d00)
    
at /home/gaston/cuisine/trunk/kdeedu/kalzium/libavogadro-kalzium/src/glwidget.cpp:342
#18 0xb74e5d13 in QWidget::event (this=0x910ac50, event=0xbfbd3d00)
    at kernel/qwidget.cpp:6014
#19 0xb694e534 in QGLWidget::event (this=0x910ac50, e=0xbfbd3d00)
    at qgl_x11.cpp:1057
#20 0xb7494b65 in QApplicationPrivate::notify_helper (this=0x813ff68, 
    receiver=0x910ac50, e=0xbfbd3d00) at kernel/qapplication.cpp:3513
#21 0xb74956d6 in QApplication::notify (this=0xbfbd4454, receiver=0x910ac50, 
    e=0xbfbd3d00) at kernel/qapplication.cpp:3212
#22 0xb7183179 in KApplication::notify (this=0xbfbd4454, receiver=0x910ac50, 
    event=0xbfbd3d00)
    at /home/gaston/cuisine/trunk/kdelibs/kdeui/kernel/kapplication.cpp:287
#23 0xb7ee10ca in QCoreApplication::notifyInternal (this=0xbfbd4454, 
    receiver=0x910ac50, event=0xbfbd3d00) at kernel/qcoreapplication.cpp:516
#24 0xb749fde7 in QCoreApplication::sendSpontaneousEvent (receiver=0x910ac50, 
    event=0xbfbd3d00)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:189
#25 0xb7500ce6 in QETWidget::translateMouseEvent (this=0x910ac50, 
    event=0xbfbd41ac) at kernel/qapplication_x11.cpp:3802
#26 0xb74fe7de in QApplication::x11ProcessEvent (this=0xbfbd4454, 
    event=0xbfbd41ac) at kernel/qapplication_x11.cpp:2885
#27 0xb752b2bb in x11EventSourceDispatch (s=0x8164330, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:122
#28 0xb5a4cdf2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb5a4fdcf in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x08163690 in ?? ()
#31 0x00000000 in ?? ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kalzium/attachments/20070520/3945d1d8/attachment.pgp 


More information about the Kalzium mailing list