SF.net SVN: avogadro: trunk/libavogadro

2007/9/16, dcurtis3@users.sourceforge.net dcurtis3@users.sourceforge.net:

Revision: 650
http://avogadro.svn.sourceforge.net/avogadro/?rev=650&view=rev

glwidget.cpp: added define to enable threaded OpenGL widget. Disabled by
default so we can get a release out. It’s some bug caused by XCB on my system.
If you want to compile with a thread-enabled GLWidget do ‘cmake
-DENABLE_THREADED_GL …’ that should do it. patch for PR#1760151

It still hangs here (without the -DENABLE_THREADED_GL). No local
patches. Strace still shows this (and then hangs there ad infinitum):

writev(9, [{“b\0\6\0\17\0\0\0”, 8}, {“XInputExtension”, 15}, {“\0”, 1}], 3) = 24
read(9, “\1\322{\0\0\0\0\0\1\221_\250\0\20\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
futex(0x80d1f90, FUTEX_WAIT, 2, NULL

Carsten

Am Sonntag, 16. September 2007 15:19:48 schrieb Carsten Niehaus:

2007/9/16, dcurtis3@users.sourceforge.net dcurtis3@users.sourceforge.net:

Revision: 650
http://avogadro.svn.sourceforge.net/avogadro/?rev=650&view=rev

glwidget.cpp: added define to enable threaded OpenGL widget. Disabled by
default so we can get a release out. It’s some bug caused by XCB on my
system. If you want to compile with a thread-enabled GLWidget do ‘cmake
-DENABLE_THREADED_GL …’ that should do it. patch for PR#1760151

It still hangs here (without the -DENABLE_THREADED_GL). No local
patches. Strace still shows this (and then hangs there ad infinitum):

writev(9, [{“b\0\6\0\17\0\0\0”, 8}, {“XInputExtension”, 15}, {“\0”, 1}], 3)
= 24 read(9, “\1\322{\0\0\0\0\0\1\221_\250\0\20\0\0\0\0\0\0\0\0\0\0\0”…,
32) = 32 futex(0x80d1f90, FUTEX_WAIT, 2, NULL

r651 finally fixed this (Donald found a missing ifdef).

a happy Carsten