Closed Bug 13779 Opened 21 years ago Closed 21 years ago
startup crash under HP-UX
On an HP-UX 10.20 system using gcc 2.95.1, gtk 1.2.4, and NSPR threads I have been getting a consistent crash during startup for the last several days, including code I pulled at 7:00 AM EDT Sept 14. When I run the code in the debugger I get the following: Program received signal SIGSEGV, Segmentation fault. 0x7a9a63d8 in PL_strcmp (a=0x74206465 <Address 0x74206465 out of bounds>, b=0x7a5a04b8 "Unicode") at strcmp.c:33 33 return (PRIntn)(*((const unsigned char *)a) - *((const unsigned char *)b)); The stack trace above the PL_strcmp function is not readable. By putting static counters in the code I can determine that it is NOT always the same call to PL_strcmp that is crashing. When the crash occurs the value of the argument a always has the value 0x74206465. If I stop in the code when the value of a has this value, the debugger still can not give me a stack trace. If I had to guess what the problem was I would say its an NSPR thread jumping to an invalid context, but this is only a guess.
Chris, who's the czar of the HP platform these days?
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
This was fixed a few days ago by adding static to the FactoryData g_FactoryData declaration.
MArking Verified per last comments
You need to log in before you can comment on or make changes to this bug.