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