crash on startup


Subject: crash on startup
From: Karl Trygve Kalleberg (karltk@prosalg.no)
Date: Wed Oct 04 2000 - 12:21:55 CDT


I've updated to today's latest CVS, although this problem has been with me
for a month or so now.

I run XFree 4.0.1 on a debian unstable system. I also run XFree 4.0.1 on a
slackware 7.0 system. Both system exhibit the same behaviour.

On the slackware box, the compiler is egcs 2.91.66, on the debian it's
2.95.2.

There is no previous installation of abisuite installed on either of the
boxes and both have gtk properly working (1.2.8 on the debian box).

In addition, on both boxes, abi has worked nicely before. I have a soft
vibe that tells me XFree 4.0.1 my be at fault here, but I have
unfortunately not had the necessary time to flip back to 4.0 or 3.3.6 to
test that.

Probably unrelated to the problem is the fact that I can't get the
unixfonts to load, and the abiword crashes shortly after this.

mkfontdir doesn't understand the font files that is in the unixfonts
directory, neither can the XFree 4.0.1 font server. (xset +fp
<path-to-unixfonts-dir> fails with:
X Error of failed request: 86
  Major opcode of failed request: 51 (X_SetFontPath)
  Serial number of failed request: 9
  Current serial number in output stream: 11
)

Sometimes the shm pool for X is eaten up by various X programs. I have
however tried running abi on a freshly started X server, to no avail.

Here's a stack trace:

[%46 ~/source/oss/abi] abiword
Xlib: extension "XFree86-Misc" missing on display ":0.0".
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) run
Starting program: /usr/local/AbiSuite/bin/AbiWord_d
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...

Gdk-WARNING **: shmget failed!
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x810d95e in XAP_UnixFrame::_fe::focus_in_event ()
(gdb) bt
#0 0x810d95e in XAP_UnixFrame::_fe::focus_in_event ()
#1 0x400e375b in gtk_marshal_BOOL__POINTER () from
/usr/lib/libgtk-1.2.so.0
#2 0x401123fc in gtk_signal_remove_emission_hook ()
   from /usr/lib/libgtk-1.2.so.0
#3 0x40111865 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#4 0x4010f943 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#5 0x40145d6b in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#6 0x400e298b in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#7 0x40190077 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#8 0x401c02d9 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#9 0x401c08e3 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#10 0x401c0a7c in g_main_run () from /usr/lib/libglib-1.2.so.0
#11 0x400e21e7 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#12 0x80b8e0d in messageBoxOK ()
#13 0x810fb91 in XAP_UnixFont::getGdkFont ()
#14 0x810ef94 in XAP_UnixFontHandle::getGdkFont ()
#15 0x80d24cd in GR_UnixGraphics::setFont ()
#16 0x80ef276 in fp_TextRun::lookupProperties ()
#17 0x80ef035 in fp_TextRun::fp_TextRun ()
#18 0x80de6af in fl_BlockLayout::_insertFakeTextRun ()
#19 0x80deae6 in fl_BlockLayout::format ()
#20 0x80e6e9b in fl_DocSectionLayout::format ()
#21 0x80e4e8d in FL_DocLayout::formatAll ()
#22 0x80d4585 in FV_View::FV_View ()
#23 0x809cea7 in AP_UnixFrame::_showDocument ()
#24 0x809dd87 in AP_UnixFrame::loadDocument ()
#25 0x809ca6c in AP_UnixApp::parseCommandLine ()
#26 0x809c39f in AP_UnixApp::main ()
#27 0x809ab3d in main ()
#28 0x40329a42 in __libc_start_main () from /lib/libc.so.6
(gdb)

I have deleted the abiword resource directory, and I've even tested
running abiword with a freshly created user. No go.

If anybody could give me some pointers, I'd be very happy.

Regards,

Karl T



This archive was generated by hypermail 2b25 : Wed Oct 04 2000 - 12:22:07 CDT