Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

FLTBOUNDS and SIGSEGV

807575Apr 4 2006 — edited Apr 6 2006
I'm trying to determine a cause for an app failure. Running truss, I get the following output when the program crashes (this is the tail
end of a long truss file...):

11280: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xF2CA0000
11280: munmap(0xF2CA0000, 8192) = 0
11280: llseek(0, 0, SEEK_CUR) = 449889
11280: Incurred fault #6, FLTBOUNDS %pc = 0xF5142C5C
11280: siginfo: SIGSEGV SEGV_MAPERR addr=0x100362EC
11280: Received signal #11, SIGSEGV [default]
11280: siginfo: SIGSEGV SEGV_MAPERR addr=0x100362EC
11280: *** process killed ***

I'm assuming that the FLTBOUNDS error is happening because the app is trying to access memory beyond its appropriate limitations, but I can't seem to find anything which would point to common causes for such things.

I noticed a previous post which mentioned problems with libraries built without the fPIC option. Is this a common cause?

Also, the llseek(0,0,SEEK_CUR) is making me nervous. It looks like
we're seeking on fildes 0 which is stdin, correct?

Anyone insight into this would be greatly appreciated...

Compiler:
CC: Sun C++ 5.7 Patch 117830-02 2005/03/30

OS and hardware:
SunOS <box> 5.8 Generic_117350-28 sun4u sparc SUNW,Sun-Fire-V490

-memleak
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2006
Added on Apr 4 2006
3 comments
671 views