Skip to main content

autotest_g crashes

1 reply [Last post]
dsdsdds
Offline
Joined: 2009-07-20
Points: 0

Hi,

I compiled phoneme_feature-mr3-rel-src-b01-17_jul_2008.zip
When I ran midp/bin/arm/autotest_g on an ARM board, it crashes. The error message is :

Fatal signal SIGSEGV: errno=0; code=128; addr=(nil)
[Dumping all threads]
Current thread = 0x4034dbb8

[Thread: 0x4034dbb8 *** CURRENT ***]
Stack Trace (id=0) [
[ 0] com/sun/midp/security/SecurityInitializer.requestToken bci=0
[ 1] com/sun/midp/main/AbstractMIDletSuiteLoader. bci=8
[ 2] EntryFrame
[ 3] java/lang/Class.invoke_clinit bci=0
[ 4] java/lang/Class.initialize bci=128
[ 5] java/lang/Class.initialize bci=124
[ 6] java/lang/Class.initialize bci=124
[ 7] EntryFrame
]

How to get more detailed message, such as the name of the function which causes SIGSEGV?

The cross compiler I used produces EABI binary codes. Should I change some options in phoneme_feature?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dsdsdds
Offline
Joined: 2009-07-20
Points: 0

I [b]strace[/b]d runMidlet

(strace ./runMidlet -1 com.sun.midp.installer.AutoTester)

and found that the system calles before SIGSEGV are :

clock_gettime(CLOCK_MONOTONIC, {3837, 504839564}) = 0
mmap2(NULL, 1318912, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4034d000
mmap2(NULL, 45056, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4048f000
cacheflush(0x4034d000, 0x4034d140, 0, 0x545e8, 0x13c) = 1077202944

I guess [b]cacheflush[/b] caused SIGSEGV ...