[Gate-users] Problem running gate with an example macro

Simon Stute gate.stute at gmail.com
Mon Mar 15 18:46:41 CET 2010


Hi,

In maestro.mac, you say the following:

/vis/disable
/control/execute ../../examples/ejemploTesis/visualisation.mac

So you disable the visualization and then try to launch it !
Just do one by one thing but not both at the same time !

Cheers,
Simon

On Mon, Mar 15, 2010 at 6:39 PM, Nicolas Ivanovich <nivanovich at gmail.com>wrote:

> Hi Gate users
>
> Finally I got to compile and run Gate 4.0. However when I tried to run an
> example I read the following message on the gate console:
>
>
> Got standard cmap
> Window name: viewer-0 (OpenGLStoredX)
> WARNING: The vis manager will keep up to 10 events.
>  This may use a lot of memory.
>
> When I try to run it again I got the following:
>
> Got standard cmap
> Window name: viewer-1 (OpenGLStoredX)
> WARNING: The vis manager will keep up to 10 events.
>  This may use a lot of memory.
>  Volume of the same name and copy number ("world_P", copy 0) still exists
> and is being used.
>  WARNING: This does not necessarily guarantee it's the same
>  volume you originally specified in /vis/scene/add/.
>
>  *** Break *** write on a pipe with no one to read it
> X connection to :0.0 broken (explicit kill or server shutdown).
> *** glibc detected *** ./Gate: free(): invalid pointer: 0x096ca270 ***
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6[0x18d2ff1]
> /lib/tls/i686/cmov/libc.so.6[0x18d46f2]
> /lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x18d77cd]
> /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x16d66f1]
> ./Gate(_ZN18G4LossTableManagerD1Ev+0x2d)[0x893cc4d]
> /lib/tls/i686/cmov/libc.so.6[0x189705f]
> /lib/tls/i686/cmov/libc.so.6[0x18970cf]
> /usr/lib/libX11.so.6(_XDefaultIOError+0xb0)[0x1772260]
> /usr/lib/libX11.so.6(_XIOError+0x56)[0x17722e6]
> /usr/lib/libX11.so.6[0x1779f8a]
> /usr/lib/libX11.so.6(_XReply+0x106)[0x177a526]
> /usr/lib/libGL.so.1(DRI2GetBuffersWithFormat+0xd0)[0x33b51e0]
> /usr/lib/libGL.so.1[0x33b41d2]
> /usr/lib/dri/i965_dri.so(intel_update_renderbuffers+0x7b2)[0x2b2bcc2]
> /usr/lib/dri/i965_dri.so(intelMakeCurrent+0x17f)[0x2b2bf2f]
> /usr/lib/dri/i965_dri.so[0x2b1fb53]
> /usr/lib/libGL.so.1[0x33b3f8c]
> /usr/lib/libGL.so.1(glXMakeCurrentReadSGI+0x13f)[0x338fa2f]
> /usr/lib/libGL.so.1(glXMakeCurrent+0x23)[0x338fdd3]
> ./Gate(_ZN15G4OpenGLXViewer7SetViewEv+0x29)[0x849b189]
>
> ./Gate(_ZN31G4VisCommandSceneNotifyHandlers11SetNewValueEP11G4UIcommand8G4String+0x454)[0x84f4784]
> ./Gate(_ZN11G4UIcommand4DoItE8G4String+0x8e2)[0x8a94be2]
> ./Gate(_ZN11G4UImanager12ApplyCommandEPKc+0x4d6)[0x8a9cb16]
> ./Gate(_ZN12G4VisManager18GeometryHasChangedEv+0x235)[0x84cfda5]
>
> ./Gate(_ZN18G4RunManagerKernel17DefineWorldVolumeEP17G4VPhysicalVolumeb+0x279)[0x853f919]
> ./Gate(_ZN24GateDetectorConstruction14UpdateGeometryEv+0x42)[0x8201662]
> ./Gate(_ZN13GateMessenger20TellGeometryToUpdateEv+0x1b)[0x82218fb]
>
> ./Gate(_ZN23GateBoxCreatorMessenger11SetNewValueEP11G4UIcommand8G4String+0x90)[0x8285770]
> ./Gate(_ZN11G4UIcommand4DoItE8G4String+0x8e2)[0x8a94be2]
> ./Gate(_ZN11G4UImanager12ApplyCommandEPKc+0x4d6)[0x8a9cb16]
> ./Gate(_ZN9G4UIbatch11ExecCommandERK8G4String+0x34)[0x8aa8784]
> ./Gate(_ZN9G4UIbatch12SessionStartEv+0xf4)[0x8aaa024]
> ./Gate(_ZN11G4UImanager16ExecuteMacroFileEPKc+0x41)[0x8a9a1b1]
>
> ./Gate(_ZN20G4UIcontrolMessenger11SetNewValueEP11G4UIcommand8G4String+0xf2)[0x8aaa982]
> ./Gate(_ZN11G4UIcommand4DoItE8G4String+0x8e2)[0x8a94be2]
> ./Gate(_ZN11G4UImanager12ApplyCommandEPKc+0x4d6)[0x8a9cb16]
> ./Gate(_ZN12G4UIterminal14ExecuteCommandE8G4String+0x3b)[0x852e24b]
> ./Gate(_ZN12G4UIterminal12SessionStartEv+0x50)[0x852dd90]
> ./Gate(main+0x46c)[0x81fd1cc]
> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x187eb56]
> ./Gate[0x81fbfe1]
> ======= Memory map: ========
> 00110000-003b1000 r-xp 00000000 08:06 1182187
> /opt/simu/root/lib/libHist.so
> 003b1000-003be000 rw-p 002a1000 08:06 1182187
> /opt/simu/root/lib/libHist.so
> 003be000-003bf000 rw-p 00000000 00:00 0
> 003bf000-004bc000 r-xp 00000000 08:06 1182914
> /opt/simu/root/lib/libGraf3d.so
> 004bc000-004c2000 rw-p 000fc000 08:06 1182914
> /opt/simu/root/lib/libGraf3d.so
> 004c2000-004c5000 rw-p 00000000 00:00 0
> 004c5000-004f0000 r-xp 00000000 08:06 1182923
> /opt/simu/root/lib/libRint.so
> 004f0000-004f2000 rw-p 0002a000 08:06 1182923
> /opt/simu/root/lib/libRint.so
> 004f2000-00543000 r-xp 00000000 08:06 1182922
> /opt/simu/root/lib/libPostscript.so
> 00543000-00545000 rw-p 00051000 08:06 1182922
> /opt/simu/root/lib/libPostscript.so
> 00545000-00547000 r-xp 00000000 08:06 134910     /lib/tls/i686/cmov/
> libdl-2.10.1.so
> 00547000-00548000 r--p 00001000 08:06 134910     /lib/tls/i686/cmov/
> libdl-2.10.1.so
> 00548000-00549000 rw-p 00002000 08:06 134910     /lib/tls/i686/cmov/
> libdl-2.10.1.so
> 00549000-00550000 r-xp 00000000 08:06 3870       /usr/lib/libSM.so.6.0.0
> 00550000-00551000 r--p 00006000 08:06 3870       /usr/lib/libSM.so.6.0.0
> 00551000-00552000 rw-p 00007000 08:06 3870       /usr/lib/libSM.so.6.0.0
> 00552000-00554000 r-xp 00000000 08:06 3887
> /usr/lib/libXdamage.so.1.1.0
> 00554000-00555000 rw-p 00001000 08:06 3887
> /usr/lib/libXdamage.so.1.1.0
> 00556000-00571000 r-xp 00000000 08:06 1388       /lib/ld-2.10.1.so
> 00571000-00572000 r--p 0001a000 08:06 1388       /lib/ld-2.10.1.so
> 00572000-00573000 rw-p 0001b000 08:06 1388       /lib/ld-2.10.1.so
> 00573000-00668000 r-xp 00000000 08:06 1182915
> /opt/simu/root/lib/libGpad.so
> 00668000-00670000 rw-p 000f4000 08:06 1182915
> /opt/simu/root/lib/libGpad.so
> 00670000-00672000 rw-p 00000000 00:00 0
> 00672000-006fc000 r-xp 00000000 08:06 1182921
> /opt/simu/root/lib/libPhysics.so
> 006fc000-006ff000 rw-p 00089000 08:06 1182921
> /opt/simu/root/lib/libPhysics.so
> 006ff000-0076d000 r-xp 00000000 08:06 3830
> /usr/lib/libGLU.so.1.3.070600
> 0076d000-0076e000 r--p 0006e000 08:06 3830
> /usr/lib/libGLU.so.1.3.070600
> 0076e000-0076f000 rw-p 0006f000 08:06 3830
> /usr/lib/libGLU.so.1.3.070600
> 0076f000-00786000 r-xp 00000000 08:06 3903       /usr/lib/libXmu.so.6.2.0
> 00786000-00787000 r--p 00016000 08:06 3903       /usr/lib/libXmu.so.6.2.0
> 00787000-00788000 rw-p 00017000 08:06 3903       /usr/lib/libXmu.so.6.2.0
> 00788000-00796000 r-xp 00000000 08:06 3891       /usr/lib/libXext.so.6.4.0
> 00796000-00797000 r--p 0000d000 08:06 3891       /usr/lib/libXext.so.6.4.0
> 00797000-00798000 rw-p 0000e000 08:06 3891       /usr/lib/libXext.so.6.4.0
> 00798000-007ac000 r-xp 00000000 08:06 1036       /lib/libz.so.1.2.3.3
> 007ac000-007ad000 r--p 00013000 08:06 1036       /lib/libz.so.1.2.3.3
> 007ad000-007ae000 rw-p 00014000 08:06 1036       /lib/libz.so.1.2.3.3
> 007af000-007b0000 r-xp 00000000 00:00 0          [vdso]
> 007b0000-00a29000 r-xp 00000000 08:06 1182913
> /opt/simu/root/lib/libGraf.so
> 00a29000-00a3a000 rw-p 00278000 08:06 1182913
> /opt/simu/root/lib/libGraf.so
> 00a3a000-00a42000 rw-p 00000000 00:00 0
> 00a42000-00b66000 r-xp 00000000 08:06 3633       /usr/lib/libxml2.so.2.7.5
> 00b66000-00b6a000 r--p 00123000 08:06 3633       /usr/lib/libxml2.so.2.7.5
> 00b6a000-00b6b000 rw-p 00127000 08:06 3633       /usr/lib/libxml2.so.2.7.5
> 00b6b000-00b6c000 rw-p 00000000 00:00 0
> 00b6c000-00b81000 r-xp 00000000 08:06 134921     /lib/tls/i686/cmov/
> libpthread-2.10.1.so
> 00b81000-00b82000 r--p 00014000 08:06 134921     /lib/tls/i686/cmov/
> libpthread-2.10.1.so
> 00b82000-00b83000 rw-p 00015000 08:06 134921     /lib/tls/i686/cmov/
> libpthread-2.10.1.so
> 00b83000-00b85000 rw-p 00000000 00:00 0
> 00b85000-00bd4000 r-xp 00000000 08:06 3917       /usr/lib/libXt.so.6.0.0
> 00bd4000-00bd5000 r--p 0004f000 08:06 3917       /usr/lib/libXt.so.6.0.0
> 00bd5000-00bd8000 rw-p 00050000 08:06 3917       /usr/lib/libXt.so.6.0.0
> 00bd8000-01438000 r-xp 00000000 08:06 1182183
> /opt/simu/root/lib/libCore.so
> 01438000-0145a000 rw-p 00860000 08:06 1182183
> /opt/simu/root/lib/libCore.so
> 0145a000-014da000 rw-p 00000000 00:00 0
> 014da000-01616000 r-xp 00000000 08:06 792969     /opt/CLHEP/lib/
> libCLHEP-2.0.3.2.so
> 01616000-01617000 ---p 0013c000 08:06 792969     /opt/CLHEP/lib/
> libCLHEP-2.0.3.2.so
> 01617000-0161a000 r--p 0013c000 08:06 792969     /opt/CLHEP/lib/
> libCLHEP-2.0.3.2.so
> 0161a000-0161b000 rw-p 0013f000 08:06 792969     /opt/CLHEP/lib/
> libCLHEP-2.0.3.2.so
> 0161b000-0161e000 rw-p 00000000 00:00 0
> 0161e000-01704000 r-xp 00000000 08:06 2406
> /usr/lib/libstdc++.so.6.0.13
> 01704000-01708000 r--p 000e6000 08:06 2406
> /usr/lib/libstdc++.so.6.0.13
> 01708000-01709000 rw-p 000ea000 08:06 2406
> /usr/lib/libstdc++.so.6.0.13
> 01709000-01710000 rw-p 00000000 00:00 0
> 01710000-01714000 r-xp 00000000 08:06 3893
> /usr/lib/libXfixes.so.3.1.0
> 01714000-01715000 r--p 00003000 08:06 3893
> /usr/lib/libXfixes.so.3.1.0
> 01715000-01716000 rw-p 00004000 08:06 3893
> /usr/lib/libXfixes.so.3.1.0
> 01716000-0171d000 r-xp 00000000 08:06 134923     /lib/tls/i686/cmov/
> librt-2.10.1.so
> 0171d000-0171e000 r--p 00006000 08:06 134923     /lib/tls/i686/cmov/
> librt-2.10.1.so
> 0171e000-0171f000 rw-p 00007000 08:06 134923     /lib/tls/i686/cmov/
> librt-2.10.1.so
> 0171f000-01723000 r-xp 00000000 08:06 3889       /usr/lib/libXdmcp.so.6.0.0
> 01723000-01724000 rw-p 00003000 08:06 3889       /usr/lib/libXdmcp.so.6.0.0
> 01724000-0172a000 r-xp 00000000 08:06 134914     /lib/tls/i686/cmov/
> libnss_compat-2.10.1.so
> 0172a000-0172b000 r--p 00005000 08:06 134914     /lib/tls/i686/cmov/
> libnss_compat-2.10.1.so
> 0172b000-0172c000 rw-p 00006000 08:06 134914     /lib/tls/i686/cmov/
> libnss_compat-2.10.1.so
> 0172c000-01735000 r-xp 00000000 08:06 3885
> /usr/lib/libXcursor.so.1.0.2
> 01735000-01736000 r--p 00008000 08:06 3885
> /usr/lib/libXcursor.so.1.0.2
> 01736000-01737000 rw-p 00009000 08:06 3885
> /usr/lib/libXcursor.so.1.0.2
> 01739000-01863000 r-xp 00000000 08:06 3872       /usr/lib/libX11.so.6.2.0
> 01863000-01864000 ---p 0012a000 08:06 3872       /usr/lib/libX11.so.6.2.0
> 01864000-01865000 r--p 0012a000 08:06 3872       /usr/lib/libX11.so.6.2.0
> 01865000-01867000 rw-p 0012b000 08:06 3872       /usr/lib/libX11.so.6.2.0
> 01867000-01868000 rw-p 00000000 00:00 0
> 01868000-019a6000 r-xp 00000000 08:06 134907     /lib/tls/i686/cmov/
> libc-2.10.1.so
> 019a6000-019a7000 ---p 0013e000 08:06 134907     /lib/tls/i686/cmov/
> libc-2.10.1.so
> 019a7000-019a9000 r--p 0013e000 08:06 134907     /lib/tls/i686/cmov/
> libc-2.10.1.so
> 019a9000-019aa000 rw-p 00140000 08:06 134907     /lib/tls/i686/cmov/
> libc-2.10.1.so
> 019aa000-019ad000 rw-p 00000000 00:00 0
> 019ad000-019b6000 r-xp 00000000 08:06 134909     /lib/tls/i686/cmov/
> libcrypt-2.10.1.so
> 019b6000-019b7000 r--p 00008000 08:06 134909     /lib/tls/i686/cmov/
> libcrypt-2.10.1.so
> 019b7000-019b8000 rw-p 00009000 08:06 134909     /lib/tls/i686/cmov/
> libcrypt-2.10.1.so
> 019b8000-019df000 rw-p 00000000 00:00 0
> 019df000-019f2000 r-xp 00000000 08:06 134913     /lib/tls/i686/cmov/
> libnsl-2.10.1.so
> 019f2000-019f3000 r--p 00012000 08:06 134913     /lib/tls/i686/cmov/
> libnsl-2.10.1.so
> 019f3000-019f4000 rw-p 00013000 08:06 134913     /lib/tls/i686/cmov/
> libnsl-2.10.1.so
> 019f4000-019f6000 rw-p 00000000 00:00 0
> 019f6000-01a1a000 r-xp 00000000 08:06 1697       /lib/libexpat.so.1.5.2
> 01a1a000-01a1c000 r--p 00024000 08:06 1697       /lib/libexpat.so.1.5.2
> 01a1c000-01a1d000 rw-p 00026000 08:06 1697       /lib/libexpat.so.1.5.2
> 02067000-02071000 r-xp 00000000 08:06 134916     /lib/tls/i686/cmov/
> libnss_files-2.10.1.so
> 02071000-02072000 r--p 00009000 08:06 134916     /lib/tls/i686/cmov/
> libnss_files-2.10.1.so
> 02072000-02073000 rw-p 0000a000 08:06 134916     /lib/tls/i686/cmov/
> libnss_files-2.10.1.so
> 020dd000-020f9000 r-xp 00000000 08:06 4910       /usr/lib/libxcb.so.1.1.0
> 020f9000-020fa000 r--p 0001c000 08:06 4910       /usr/lib/libxcb.so.1.1.0
> 020fa000-020fb000 rw-p 0001d000 08:06 4910       /usr/lib/libxcb.so.1.1.0
> 02af7000-02d88000 r-xp 00000000 08:06 134503     /usr/lib/dri/i965_dri.so
> 02d88000-02d90000 r--p 00290000 08:06 134503     /usr/lib/dri/i965_dri.so
> 02d90000-02d92000 rw-p 00298000 08:06 134503     /usr/lib/dri/i965_dri.so
> 02d92000-02da1000 rw-p 00000000 00:00 0
> 02dd7000-02df3000 r-xp 00000000 08:06 3508       /lib/libgcc_s.so.1
> 02df3000-02df4000 r--p 0001b000 08:06 3508       /lib/libgcc_s.so.1
> 02df4000-02df5000 rw-p 0001c000 08:06 3508       /lib/libgcc_s.so.1
> 02ed5000-02ef9000 r-xp 00000000 08:06 134911     /lib/tls/i686/cmov/
> libm-2.10.1.so
> 02ef9000-02efa000 r--p 00023000 08:06 134911     /lib/tls/i686/cmov/
> libm-2.10.1.so
> 02efa000-02efb000 rw-p 00024000 08:06 134911     /lib/tls/i686/cmov/
> libm-2.10.1.so
> 03377000-033d0000 r-xp 00000000 08:06 3828       /usr/lib/libGL.so.1.2
> 033d0000-033d5000 r--p 00059000 08:06 3828       /usr/lib/libGL.so.1.2
> 033d5000-033da000 rwxp 0005e000 08:06 3828       /usr/lib/libGL.so.1.2
> 033da000-033db000 rwxp 00000000 00:00 0
> 03935000-0393d000 r-xp 00000000 08:06 4113       /usr/lib/libdrm.so.2.4.0
> 0393d000-0393e000 r--p 00007000 08:06 4113       /usr/lib/libdrm.so.2.4.0
> 0393e000-0393f000 rw-p 00008000 08:06 4113       /usr/lib/libdrm.so.2.4.0
> 03cd8000-03ce1000 r-xp 00000000 08:06 134918     /lib/tls/i686/cmov/
> libnss_nis-2.10.1.so
> 03ce1000-03ce2000 r--p 00008000 08:06 134918     /lib/tls/i686/cmov/
> libnss_nis-2.10.1.so
> 03ce2000-03ce3000 rw-p 00009000 08:06 134918     /lib/tls/i686/cmov/
> libnss_nis-2.10.1.so
> 051a3000-051ab000 r-xp 00000000 08:06 3913
> /usr/lib/libXrender.so.1.3.0
> 051ab000-051ac000 r--p 00007000 08:06 3913
> /usr/lib/libXrender.so.1.3.0
> 051ac000-051ad000 rw-p 00008000 08:06 3913
> /usr/lib/libXrender.so.1.3.0
> 062e6000-062e9000 r-xp 00000000 08:06 1029       /lib/libuuid.so.1.3.0
> 062e9000-062ea000 r--p 00002000 08:06 1029       /lib/libuuid.so.1.3.0
> 062ea000-062eb000 rw-p 00003000 08:06 1029       /lib/libuuid.so.1.3.0
> 06424000-0661f000 r-xp 00000000 08:06 1181946
> /opt/simu/root/lib/libCint.so
> 0661f000-06623000 rw-p 001fa000 08:06 1181946
> /opt/simu/root/lib/libCint.so
> 06623000-069a2000 rw-p 00000000 00:00 0
> 071ce000-071d6000 r-xp 00000000 08:06 4115
> /usr/lib/libdrm_intel.so.1.0.0
> 071d6000-071d7000 r--p 00007000 08:06 4115
> /usr/lib/libdrm_intel.so.1.0.0
> 071d7000-071d8000 rw-p 00008000 08:06 4115
> /usr/lib/libdrm_intel.so.1.0.0
> 07a70000-07a87000 r-xp 00000000 08:06 3841       /usr/lib/libICE.so.6.3.0
> 07a87000-07a88000 r--p 00016000 08:06 3841       /usr/lib/libICE.so.6.3.0
> 07a88000-07a89000 rw-p 00017000 08:06 3841       /usr/lib/libICE.so.6.3.0
> 07a89000-07a8b000 rw-p 00000000 00:00 0
> 07b17000-07d64000 r-xp 00000000 08:06 1182185
> /opt/simu/root/lib/libMatrix.so
> 07d64000-07d6b000 rw-p 0024d000 08:06 1182185
> /opt/simu/root/lib/libMatrix.so
> 07d6b000-07d6d000 rw-p 00000000 00:00 0
> 07e28000-07fdb000 r-xp 00000000 08:06 1182188
> /opt/simu/root/lib/libTree.soAbort
>
> I have attached the macros, where maestro.mac is the main macros which call
> the others.
>
> Thank you very much.
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>


More information about the Gate-users mailing list