-
Notifications
You must be signed in to change notification settings - Fork 157
Crash on startup with ENABLE_THREADEDGL #569
Comments
The 'widget not contained in stack' message turns out be somewhat of a red herring, in that the ENABLE_THREADEDGL=OFF binary outputs the same messages. Upon startup, this is what the binary prints to console: "Avogadro version: 1.1.0 Git: 331b158 Original comment by: @jiahao |
Please try this patch: http://review.source.kitware.com/#change,980 Original comment by: @annulen |
Not urgent, and poster hasn't responded about the proposed Git change. Decreasing priority. Original comment by: @ghutchis |
Thanks for the reminder. The suggested patch provided by annulen worked for me. Original comment by: @jiahao |
cFodc9 vvttigblozlr, [url=http://ihjctdehrrcv.com/]ihjctdehrrcv[/url], [link=http://fqaynsywlppm.com/]fqaynsywlppm[/link], http://ngcldnluorfl.com/ Original comment by: nobody |
UAOEyE bavzibaxvony, [url=http://xbzsabvfecnj.com/]xbzsabvfecnj[/url], [link=http://nzueavqhjzxd.com/]nzueavqhjzxd[/link], http://uwmzssmyujpt.com/ Original comment by: nobody |
wdR8c9 ghbqwsjonucp, [url=http://ecflxbgvypjq.com/]ecflxbgvypjq[/url], [link=http://dyagzohmcmeh.com/]dyagzohmcmeh[/link], http://udsdsypahwdu.com/ Original comment by: nobody |
Running the avogadro binary freshly compiled from HEAD crashes. Binary compiled and run on Ubuntu 10.04 64-bit with ENABLE_THREADEDGL=ON. Turning this off does not produce this bug.
Here is some gdb output that might be helpful.
(gdb) run
Starting program: /home/cjh/local/bin/avogadro avogadro
[Thread debugging using libthread_db enabled]
Enabling Threads
"Avogadro version: 1.1.0 Git: 331b158
LibAvogadro version: 1.1.0 Git: 331b158"
Locale: "en_US"
Libavogadro translations not found.
System has OpenGL support.
About to test OpenGL capabilities.
OpenGL capabilities found:
Double Buffering.
Direct Rendering.
Antialiasing.
[New Thread 0x7fffef7b1710 (LWP 19008)]
[Thread 0x7fffef7b1710 (LWP 19008) exited]
Loading plugins: "/home/cjh/local/bin/../lib/avogadro/1_1"
Searching for plugins in "/home/cjh/local/lib/avogadro/1_1"
Searching for plugins in "/home/cjh/local/lib/avogadro/1_1/colors"
Searching for plugins in "/home/cjh/local/lib/avogadro/1_1/engines"
Searching for plugins in "/home/cjh/local/lib/avogadro/1_1/extensions"
Searching for plugins in "/home/cjh/local/lib/avogadro/1_1/tools"
Loading plugins: "/home/cjh/.avogadro/1_1/plugins"
[New Thread 0x7fffef7b1710 (LWP 19010)]
[New Thread 0x7fffd432d710 (LWP 19011)]
Threaded GL enabled.
[New Thread 0x7fffd3b2c710 (LWP 19012)]
QStackedLayout::setCurrentWidget: Widget 0x859ba0 not contained in stack
PreCalculate
Finished queue.
GLWidget initialisation...
GLWidget initialised...
createObjects()
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd3b2c710 (LWP 19012)]
sem_post () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S:34
34 ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S
(gdb) bt
#0 sem_post () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S:34
#1 0x00007ffff1542a99 in PyThread_release_lock (lock=0x0) at ../Python/thread_pthread.h:374
#2 0x00007ffff3642324 in ~PythonThread (this=0x7ac560, widget=0x7fffe8245b60)
#3 Avogadro::PythonExtension::paint (this=0x7ac560, widget=0x7fffe8245b60)
#4 0x00007ffff35e0fb2 in Avogadro::GLWidget::render (this=0x7fffe8245b60)
#5 0x00007ffff35d858f in Avogadro::GLThread::run (this=0x777b60)
#6 0x00007ffff4c70775 in ?? () from /usr/lib/libQtCore.so.4
#7 0x00007ffff3e969ca in start_thread (arg=) at pthread_create.c:300
#8 0x00007ffff7b3f6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9 0x0000000000000000 in ?? ()
Reported by: @jiahao
The text was updated successfully, but these errors were encountered: