AbiWord crashes (with a SIGABRT) on my Solaris 2.6 system (built with
gcc 2.95, GTK+ 1.2.3). When run from gdb:
Starting program: /home/blb/build/abi/abi-0.7.4/src/SunOS_5.6_sun4m_DBG/bin/AbiWord_d
DEBUG: Build ID:
DEBUG: Version: unnumbered
DEBUG: Build Options: LicensedTrademarks:Off Debug:On
DEBUG: Build Target: /home/blb/build/abi/abi-0.7.4/src/SunOS_5.6_sun4m_DBG/obj
DEBUG: Compile Date: Aug 4 1999
DEBUG: Compile Time: 14:03:35
DEBUG: ABISUITE_HOME not set and -lib not given. Assuming current directory....
DEBUG: Preferences::setCurrentScheme [_builtin_].
DEBUG: could not open preferences file [/home/blb/.AbiSuite/AbiWord.Profile].
DEBUG: initializing clipboard
DEBUG: selection = 132
DEBUG: Using FontPath from preferences [/home/blb/build/abi/abi-0.7.4/src/SunOS_5.6_sun4m_DBG/bin/fonts].
DEBUG: File says 64 fonts should follow...
DEBUG: Read 64 fonts from directory [/home/blb/build/abi/abi-0.7.4/src/SunOS_5.6_sun4m_DBG/bin/fonts/fonts.dir].
DEBUG: Found Fonts:
[font list removed]
DEBUG: Loading SpellCheckWordList [/home/blb/build/abi/abi-0.7.4/src/SunOS_5.6_sun4m_DBG/bin/dictionary/american.hash]
DEBUG: Keycodes for alt [l 0x1a][r 0x0] using modifiers [1 -3] yields [0x8]
DEBUG: fl_DocListener::populateStrux
DEBUG: fl_DocListener::populateStrux
DEBUG: opening clipboard
DEBUG: clipboard: querying format
DEBUG: getting formats...
Gdk-ERROR **: BadMatch (invalid parameter attributes)
serial 1279 error_code 8 request_code 130 minor_code 3
aborting...
Program received signal SIGABRT, Aborted.
0xef288214 in _libc_kill ()
(gdb) bt
#0 0xef288214 in _libc_kill ()
#1 0xef23a5d0 in abort ()
#2 0xef4ba43c in g_logv ()
#3 0xef4ba4d8 in g_log ()
#4 0xef50ecd4 in gdk_x_error ()
#5 0xef3dfa74 in _XError ()
#6 0xef3d1e5c in _XReply ()
#7 0xef3d6dbc in XSync ()
#8 0xef51dd08 in gdk_flush ()
#9 0xef528958 in gdk_rgb_alloc_scratch ()
#10 0xef528e60 in gdk_draw_rgb_image ()
#11 0xa87b4 in GR_UnixGraphics::drawImage (this=0x2a05f0, pImg=0x2a1388,
xDest=0, yDest=0) at gr_UnixGraphics.cpp:629
#12 0x72690 in s_drawingarea_expose () at ap_UnixApp.cpp:482
#13 0xef6e997c in gtk_marshal_BOOL__POINTER ()
#14 0xef69161c in gtk_handlers_run ()
#15 0xef690788 in gtk_signal_real_emit ()
#16 0xef68e010 in gtk_signal_emit ()
#17 0xef6daf44 in gtk_widget_event ()
#18 0xef64ec54 in gtk_main_do_event ()
#19 0xef51d4b8 in gdk_event_dispatch ()
#20 0xef4b6b5c in g_main_dispatch ()
#21 0xef4b7470 in g_main_iterate ()
#22 0xef4b7f54 in g_main_iteration ()
#23 0xef64f5c4 in gtk_main_iteration ()
#24 0x70098 in XAP_UnixClipboard::_getFormats (this=0x2a1c48)
at xap_UnixClipboard.cpp:420
#25 0x6f5e0 in XAP_UnixClipboard::hasFormat (this=0x2a1c48,
format=0x1db588 "rtf") at xap_UnixClipboard.cpp:205
#26 0x72348 in AP_UnixApp::canPasteFromClipboard (this=0x2a13d8)
at ap_UnixApp.cpp:430
#27 0x8e35c in ap_ToolbarGetState_Clipboard (pAV_View=0x4428c0, id=10,
pszState=0xefffe8f4) at ap_Toolbar_Functions.cpp:110
#28 0x9b630 in EV_Toolbar_Action::getToolbarItemState (this=0x2a42f8,
pView=0x4428c0, pszState=0xefffe8f4) at ev_Toolbar_Actions.cpp:74
#29 0x97ddc in EV_UnixToolbar::refreshToolbar (this=0x3ffef0, pView=0x4428c0,
mask=65535) at ev_UnixToolbar.cpp:535
#30 0x97bcc in EV_UnixToolbar::bindListenerToView (this=0x3ffef0,
pView=0x4428c0) at ev_UnixToolbar.cpp:503
#31 0x7423c in AP_UnixFrame::_showDocument (this=0x2ae878, iZoom=100)
at ap_UnixFrame.cpp:157
#32 0x75a0c in AP_UnixFrame::loadDocument (this=0x2ae878, szFilename=0x0,
ieft=0) at ap_UnixFrame.cpp:451
#33 0x73864 in AP_UnixApp::parseCommandLine (this=0x2a13d8)
at ap_UnixApp.cpp:752
#34 0x7312c in AP_UnixApp::main (szAppName=0x1daf48 "AbiWord Personal",
argc=1, argv=0xefffed6c) at ap_UnixApp.cpp:618
#35 0x6eaf0 in main (argc=1, argv=0xefffed6c) at UnixMain.cpp:24
Hope this is useful (I'm not familiar with X or GTK calls, or I'd look
further).
Bryan