Re: Core-dump during startup on AIX-4.3.2


Subject: Re: Core-dump during startup on AIX-4.3.2
From: sam th (sam@bur-jud-118-039.rh.uchicago.edu)
Date: Thu Mar 02 2000 - 08:22:59 CST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 2 Mar 2000 Ciaran.Deignan@bull.net wrote:

>
>
> Hi All,
>
> I sucessfully built AbiWord on AIX-4.3.2 using the GCC-2.95.2 compiler,
> however it core-dumps just after startup. I rebuilt in debug mode and it
> gives me the following status messages:
>
> # DISPLAY=:1 AbiWord
> DEBUG: Build ID:
> DEBUG: Version: unnumbered
> DEBUG: Build Options: LicensedTrademarks:Off Debug:On Gnome:Off
> DEBUG: Build Target: /internet/port/abi-0.7.8/src/AIX_3_00920517A000_DBG/obj
> DEBUG: Compile Date: Mar 1 2000
> DEBUG: Compile Time: 14:06:31
> DEBUG: Preferences::setCurrentScheme [_builtin_].
> DEBUG: could not open preferences file [/.AbiSuite/AbiWord.Profile].
> DEBUG: Prefs: Using LOCALE info from environment [EnUS]
> DEBUG: Clipboard: initializing
> DEBUG: Clipboard: property [CLIPBOARD atom 126]
> DEBUG: Clipboard: property [PRIMARY atom 1]
> DEBUG: Clipboard: target [TARGETS atom 135]
> DEBUG: Clipboard: target [TIMESTAMP atom 137]
> DEBUG: Clipboard: target [text/rtf atom 184]
> DEBUG: Clipboard: target [TEXT atom 136]
> DEBUG: Clipboard: target [STRING atom 31]
> DEBUG: Using FontPath from preferences [/usr/local/AbiSuite/fonts].
> DEBUG: File says 64 fonts should follow...
> /usr/local/bin/AbiWord[22]: 21834 Segmentation fault(coredump)
>
> I used various AIX tools to verify that it is reading the file
> /usr/local/AbiSuite/fonts/fonts.dir
> and is forking the command
> xset fp+ /usr/local/AbiSuite/fonts
>
> All the filenames indicated in the fonts.dir file do seem to exist,
> but I'm not sure if AIX has any special oddities about these things.
>
> Does anyone have any ideas? I used bugzilla to note a defect, #775
> at
> http://www.abisource.com/bugzilla/show_bug.cgi?id=775
>

I've read your reports to bugzilla, and you have presented a model for
reporting problems. Just a couple questions -
1- Are you running the script (/usr/local/AbiSuite/bin/AbiWord) or the
executable itself (/usr/local/AbiSuite/bin/AbiWord_[d,s]) If you are
running the bare executable, then that's your problem. Running the script
should work.

2- However, if that's not the problem, then it would be very helpful if
you could provide the stack trace from gdb (or whatever debugger you use)
when your copy segfaults.

3- Finally, you do have unixfonts as a peer to your source directory when
you compile, right?

More platforms, here we come.
           
                                     sam th
                                     sytobinh@uchicago.edu
                                        
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4vnlFt+kM0Mq9M/wRAiV9AKCJRu/MQwTiXoFxYzMqbu95H43fFgCfWDIw
HOt6as5z0Beyo5qzbINtiHg=
=IAiz
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Thu Mar 02 2000 - 08:23:09 CST