[Gate-users] Visualization error with OpenGL

Beien Wang benjaminwang91 at gmail.com
Mon Jun 9 12:01:36 CEST 2014


Dear all,

I have just installed Gate v7 on my Scientific Linux 5.3 computer. Gate can
be launched after struggling, but it when I try to use it, visualization is
not achievable (I don't know if it's OpenGL's problem or not) with errors
like this:






*Idle> /vis/open OGLG4OpenGLXViewer::G4OpenGLXViewer couldn't create
context.X Error of failed request:  BadMatch (invalid parameter
attributes)  Major opcode of failed request:  1 (X_CreateWindow)  Serial
number of failed request:  30  Current serial number in output stream:  37*

I also tried on the Gate v5 installed on this computer (which is usable at
least 2 years ago, but not by me). Similar errors occurs with more
description:







*/vis/open                           OGLSXG4OpenGLViewer::G4OpenGLViewer
couldn't create context.Window name: viewer-0 (OpenGLStoredX)X Error of
failed request:  BadMatch (invalid parameter attributes)  Major opcode of
failed request:  1 (X_CreateWindow)  Serial number of failed request:  30
Current serial number in output stream:  37*
*** glibc detected *** Gate: free(): invalid pointer: 0x000000000f85e0f8 ***
======= Backtrace: =========
/lib64/libc.so.6[0x37a1e7174f]
/lib64/libc.so.6(cfree+0x4b)[0x37a1e75a4b]
Gate(_ZN22G4HadronicProcessStore5CleanEv+0x30)[0x9ae420]
Gate(_ZN22G4HadronicProcessStoreD1Ev+0x16)[0x9b04c6]
/lib64/libc.so.6(exit+0xe5)[0x37a1e334f5]
/usr/lib64/libX11.so.6(_XError+0x0)[0x37a3e49d50]
/usr/lib64/libX11.so.6(_XError+0x116)[0x37a3e49e66]
/usr/lib64/libX11.so.6(_XReply+0x199)[0x37a3e4b8e9]
/usr/lib64/libX11.so.6(XInternAtom+0xae)[0x37a3e3237e]
/usr/lib64/libX11.so.6(XSetWMProperties+0x175)[0x37a3e46065]
Gate(_ZN15G4OpenGLXViewer16CreateMainWindowEv+0x30d)[0x898eed]
Gate(_ZN21G4OpenGLStoredXViewer10InitialiseEv+0x19)[0x88d4b9]
Gate(_ZN12G4VisManager12CreateViewerE8G4StringS0_+0x7f)[0x8cca3f]
Gate(_ZN24G4VisCommandViewerCreate11SetNewValueEP11G4UIcommand8G4String+0x48e)[0x9122ae]
Gate(_ZN11G4UIcommand4DoItE8G4String+0xa6e)[0xe9a72e]
Gate(_ZN11G4UImanager12ApplyCommandEPKc+0x35a)[0xea1c3a]
Gate(_ZN16G4VisCommandOpen11SetNewValueEP11G4UIcommand8G4String+0x134)[0x8e2564]
Gate(_ZN11G4UIcommand4DoItE8G4String+0xa6e)[0xe9a72e]
Gate(_ZN11G4UImanager12ApplyCommandEPKc+0x35a)[0xea1c3a]
Gate(_ZN12G4UIterminal14ExecuteCommandE8G4String+0x47)[0x92be47]
Gate(_ZN12G4UIterminal12SessionStartEv+0x40)[0x92b9a0]
Gate(main+0x441)[0x5cf0c1]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x37a1e1d9c4]
Gate(_ZN5TTree12BranchImpRefEPKcP6TClass9EDataTypePvii+0xe1)[0x5cdfd9]
======= Memory map: ========
00400000-01166000 r-xp 00000000 08:02 51486157
/home/mamo/programs/gate/gate_v5.0.0_p01/bin/Linux-g++/Gate
01365000-013a4000 rw-p 00d65000 08:02 51486157
/home/mamo/programs/gate/gate_v5.0.0_p01/bin/Linux-g++/Gate
013a4000-014c0000 rw-p 013a4000 00:00 0
0f561000-0fb21000 rw-p 0f561000 00:00 0
[heap]
40565000-40567000 rwxp 00000000 00:11 1503
/dev/zero
40b88000-40c0d000 rw-p 00000000 00:11 1503
/dev/zero
37a1a00000-37a1a1c000 r-xp 00000000 08:02 48332873
/lib64/ld-2.5.so
37a1c1c000-37a1c1d000 r--p 0001c000 08:02 48332873
/lib64/ld-2.5.so
37a1c1d000-37a1c1e000 rw-p 0001d000 08:02 48332873
/lib64/ld-2.5.so
37a1e00000-37a1f4f000 r-xp 00000000 08:02 48332978
/lib64/libc-2.5.so
37a1f4f000-37a214f000 ---p 0014f000 08:02 48332978
/lib64/libc-2.5.so
37a214f000-37a2153000 r--p 0014f000 08:02 48332978
/lib64/libc-2.5.so
37a2153000-37a2154000 rw-p 00153000 08:02 48332978
/lib64/libc-2.5.so
37a2154000-37a2159000 rw-p 37a2154000 00:00 0
37a2200000-37a2282000 r-xp 00000000 08:02 48333015
/lib64/libm-2.5.so
37a2282000-37a2481000 ---p 00082000 08:02 48333015
/lib64/libm-2.5.so
37a2481000-37a2482000 r--p 00081000 08:02 48333015
/lib64/libm-2.5.so
37a2482000-37a2483000 rw-p 00082000 08:02 48333015
/lib64/libm-2.5.so
37a2600000-37a2602000 r-xp 00000000 08:02 48333011
/lib64/libdl-2.5.so
37a2602000-37a2802000 ---p 00002000 08:02 48333011
/lib64/libdl-2.5.so
37a2802000-37a2803000 r--p 00002000 08:02 48333011
/lib64/libdl-2.5.so
37a2803000-37a2804000 rw-p 00003000 08:02 48333011
/lib64/libdl-2.5.so
37a2a00000-37a2a7f000 r-xp 00000000 08:02 16772797
/usr/lib64/libGLU.so.1.3.060501
37a2a7f000-37a2c7e000 ---p 0007f000 08:02 16772797
/usr/lib64/libGLU.so.1.3.060501
37a2c7e000-37a2c80000 rw-p 0007e000 08:02 16772797
/usr/lib64/libGLU.so.1.3.060501
37a2e00000-37a2e14000 r-xp 00000000 08:02 16773457
/usr/lib64/libz.so.1.2.3
37a2e14000-37a3013000 ---p 00014000 08:02 16773457
/usr/lib64/libz.so.1.2.3
37a3013000-37a3014000 rw-p 00013000 08:02 16773457
/usr/lib64/libz.so.1.2.3
37a3a00000-37a3a05000 r-xp 00000000 08:02 16773453
/usr/lib64/libXdmcp.so.6.0.0
37a3a05000-37a3c04000 ---p 00005000 08:02 16773453
/usr/lib64/libXdmcp.so.6.0.0
37a3c04000-37a3c05000 rw-p 00004000 08:02 16773453
/usr/lib64/libXdmcp.so.6.0.0
37a3e00000-37a3f05000 r-xp 00000000 08:02 16773454
/usr/lib64/libX11.so.6.2.0
37a3f05000-37a4105000 ---p 00105000 08:02 16773454
/usr/lib64/libX11.so.6.2.0
37a4105000-37a410c000 rw-p 00105000 08:02 16773454
/usr/lib64/libX11.so.6.2.0
37a4200000-37a4202000 r-xp 00000000 08:02 16773452
/usr/lib64/libXau.so.6.0.0
37a4202000-37a4401000 ---p 00002000 08:02 16773452
/usr/lib64/libXau.so.6.0.0
37a4401000-37a4402000 rw-p 00001000 08:02 16773452
/usr/lib64/libXau.so.6.0.0
37a4a00000-37a4a10000 r-xp 00000000 08:02 16773480
/usr/lib64/libXext.so.6.4.0
37a4a10000-37a4c10000 ---p 00010000 08:02 16773480
/usr/lib64/libXext.so.6.4.0
37a4c10000-37a4c11000 rw-p 00010000 08:02 16773480
/usr/lib64/libXext.so.6.4.0
37a8000000-37a8008000 r-xp 00000000 08:02 16773498
/usr/lib64/libXi.so.6.0.0
3Aborted

I look forward to any suggestions!

Best,
-- 
Beien Wang
Master's student at KTH, Royal Institute of Technology
Email: benjaminwang91 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140609/0f2dcc51/attachment.html>


More information about the Gate-users mailing list