Bugs item #3200267, was opened at 2011-03-04 22:39
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3200267&group_id=165310

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Rendering
Group: v 1.1.0
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Jiahao Chen (jiahao)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash on startup with ENABLE_THREADEDGL

Initial Comment:
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)
    at /home/cjh/local/src/avogadro/libavogadro/src/pythonthread_p.h:37
#3  Avogadro::PythonExtension::paint (this=0x7ac560, widget=0x7fffe8245b60)
    at /home/cjh/local/src/avogadro/libavogadro/src/pythonextension_p.cpp:269
#4  0x00007ffff35e0fb2 in Avogadro::GLWidget::render (this=0x7fffe8245b60)
    at /home/cjh/local/src/avogadro/libavogadro/src/glwidget.cpp:797
#5  0x00007ffff35d858f in Avogadro::GLThread::run (this=0x777b60)
    at /home/cjh/local/src/avogadro/libavogadro/src/glwidget.cpp:342
#6  0x00007ffff4c70775 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007ffff3e969ca in start_thread (arg=<value optimized out>) at 
pthread_create.c:300
#8  0x00007ffff7b3f6fd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2012-08-30 03:32

Message:
wdR8c9  <a href="http://ghbqwsjonucp.com/";>ghbqwsjonucp</a>,
[url=http://ecflxbgvypjq.com/]ecflxbgvypjq[/url],
[link=http://dyagzohmcmeh.com/]dyagzohmcmeh[/link],
http://udsdsypahwdu.com/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2012-08-17 19:43

Message:
UAOEyE  <a href="http://bavzibaxvony.com/";>bavzibaxvony</a>,
[url=http://xbzsabvfecnj.com/]xbzsabvfecnj[/url],
[link=http://nzueavqhjzxd.com/]nzueavqhjzxd[/link],
http://uwmzssmyujpt.com/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2012-07-21 02:40

Message:
cFodc9  <a href="http://vvttigblozlr.com/";>vvttigblozlr</a>,
[url=http://ihjctdehrrcv.com/]ihjctdehrrcv[/url],
[link=http://fqaynsywlppm.com/]fqaynsywlppm[/link],
http://ngcldnluorfl.com/

----------------------------------------------------------------------

Comment By: Jiahao Chen (jiahao)
Date: 2011-04-07 13:02

Message:
Thanks for the reminder. The suggested patch provided by annulen worked for
me.

----------------------------------------------------------------------

Comment By: Geoff Hutchison (ghutchis)
Date: 2011-04-07 08:27

Message:
Not urgent, and poster hasn't responded about the proposed Git change.
Decreasing priority.

----------------------------------------------------------------------

Comment By: Konstantin Tokarev (annulen)
Date: 2011-03-05 05:39

Message:
Please try this patch: http://review.source.kitware.com/#change,980
Just execute given git command inside your local Avogadro git
Not Qt bug certainly

----------------------------------------------------------------------

Comment By: Jiahao Chen (jiahao)
Date: 2011-03-04 22:50

Message:
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
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.
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" 
QStackedLayout::setCurrentWidget: Widget 0xd83a00 not contained in stack
PreCalculate 
Finished queue. 
GLWidget initialisation... 
GLWidget initialised... 
createObjects() 
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3200267&group_id=165310

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to