On Tue, 18 Dec 2007, Wayne Farris wrote:
> Hi,
> Got an app that coredumps and the app developer is blaming the O/S install as
> the problem. This is the truss output (last part shown):
[ ... ]
> Incurred fault #6, FLTBOUNDS %pc = 0x0001C88C
> siginfo: SIGSEGV SEGV_MAPERR addr=0xFF2707B0
> Received signal #11, SIGSEGV [default]
> siginfo: SIGSEGV SEGV_MAPERR addr=0xFF2707B0
>
> This is the pstack output:
>
> m0072057_wmc:pstack core
> core 'core' of 22652: qlsc list -a wmc -q 8
> 0001c88c IDtoPATH (ffbfda30, 112, ff2707ac, ff3806ec, 278d, de9) + 14
> 0001c390 openMsg (ff1866c0, 112, 46800, 336, 30578, ffbfda30) + 15c
> 00013228 qlist (ffbfdc68, 0, 1, ff170000, 80808080, 77148) + 304
> 00012b18 main (58c, 14, 12000, 76b70, 1, 32e68) + 780
> 00011f48 _start (0, 0, 0, 0, 0, 0) + 108
> m0072057_wmc:
>
> Can anyone here tell me if these outputs contain any hints as to what might
> be the problem? This is Solaris 10 and the main difference between our
> server and the application developers is the level of the kernel patches
> (ours is later than theirs).
Yes, the function IDtoPATH(), part of this application, accessing its
third argument, ff2707ac at offset 4 within whatever it expects this data
structure to be, and finding that this address is invalid.
"Bad pointer", one would say.
>From a programmer's point of view, openMsg() called IDtoPATH() and passed
an invalid pointer to that function. Hence it crashes.
I do not see where one could "blame Solaris" from that. It's all within
application code, the whole sequence from:
main()->qlist()->openMsg()->IDtoPATH()
Please ask them if they are willing to share:
- the sourcecode for their app
- the coredump from that app crash
- comments / analysis logs/reports they've created so far ?
all that could help pinpointing what goes wrong.
Thanks,
FrankH.
>
> Wayne
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]
>
------------------------------------------------------------------------------
No good can come from selling your freedom, not for all the gold in the world,
for the value of this heavenly gift far exceeds that of any fortune on earth.
------------------------------------------------------------------------------
_______________________________________________
opensolaris-discuss mailing list
[email protected]