Operating System - OpenVMS
1827794 Members
2370 Online
109969 Solutions
New Discussion

Re: Apache bad system call accvio

 
SOLVED
Go to solution
Aaron Sakovich
Super Advisor

Apache bad system call accvio

I'm running CSWS v1.3-1 update v1 with PHP v1.2-1. On PHP code that works just fine on another system (albeit running SWS v2), I sometimes get PHP blowing off the server process associated with the specific client connection.

In error_log., I see:

[Thu Mar 17 11:15:55 2005] [notice] child pid 490 exit signal Bad system call (12, 0x1000000C)

And in the Apache$$000.log file, I see:

$! PHP_SETUP.COM
$!
$ VERIFY = F$VERIFY (0)
$ EXIT 1
$ SET NOVERIFY ! Required by CGI (else malformed header error)
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000000000

Improperly handled condition, image exit forced.
Signal arguments: Number = 0000000000000005
Name = 000000000000000C
0000000000010000
0000000000000000
0000000000000000
000000000000001B

Register dump:
R0 = 000000000000001C R1 = 000000000000001D R2 = 0000000000000000
R3 = 0000000000000000 R4 = 0000000000000000 R5 = 0000000000000000
R6 = 0000000000000000 R7 = 0000000000000000 R8 = 0000000000000009
R9 = 00000000010F59B0 R10 = 0000000000000006 R11 = 0000000001328000
R12 = 0000000000000000 R13 = 00000000006368F8 R14 = 0000000000636CBC
R15 = 0000000000636CB8 R16 = 000000007AE67BF8 R17 = 0000000000000000
R18 = 0000000000000003 R19 = 0000000000000001 R20 = 000000007FFF0000
R21 = 0000000000000002 R22 = 0000000000000000 R23 = 0000000000000000
R24 = 0000000037DF97EA R25 = FFFFFFFF817F4A00 R26 = 0000000000000000
R27 = 0000000000000004 R28 = 0000000000000000 R29 = 0000000000000000
SP = 000000007AE67C30 PC = 0000000000000000 PS = 300000000000001B
APACHE$WWW job terminated at 17-MAR-2005 11:15:55.27


I'm at a loss as to what's going on -- I just know that if I continue to attempt to load the requested page, it will eventually go through without the accvio!

I seem to recall seeing something like this before, but for an older version of VMS -- I'm running 7.3-2.

Any ideas what might be going bad?

TIA,
Aaron
6 REPLIES 6
Jan van den Ende
Honored Contributor

Re: Apache bad system call accvio

Aaron,

Virtual Address 00000000

that means a serious (fatal) addressing error!

NO address below 512 (%X200) is ever valid, and that is a pretty nice safeguard for early detection of straightforward programming errors, it it also often traps situations where data manipulation somehow gets de-railed.

PS.
from your profile:
"I have assigned points to 27 of 45 responses to my questions. "

Please try to find some time for catching-up. Those responding also found time for you!
The easy way to find them is via the link to your ID, and then "topics with unassigned answers"

Proost.

Have one on me.

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Aaron Sakovich
Super Advisor

Re: Apache bad system call accvio

The majority of those unassigned points were due to one old thread where a bunch of folks posted "me too".

Now, I've done my part by assigning 0 to all those "me too"s, does anyone have a solution for me?
John Gillings
Honored Contributor

Re: Apache bad system call accvio

Aaron,

This is a fairly generic error message. The ACCVIO gives you Virtual Address and PC. What's interesting here is they're both 0. Typically that means a branch to a zero address.

One common reason for this would be a link time failure to resolve a reference. At run time you try to call a non-existent routine -> ACCVIO.

Another possibility is a call frame being corrupted, overwriting the return address to zero. So, then the routine attempts to RET, you get a 0/0 ACCVIO. This could be a symptom of a (failed) attempt at a buffer overrun exploit.

Another possibility from your description... you're running different versions, so maybe it's a bug fixed in the other version? (stating the obvious?)

If you can identify the process getting the error, try enabling process dumps, and do a post mortem to try and work out what it thought it was doing at the time.

A crucible of informative mistakes
Aaron Sakovich
Super Advisor

Re: Apache bad system call accvio

That's all very well and interesting. But I'm running HP's SWS and HP's build of PHP. It's open-source PHP code that's showcasing this problem, so the question then becomes "should the latest verson of PHP running on a supported version of SWS generate ACCVIOs?"

HP's the company that linked this stuff, not me. I've met all the pre-reqs for this kit (OpenVMS 7.3-2, TCP/IP 5.4-4, and Apache/SWS v1.3-latest). My question is why isn't YOUR software working? I know nothing about the internals of PHP or Apache, but would be more than happy to get a process dump for HP to look at.

I am trying to be civil (exceedingly difficult after contractors took down our entire computer room last night, corrupting my Oracle installation, but that's not your problem), but asking me to run debug on HP's code doesn't exactly sound like "support" to me. And according to my latest DSNlink termination letter, ITRC ("HP's premier support site for IT professionals") is supposed to be my recourse now.

So, how would you like your process dump served?
Ian Miller.
Honored Contributor
Solution

Re: Apache bad system call accvio

Aaron, log a call with your CSC. SWS is supported on systems with a VMS support contract. A call can be logged using the web interface elsewhere on itrc or by telephone.
____________________
Purely Personal Opinion
Volker Halle
Honored Contributor

Re: Apache bad system call accvio

for cross-reference:

Same kind of ACCVIO described in thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1009572

Problem seems to be related to 0-length files accessed by PHP

Volker.