Subject: Re: One core dump while building openoffice2
To: Bernd Ernesti <netbsd@lists.veego.de>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: pkgsrc-users
Date: 04/12/2007 16:32:46
Hello,

At Thu, 12 Apr 2007 08:41:27 +0200,
Bernd Ernesti wrote:
> I just noticed that there is a core dump when I build openoffice2 on NetBSD-current/i386.
> That core dump was found by the daily cron job:
> 
> OOF680_m14/sal/typesconfig/typesconfig.core

It's dumped by a child processes.

> cannot read address 0x0
> cannot write address 0x0

The program tries to access the NULL pointer.

  typesconfig.c:
  495         char* p = NULL;
  496         InfoMemoryAccess( p );
  497         p = (char*)&p;
  498         InfoMemoryAccess( p );

I don't know why it's needed.

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp