'CORE3261: Crash occurred in NSAPI SAF set-default-type' on Oracle iPlanet Webserver V7.0.9 & V7.0.10 Running on RedHat Linux Platform Crashes on Setting Iso Charset (Doc ID 1307628.1)

Last updated on JULY 12, 2017

Applies to:

Oracle iPlanet Web Server - Version 7.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Iplanet Web Server 7.0.9 or 7.0.10 releases crash when attempting to GET HTTP content

Description:
-----------

"set-default-type" is a web server saf which allows a user to set the default
type for charset, content-encoding and content-language.

However use of this function on RedHat causes the web server to crash.


To Reproduce
------------

Create fresh install and enable the function in the appropriate obj.conf file. e.g.

ObjectType fn="set-default-type" charset="iso_8859-1" lang="en-us"


Then make a request a simple request,


The request will fail and the error log with show:

[24/Jan/2011:17:05:43] catastrophe ( 2716): CORE3260: Server crash detected (signal SIGSEGV)
[24/Jan/2011:17:05:43] info ( 2716): CORE3261: Crash occurred in NSAPI SAF set-default-type




The problem stack will look like this:


#0 0xf7da0e0c in pblock_findkeyval () from /opt/oracle/webserver7/lib/libns-httpd40.so
#1 0xf7dca48a in OtypeHelerSetDefaults(Request*, pblock*) () from /opt/oracle/webserver7/lib/libns-httpd40.so
#2 0xf7df5d62 in otype_setdefaulttype () from /opt/oracle/webserver7/lib/libns-httpd40.so
#3 0xf7dbc30b in func_exec_str () from /opt/oracle/webserver7/lib/libns-httpd40.so
#4 0xf7dbc7ae in INTfunc_exec_directive () from /opt/oracle/webserver7/lib/libns-httpd40.so
#5 0xf7dc3673 in INTobject_execute () from /opt/oracle/webserver7/lib/libns-httpd40.so
#6 0xf7dc20ba in INTservact_handle_processed () from /opt/oracle/webserver7/lib/libns-httpd40.so
#7 0xf7e16f68 in HttpRequest::UnacceleratedRespond() () from /opt/oracle/webserver7/lib/libns-httpd40.so
#8 0xf7e178e1 in HttpRequest::HandleRequest(netbuf*, unsigned int) () from /opt/oracle/webserver7/lib/libns-httpd40.so
#9 0xf7e1582f in DaemonSession::run() () from /opt/oracle/webserver7/lib/libns-httpd40.so
#10 0xf7c92850 in ThreadMain () from /opt/oracle/webserver7/lib/libnsprwrap.so
#11 0xf6a57090 in _pt_root () from /opt/oracle/webserver7/lib/libnspr4.so
#12 0x00a7a832 in start_thread () from /lib/libpthread.so.0
#13 0x009f8e0e in clone () from /lib/libc.so.6

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms