Re: 64-bit c++ application crashing on solaris



On Mar 29, 10:14 am, Paul Pluzhnikov <ppluzhnikov-...@xxxxxxxxx>
wrote:
Sumir <sumirme...@xxxxxxxxx> writes:
The application seems to be crashing intermittently for no specific
reason.

Oh, there *is* a reson (or a few).

The very first question you should ask is where exactly is it
crashing? Use debugger to find out.

We think this could probably be due to sufficient memory not available
to the 64-bit application.

You have not presented any reason why you'd think that.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.

Hi Paul,

I ran a truss on the application to have a trace. It resulted into
this ...

lwp_sema_post(0xFFFFFFFF7D003D60) = 0
lwp_mutex_lock(0xFFFFFFFF7E72B068) = 0
read(39, " 3 e c 0 a 8 f 1 c 7 d 0".., 512) = 512
lwp_mutex_wakeup(0xFFFFFFFF7E72B068) = 0
time() = 1205757131
lwp_mutex_lock(0xFFFFFFFF7E72B068) = 0
Incurred fault #6, FLTBOUNDS %pc = 0xFFFFFFFF7E449BBC
siginfo: SIGSEGV SEGV_MAPERR addr=0x0FAE0350
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0x0FAE0350
*** process killed ***


Seems there is some memory access violation. But the thing is, this
same application compiled in 32-bit mode, run on the same environment
(same machine) fares well. So if it were something to do within the
code, in way of accessing memory wrongly, it should have surfaced in
the 32-bit version as well.
.



Relevant Pages

  • Re: 64-bit c++ application crashing on solaris
    ... The very first question you should ask is where exactly is it ... Use debugger to find out. ... You have not presented any reason why you'd think that. ... Ian Collins. ...
    (comp.unix.programmer)
  • Re: Im just getting started an I have some questions on tables.
    ... The reason for the company/customers was having all the contacts - people - ... > data entry form for each. ... >> individuals but both the company contact sub form and the individual ... The first question ...
    (microsoft.public.access.gettingstarted)
  • Re: Polanski
    ... equipped to argue) is there any good reason why he shouldn't be extradited and put ... before a US court? ... hearing would be my first question. ...
    (uk.legal)
  • Re: 64-bit c++ application crashing on solaris
    ... The very first question you should ask is where exactly is it ... Use debugger to find out. ... You have not presented any reason why you'd think that. ... In order to understand recursion you must first understand recursion. ...
    (comp.unix.programmer)
  • Re: Remote pine Denial of Service
    ... the inbox for some reason.. ... If you have the message in your sent-mail, it dumps pine with: ... Received signal #11, SIGSEGV ...
    (Bugtraq)