Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

On my embedded device, I have this error showing up after kernel boot:

init.exe: Caught segmentation fault, core dumped

But I cannot understand why is this happening? If I do battery cut( i.e. reboot my device foricbly) then the device boots and comes up fine.

Any pointers will be extremely helpful. Is this some transient low level memory issue?

It is linux 2.6.31 on Arm architecture.

share|improve this question
4  
Nowhere near enough information. What Unix is this? What type of init is this? What is the device? –  Chris Down Mar 28 '12 at 23:37
5  
Sorry, but there is not nearly enough information to answer this question. There probably is something wrong with your firmware, or with your software (maybe it's not initializing memory properly and picking up some old garbage that's set to a safe bit pattern upon reset), or even with your hardware. Good luck with debugging. –  Gilles Mar 28 '12 at 23:41
    
And why on earth is it named init.exe? .exe is for Windows. –  psusi Mar 29 '12 at 17:09
add comment

1 Answer

up vote 1 down vote accepted

The output mentions it dumped core. Try doing:

gdb -c [corefile]

Then at the (gdb) prompt, do:

(gdb) bt

To get a backtrace. If the binary was not stripped, you might be in luck and at least have something to google for :-)

PS: The core file might be core.PID, where PID was the PID of init.exe when it died.

sc.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.