root [0] .x /home/aghdiri/test.cc Info in : Geometry simple1, Simple geometry created Info in : Top volume is TOP. Master volume is TOP Info in : Fixing runtime shapes... Info in : ...Nothing to fix Info in : Counting nodes... Info in : Voxelizing... Info in : Building cache... Info in : --- Maximum geometry depth set to 100 Info in : 485 nodes/ 13 volume UID's in Simple geometry Info in : ----------------modeler ready---------------- Info in : Automatic visible depth disabled --- Drawing 360 nodes with 4 visible levels : created default TCanvas with name c1 *** Break *** segmentation violation Using host libthread_db library "/lib/libthread_db.so.1". Attaching to program: /proc/4790/exe, process 4790 [Thread debugging using libthread_db enabled] [New Thread -1239394640 (LWP 4790)] 0xffffe410 in __kernel_vsyscall () #1 0xb62c4753 in __waitpid_nocancel () from /lib/libc.so.6 #2 0xb626f3bb in do_system () from /lib/libc.so.6 #3 0xb63666bd in system () from /lib/libpthread.so.0 #4 0xb792104b in TUnixSystem::Exec () from /usr/local/root/lib/libCore.so #5 0xb79255b6 in TUnixSystem::StackTrace () from /usr/local/root/lib/libCore.so #6 0xb79245c5 in TUnixSystem::DispatchSignals () from /usr/local/root/lib/libCore.so #7 0xb7924759 in SigHandler () from /usr/local/root/lib/libCore.so #8 0xb791e16d in sighandler () from /usr/local/root/lib/libCore.so #9 #10 0xb4c92aad in glFinish () from /usr/local/root/lib/libRGL.so #11 0xb4b8ef71 in TGLStopwatch::FinishDrawing () from /usr/local/root/lib/libRGL.so #12 0xb4b8f074 in TGLStopwatch::InitOverhead () from /usr/local/root/lib/libRGL.so #13 0xb4b8f103 in TGLStopwatch::TGLStopwatch () from /usr/local/root/lib/libRGL.so #14 0xb4badb6a in TGLViewer::DoDraw () from /usr/local/root/lib/libRGL.so #15 0xb4b6120e in TGLKernel::DrawViewer () from /usr/local/root/lib/libRGL.so #16 0xb4baec5c in TGLViewer::RequestDraw () from /usr/local/root/lib/libRGL.so #17 0xb4b7fb5c in TGLSAViewer::Show () from /usr/local/root/lib/libRGL.so #18 0xb4b824c4 in TGLSAViewer::TGLSAViewer () from /usr/local/root/lib/libRGL.so #19 0xb4c4a074 in G__G__GL_404_0_7 () from /usr/local/root/lib/libRGL.so #20 0xb71815af in Cint::G__CallFunc::Execute () from /usr/local/root/lib/libCint.so #21 0xb78ae178 in TMethodCall::Execute () from /usr/local/root/lib/libCore.so #22 0xb7814de3 in TPluginHandler::ExecPlugin () from /usr/local/root/lib/libCore.so #23 0xb785f666 in TVirtualViewer3D::Viewer3D () from /usr/local/root/lib/libCore.so #24 0xb6950e2a in TPad::GetViewer3D () from /usr/local/root/lib/libGpad.so #25 0xb534c572 in TGeoPainter::DrawVolume () from /usr/local/root/lib/libGeomPainter.so #26 0xb54989de in TGeoVolume::Draw () from /usr/local/root/lib/libGeom.so #27 0xb5557d86 in G__G__Geom1_188_0_27 () from /usr/local/root/lib/libGeom.so #28 0xb713b5e5 in Cint::G__ExceptionWrapper () from /usr/local/root/lib/libCint.so #29 0xb7228f9b in G__call_cppfunc () from /usr/local/root/lib/libCint.so #30 0xb72017bb in G__interpret_func () from /usr/local/root/lib/libCint.so #31 0xb71f4879 in G__getfunction () from /usr/local/root/lib/libCint.so #32 0xb72996c4 in G__getstructmem () from /usr/local/root/lib/libCint.so #33 0xb728fa47 in G__getvariable () from /usr/local/root/lib/libCint.so #34 0xb71bc8ec in G__getitem () from /usr/local/root/lib/libCint.so #35 0xb71cf355 in G__getexpr () from /usr/local/root/lib/libCint.so #36 0xb72386c7 in G__exec_function () from /usr/local/root/lib/libCint.so #37 0xb723db60 in G__exec_statement () from /usr/local/root/lib/libCint.so #38 0xb71a7bb4 in G__exec_tempfile_core () from /usr/local/root/lib/libCint.so #39 0xb71a7e33 in G__exec_tempfile () from /usr/local/root/lib/libCint.so #40 0xb724ad19 in G__process_cmd () from /usr/local/root/lib/libCint.so #41 0xb7893c14 in TCint::ProcessLine () from /usr/local/root/lib/libCore.so #42 0xb788e4d4 in TCint::ProcessLineSynch () from /usr/local/root/lib/libCore.so #43 0xb77c1455 in TApplication::ProcessFile () from /usr/local/root/lib/libCore.so #44 0xb77bdc6e in TApplication::ProcessLine () from /usr/local/root/lib/libCore.so #45 0xb64a5038 in TRint::HandleTermInput () from /usr/local/root/lib/libRint.so #46 0xb64a469d in TTermInputHandler::Notify () from /usr/local/root/lib/libRint.so #47 0xb64a6636 in TTermInputHandler::ReadNotify () from /usr/local/root/lib/libRint.so #48 0xb792429c in TUnixSystem::CheckDescriptors () from /usr/local/root/lib/libCore.so #49 0xb7924e40 in TUnixSystem::DispatchOneEvent () from /usr/local/root/lib/libCore.so #50 0xb7842903 in TSystem::InnerLoop () from /usr/local/root/lib/libCore.so #51 0xb7843e17 in TSystem::Run () from /usr/local/root/lib/libCore.so #52 0xb77bce2c in TApplication::Run () from /usr/local/root/lib/libCore.so #53 0xb64a6439 in TRint::Run () from /usr/local/root/lib/libRint.so #54 0x08048d80 in main () Root > Error: class,struct,union or type Rgl not defined /home/aghdiri/test.cc:131: Error: class,struct,union or type Rgl not defined /home/aghdiri/test.cc:131: Error: class,struct,union or type Rgl not defined /home/aghdiri/test.cc:131: Error: class,struct,union or type Rgl not defined /home/aghdiri/test.cc:131: Error: class,struct,union or type Rgl not defined /home/aghdiri/test.cc:131: Error: class,struct,union or type Rgl not defined /home/aghdiri/test.cc:131: Error: class,struct,union or type Rgl not defined /home/aghdiri/test.cc:131: Error: class,struct,union or type Rgl not defined /home/aghdiri/test.cc:131: Error: class,struct,union or type Rgl not defined /home/aghdiri/test.cc:131: