Message: AIDAJNI and "gdb" Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None AIDAJNI and "gdb" 

Forum: Analysis
Date: 16 Sep, 2004
From: Fan Lei <Fan Lei>

I have a program which work fine normally but crash when run under "gdb". The backtrace data seems to suggest a problem with AIDAJNI.

My question is can program linked to AIDAJNI be run under "gdb", if not what is the right tool to use for debugging.

Fan

----------------------------------
.
.
.
Index : 2     used in the geometry : Yes     recalculation needed : No 
 Material : Germanium
 Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm 
 Energy thresholds :  gamma 20.6936 keV    e- 863.242 keV    e+ 821.764 keV
 Region(s) which use this couple : 
    Detector

====================================================================

### Histo books 6 histograms Loaded linked in JVM. Looking for already loaded JVMs... None found. Using CLASSPATH.

classpathOption: -Djava.class.path=/fred/flei/AIDAJNI-3.2.2/lib/freehep-aidajni.jar:/fred/flei/JAIDA-3.2.2/lib/optimizers.jar:/fred/flei/JAIDA-3.2.2/lib/openide-lookup.jar:/fred/flei/JAIDA-3.2.2/lib/jel.jar:/fred/flei/JAIDA-3.2.2/lib/jas-plotter.jar:/fred/flei/JAIDA-3.2.2/lib/freehep-hep.jar:/fred/flei/JAIDA-3.2.2/lib/freehep-base.jar:/fred/flei/JAIDA-3.2.2/lib/bcel.jar:/fred/flei/JAIDA-3.2.2/lib/aida-dev.jar:/fred/flei/JAIDA-3.2.2/lib/aida.jar:
[New Thread 1098546368 (LWP 11663)] [New Thread 1099070528 (LWP 11664)] [New Thread 1099594688 (LWP 11665)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1081983616 (LWP 11642)] 0x43ac5e78 in ?? () (gdb) bt
#0  0x43ac5e78 in ?? ()
#1  0x43ac0d04 in ?? ()
#2  0x43ac0d04 in ?? ()
#3  0x43ac0d04 in ?? ()
#4  0x43ac0d04 in ?? ()
#5  0x43ac0d04 in ?? ()
#6  0x43ac0d04 in ?? ()
#7  0x43abe104 in ?? ()
#8  0x402e2a54 in JavaCalls::call_helper () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#9  0x403969ed in os::os_exception_wrapper () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#10 0x402e2ca6 in JavaCalls::call () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#11 0x402eb4a7 in jni_invoke_nonstatic () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#12 0x402ee6de in jni_CallObjectMethod () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#13 0x40eb3b36 in JNU_GetStringPlatformChars () from /usr/local/j2sdk/j2sdk1.4.2/jre/lib/i386/libjava.so
#14 0x40eb7e7f in Java_java_io_UnixFileSystem_canonicalize0 () from /usr/local/j2sdk/j2sdk1.4.2/jre/lib/i386/libjava.so
#15 0x43ac6bf2 in ?? ()
#16 0x43ac0d04 in ?? ()
#17 0x43ac0d04 in ?? ()
#18 0x43ac0d04 in ?? ()
#19 0x43ac0c83 in ?? ()
#20 0x43ac0ddb in ?? ()
#21 0x43ac0ddb in ?? ()
#22 0x43ac0ddb in ?? ()
#23 0x43abe104 in ?? ()
#24 0x402e2a54 in JavaCalls::call_helper () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#25 0x403969ed in os::os_exception_wrapper () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#26 0x402e2ca6 in JavaCalls::call () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#27 0x402e2de6 in JavaCalls::call_static () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#28 0x403dbc15 in call_initializeSystemClass () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#29 0x403deae8 in Threads::create_vm () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#30 0x403057ef in JNI_CreateJavaVM () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#31 0x4013c0b8 in JNICcreateJVM () from /fred/flei/AIDAJNI-3.2.2/lib/Linux-g++/libFHJNI.so
#32 0x4013c400 in JNIUtil::createJVM(JNIEnv_**, JavaVM_**) () from /fred/flei/AIDAJNI-3.2.2/lib/Linux-g++/libFHJNI.so
#33 0x4008a616 in JAIDA::JIAnalysisFactory::JIAnalysisFactory() () from /fred/flei/AIDAJNI-3.2.2/lib/Linux-g++/libAIDAJNI.so
#34 0x4008b1bf in AIDA_createAnalysisFactory () from /fred/flei/AIDAJNI-3.2.2/lib/Linux-g++/libAIDAJNI.so
#35 0x08063a70 in Histo::book() (this=0x8ca1df0) at src/Histo.cc:67
#36 0x08052604 in AnalysisManager::BeginOfRun() (this=0x8ca1f70) at src/AnalysisManager.cc:82
#37 0x08061637 in exrdmRunAction::BeginOfRunAction(G4Run const*) (this=0x8cc4958, aRun=0xa568718) at src/exrdmRunAction.cc:29
#38 0x085e55af in G4RunManager::RunInitialization() ()
#39 0x085e51b4 in G4RunManager::BeamOn(int, char const*, int) ()
#40 0x085ee143 in G4RunMessenger::SetNewValue(G4UIcommand*, G4String) ()
#41 0x0874a000 in G4UIcommand::DoIt(G4String) ()
#42 0x0875797a in G4UImanager::ApplyCommand(char const*) ()
#43 0x087604ea in G4UIbatch::SessionStart() ()
#44 0x08755c15 in G4UImanager::ExecuteMacroFile(char const*) ()
#45 0x08765153 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) ()
#46 0x0874a000 in G4UIcommand::DoIt(G4String) ()
#47 0x0875797a in G4UImanager::ApplyCommand(char const*) ()
#48 0x080513da in main (argc=2, argv=0xbfffe344) at exRDM.cc:74
#49 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: RE: AIDAJNI and "gdb"   (tony_johnson@slac.stanford.edu - 16 Sep, 2004)
(_ None: RE: AIDAJNI and "gdb"   (Fan Lei - 17 Sep, 2004)
 Add Message Add Message
to: "AIDAJNI and "gdb""

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]