Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Crashes when cliking into the interface on f13 x86_64 #529

Closed
cryos opened this issue Jun 11, 2010 · 7 comments
Closed

Crashes when cliking into the interface on f13 x86_64 #529

cryos opened this issue Jun 11, 2010 · 7 comments

Comments

@cryos
Copy link
Owner

cryos commented Jun 11, 2010

This might be distribution related. However, I can reproduce this with the f13 package as well as the vanilla 1.0.1 version from the homepage. As soon as you click into the main window the atom is drawn but then it crashes.

Reported by: hlawacek

@cryos
Copy link
Owner Author

cryos commented Jun 11, 2010

Sorry wrong button :-)

More info is available at https://bugzilla.redhat.com/show_bug.cgi?id=603053 and https://bugzilla.redhat.com/show_bug.cgi?id=602988

Original comment by: hlawacek

@cryos
Copy link
Owner Author

cryos commented Aug 6, 2010

I'm experiencing something similar on Arch linux 32 bit w/ gcc 4.5.0. Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x004f0049 in ?? ()
(gdb) bt
#0 0x004f0049 in ?? ()
#1 0xb6a144ef in Avogadro::BSDYEngine::radius (this=0x89ea860, atom=0x8b05f90) at /usr/src/avogadro/libavogadro/src/engines/bsdyengine.cpp:357
#2 0xb6a101d1 in Avogadro::BSDYEngine::renderOpaque (this=0x89ea860, pd=0x843ed28) at /usr/src/avogadro/libavogadro/src/engines/bsdyengine.cpp:170
#3 0xb6993d8d in Avogadro::GLWidget::render (this=0x8434f08) at /usr/src/avogadro/libavogadro/src/glwidget.cpp:777
#4 0xb69933b0 in Avogadro::GLWidget::paintGL (this=0x8434f08) at /usr/src/avogadro/libavogadro/src/glwidget.cpp:552
#5 0xb6993535 in Avogadro::GLWidget::paintEvent (this=0x8434f08) at /usr/src/avogadro/libavogadro/src/glwidget.cpp:602
#6 0xb74e017e in QWidget::event(QEvent_) () from /usr/bin/../lib/libQtGui.so.4
#7 0xb7dd1719 in QGLWidget::event(QEvent_) () from /usr/bin/../lib/libQtOpenGL.so.4
#8 0xb6995f5e in Avogadro::GLWidget::event (this=0x8434f08, event=0xbfffeb24) at /usr/src/avogadro/libavogadro/src/glwidget.cpp:1062
#9 0xb7488f14 in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/bin/../lib/libQtGui.so.4
#10 0xb748d1ab in QApplication::notify(QObject_, QEvent_) () from /usr/bin/../lib/libQtGui.so.4
#11 0xb712fecb in QCoreApplication::notifyInternal(QObject_, QEvent_) () from /usr/bin/../lib/libQtCore.so.4
#12 0xb74dadd4 in QWidgetPrivate::drawWidget(QPaintDevice_, QRegion const&, QPoint const&, int, QPainter_, QWidgetBackingStore_) () from /usr/bin/../lib/libQtGui.so.4
#13 0xb76a17b6 in QWidgetPrivate::repaint_sys(QRegion const&) () from /usr/bin/../lib/libQtGui.so.4
#14 0xb74d0fbe in QWidgetPrivate::syncBackingStore() () from /usr/bin/../lib/libQtGui.so.4
#15 0xb74e07dd in QWidget::event(QEvent_) () from /usr/bin/../lib/libQtGui.so.4
#16 0xb7dd1719 in QGLWidget::event(QEvent_) () from /usr/bin/../lib/libQtOpenGL.so.4
#17 0xb6995f5e in Avogadro::GLWidget::event (this=0x8434f08, event=0x8ae6090) at /usr/src/avogadro/libavogadro/src/glwidget.cpp:1062
#18 0xb7488f14 in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/bin/../lib/libQtGui.so.4
#19 0xb748d1ab in QApplication::notify(QObject_, QEvent_) () from /usr/bin/../lib/libQtGui.so.4
#20 0xb712fecb in QCoreApplication::notifyInternal(QObject_, QEvent_) () from /usr/bin/../lib/libQtCore.so.4
#21 0xb71339c1 in QCoreApplicationPrivate::sendPostedEvents(QObject_, int, QThreadData_) () from /usr/bin/../lib/libQtCore.so.4
#22 0xb7133bad in QCoreApplication::sendPostedEvents(QObject_, int) () from /usr/bin/../lib/libQtCore.so.4
#23 0xb715a98f in ?? () from /usr/bin/../lib/libQtCore.so.4
#24 0xb6512f72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0xb6513750 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#26 0xb6513a04 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#27 0xb715ae7c in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/bin/../lib/libQtCore.so.4
#28 0xb75351b5 in ?? () from /usr/bin/../lib/libQtGui.so.4
#29 0xb712f119 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/bin/../lib/libQtCore.so.4
#30 0xb712f38a in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/bin/../lib/libQtCore.so.4
#31 0xb7133c6f in QCoreApplication::exec() () from /usr/bin/../lib/libQtCore.so.4
#32 0xb7486637 in QApplication::exec() () from /usr/bin/../lib/libQtGui.so.4
#33 0x0806e66d in main (argc=1, argv=0xbffff824) at /usr/src/avogadro/avogadro/src/main.cpp:245
(gdb) up
#1 0xb6a144ef in Avogadro::BSDYEngine::radius (this=0x89ea860, atom=0x8b05f90) at /usr/src/avogadro/libavogadro/src/engines/bsdyengine.cpp:357
357 return pRadius(atom) * m_atomRadiusPercentage;
(gdb) list
352 {
353 if (atom->customRadius())
354 return atom->customRadius()* m_atomRadiusPercentage;
355 else {
356 if (atom->atomicNumber())
357 return pRadius(atom) * m_atomRadiusPercentage;
358 }
359 return m_atomRadiusPercentage;
360 }
361
(gdb) p pRadius(atom)
Couldn't find method Avogadro::BSDYEngine::pRadius

Original comment by: @dlonie

@cryos
Copy link
Owner Author

cryos commented Nov 5, 2010

pRadius issue was fixed; however it is not related to original issue because it was inroduced in master, not 1.0

Gregor: try to change Qt style, it may help in some cases

Original comment by: @annulen

@cryos
Copy link
Owner Author

cryos commented Nov 10, 2010

At least in f13 this was an issue that could be solved by switching from nouveau to the nvidia driver. Also if one uses wireframe it works. Switching to any other display mode is fine as long as you don't click into the interface. After you had a look you switch back to wireframe and can work normally. However, as said above with the nvidia driver everything works normally. No i need to get it running in f14 there it might be the qt issue. Need to find time.

Original comment by: hlawacek

@cryos
Copy link
Owner Author

cryos commented Nov 10, 2010

Gregor: if someone tells you that Nouveau supports stable OpenGL, ignore him :)

Original comment by: @annulen

@cryos
Copy link
Owner Author

cryos commented Nov 10, 2010

Your case was added to Avogadro FAQ. Thanks!

Original comment by: @annulen

@cryos
Copy link
Owner Author

cryos commented Jan 30, 2011

Closing this bug. I would love to figure out what we trip in some of the less well behaved drivers. I have not tried Nouveau recently, but last time I tried the OpenGL support was not great.

Original comment by: @cryos

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants