Subject: Run-time failure for openoffice.
To: None <tech-pkg@netbsd.org>
From: Dave Burgess <burgess@mitre.org>
List: tech-pkg
Date: 03/07/2002 13:48:30
I've just finished building openoffice from pkgsrc and keep getting the
same error indications:

<Include>
% soffice

-----------------------------------------------------------------
  OpenOffice has not yet been set up for burgess.
  Starting setup ...

  (If OpenOffice has already been set up for burgess or you
  want to install it someplace other than
/usr/pub/burgess/OpenOffice.org641
  please abort the installation procedure now, set the $SOFFICE
  environment variable accordingly and rerun /usr/pkg/bin/soffice.)
-----------------------------------------------------------------

Segmentation fault

Done.  Starting OpenOffice ...

</Include>

The spadmin program fails the same way, and both fail in precisely the
same kind of code in the ktrace.  I played around with it for about a
half hour this morning before I left for work, and here's the last 100
or so lines of the ktrace:

 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes
       "\^A\0G\0\^C\0\0\0
        \0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x804e820,0xa)
 12618 spadmin.bin GIO   fd 6 read 10 bytes
       "_WIN_HINTS"
 12618 spadmin.bin RET   read 10/0xa
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0H\0\^D\0\0\0\^N\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x804e830,0xe)
 12618 spadmin.bin GIO   fd 6 read 14 bytes
       "_WIN_APP_STATE"
 12618 spadmin.bin RET   read 14/0xe
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0I\0\^E\0\0\0\^R\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x8066760,0x12)
 12618 spadmin.bin GIO   fd 6 read 18 bytes
       "_WIN_EXPANDED_SIZE"
 12618 spadmin.bin RET   read 18/0x12
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes
       "\^A\0J\0\^C\0\0\0
        \0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x804e840,0xa)
 12618 spadmin.bin GIO   fd 6 read 10 bytes
       "_WIN_ICONS"
 12618 spadmin.bin RET   read 10/0xa
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0K\0\^D\0\0\0\^N\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x804e850,0xe)
 12618 spadmin.bin GIO   fd 6 read 14 bytes
       "_WIN_WORKSPACE"
 12618 spadmin.bin RET   read 14/0xe
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0L\0\^E\0\0\0\^T\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x80667e0,0x14)
 12618 spadmin.bin GIO   fd 6 read 20 bytes
       "_WIN_WORKSPACE_COUNT"
 12618 spadmin.bin RET   read 20/0x14
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0M\0\^E\0\0\0\^T\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x8066820,0x14)
 12618 spadmin.bin GIO   fd 6 read 20 bytes
       "_WIN_WORKSPACE_NAMES"
 12618 spadmin.bin RET   read 20/0x14
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0N\0\^D\0\0\0\^P\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  readv(0x6,0xbfbfcff8,0x2)
 12618 spadmin.bin GIO   fd 6 read 16 bytes
       "_WIN_CLIENT_LIST"
 12618 spadmin.bin RET   readv 16/0x10
 12618 spadmin.bin CALL  write(0x6,0x8067800,0x18)
 12618 spadmin.bin GIO   fd 6 wrote 24 bytes
       "\^T\0\^F\0%\0\0\0
        \^A\0\0\^F\0\0\0\0\0\0\0\^A\0\0\0"
 12618 spadmin.bin RET   write 24/0x18
 12618 spadmin.bin CALL  read(0x6,0xbfbfd044,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0O\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin PSIG  SIGSEGV SIG_DFL
 12618 spadmin.bin NAMI  "spadmin.bin.core"
laptop# !! | more
kdump | tail -100 | more
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes
       "\^A\0G\0\^C\0\0\0
        \0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x804e820,0xa)
 12618 spadmin.bin GIO   fd 6 read 10 bytes
       "_WIN_HINTS"
 12618 spadmin.bin RET   read 10/0xa
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0H\0\^D\0\0\0\^N\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x804e830,0xe)
 12618 spadmin.bin GIO   fd 6 read 14 bytes
       "_WIN_APP_STATE"
 12618 spadmin.bin RET   read 14/0xe
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0I\0\^E\0\0\0\^R\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x8066760,0x12)
 12618 spadmin.bin GIO   fd 6 read 18 bytes
       "_WIN_EXPANDED_SIZE"
 12618 spadmin.bin RET   read 18/0x12
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes
       "\^A\0J\0\^C\0\0\0
        \0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x804e840,0xa)
 12618 spadmin.bin GIO   fd 6 read 10 bytes
       "_WIN_ICONS"
 12618 spadmin.bin RET   read 10/0xa
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0K\0\^D\0\0\0\^N\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x804e850,0xe)
 12618 spadmin.bin GIO   fd 6 read 14 bytes
       "_WIN_WORKSPACE"
 12618 spadmin.bin RET   read 14/0xe
 12618 spadmin.bin CALL  read(0x6,0xbfbfc720,0x2)
 12618 spadmin.bin GIO   fd 6 read 2 bytes
       "\0\0"
 12618 spadmin.bin RET   read 2
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0L\0\^E\0\0\0\^T\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x80667e0,0x14)
 12618 spadmin.bin GIO   fd 6 read 20 bytes
       "_WIN_WORKSPACE_COUNT"
 12618 spadmin.bin RET   read 20/0x14
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0M\0\^E\0\0\0\^T\0!\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  read(0x6,0x8066820,0x14)
 12618 spadmin.bin GIO   fd 6 read 20 bytes
       "_WIN_WORKSPACE_NAMES"
 12618 spadmin.bin RET   read 20/0x14
 12618 spadmin.bin CALL  read(0x6,0xbfbfd03c,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0N\0\^D\0\0\0\^P\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin CALL  readv(0x6,0xbfbfcff8,0x2)
 12618 spadmin.bin GIO   fd 6 read 16 bytes
       "_WIN_CLIENT_LIST"
 12618 spadmin.bin RET   readv 16/0x10
 12618 spadmin.bin CALL  write(0x6,0x8067800,0x18)
 12618 spadmin.bin GIO   fd 6 wrote 24 bytes
       "\^T\0\^F\0%\0\0\0
        \^A\0\0\^F\0\0\0\0\0\0\0\^A\0\0\0"
 12618 spadmin.bin RET   write 24/0x18
 12618 spadmin.bin CALL  read(0x6,0xbfbfd044,0x20)
 12618 spadmin.bin GIO   fd 6 read 32 bytes

"\^A\0O\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\0\0\0\0\M^L\M-w!\b"
 12618 spadmin.bin RET   read 32/0x20
 12618 spadmin.bin PSIG  SIGSEGV SIG_DFL
 12618 spadmin.bin NAMI  "spadmin.bin.core"

*****************************************************

I'm guessing there's something here I missed in the installation, but
I'm not sure where to look.  Any hints would be greatly appreciated.

Dave