Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2007 23:29:54 +0200
From:      "Valery V.Chikalov" <valera@chikalov.dp.ua>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Linux emulation on FreeBSD AMD64
Message-ID:  <4724FF52.7090304@chikalov.dp.ua>
In-Reply-To: <20071028210706.GA60615@freebsd.org>
References:  <4721AB07.20708@novakom.com.ua> <fg05l9$n32$2@ger.gmane.org> <4723A8D6.6020002@chikalov.dp.ua> <20071028112910.GA84830@freebsd.org> <4724CBCA.30500@chikalov.dp.ua> <4724D99C.3080105@chikalov.dp.ua> <20071028184318.GA57240@freebsd.org> <4724EA7B.3010103@chikalov.dp.ua> <4724F83F.30503@chikalov.dp.ua> <20071028210706.GA60615@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Roman Divacky wrote:
>>> Just for the record: this make mprottect return success,
>>> but oracle coredumps nevertheless. (Sorry for rhyme :-)
>>>
>> But despite of this is a step forward!
>> Oracle server itself is running!
>> Only sqlplus(oracle control utility) and connected client oracle process 
>> are coredumping. So now I can start oracle server and ever generate new 
>> database.
>>
>> Now I am trying to understand the reasons of this coredumps. They are 
>> occurring rather accidental, and for example I must several times try to 
>> start oracle to achieve the result. Moreover after some time successful 
>> running and serving queries oracle server dump core and stop working too.
>  
> I think its quite obvious...  oracle expects some memory is executable
> and tries to execute something in it but freebsd has non-exec bit set
> on that memory hence core dump...
> 
> do you see any obvious flaw in this thought?

One and half(IMHO).

This occurs accidentally, as I have said I can sometimes start server, 
ask him about something and only after some time find him dead. 
Sometimes I ever cant start it. I think in your scenario it must be 
absolutely deterministic.

There are no AMD64 specific in your reasoning. Its working in i386 mode. 
Do you have some ideas about this?.

>>
>> And "bt" are not looking reasonable.
> 
> try to "disas" memory before the IP when the coredump happened. you
> might disas memory in the middle of instruction so try to increase/decrease
> by 1 the memory location...

I will try.

Thank you.
Valery.

> 
> roman




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4724FF52.7090304>