Re: [CRASH] Amaya crashes on startup (with backtrace).

On Fri, 25 Jun 2004 10:31:12 -0400 (EDT)
Piotr Szymanski <djurban@pld-dc.org> wrote:

> Hi,
> My system configuration (the part amaya relias on) is:
> glib 1.2.10
> glibc 2.3.3 snap from 20040612 (compiled with nptl support)
> gtk+ 1.2.10
> imlib 1.9.14
> gcc 3.4.1 20040611 prerelease
> libICE 6.3.2
> libjpeg 6b
> libpng 1.2.6beta2
> libSM 6.0.3
> libX11 6.2.1
> libXau 0.1.1
> libXdmcp 0.1.3
> libXext 6.4.3
> libXi 6.0.1
> libXt 0.1.5
> zlib 1.2.1


Amaya normally initializes the GTK dialogue with the
  "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1" font.
GTK crashes because this dialogue font was not correctly loaded on your platform.
This basic font should be available in all Linux platforms.
Could you check if this font is available with the program "xfontsel"

Do you have a $HOME/.gtkrc file?
If yes could you send me the contents of this file?


> When i run amaya:
> 
> [djurban@djurban][16:31:36](~)$ amaya
> *** Amaya: Irrecoverable error ***[djurban@djurban][16:31:40](~)$
> 
> Here is the backtrace:
> 
> #0  0x401909c6 in gdk_font_ref () from /usr/lib/libgdk-1.2.so.0
> #1  0x40135c00 in gtk_style_copy () from /usr/lib/libgtk-1.2.so.0
> #2  0x081e526e in TtaNewSubmenu(int, int, int, char*, int, char*, char*, 
> unsigned char) (ref=1309, ref_parent=0, entry=0, title=0x98759c8 
> "P\e\207\t(\a", number=9,
>     text=0xbfffb540 "BNew XHTML 1.1 document...", equiv=0xbfffb3b0 "Ctrl n 
> Ctrl x", react=0 '\0') at ../.././thotlib/dialogue/dialogapi.c:3718
> #3  0x081d64dc in BuildPopdown(_Menu_Ctl*, int, _GtkWidget*, int, int, 
> unsigned char, unsigned char) (ptrmenu=0x9774928, ref=109, button=0x9870628, 
> frame=1, doc=1, update=0 '\0', RO=0 '\0')
>     at ../.././thotlib/dialogue/appdialogue.c:1252
> #4  0x081d992e in MakeFrame(char*, int, char*, int, int, int, int, int*, int, 
> unsigned char, unsigned char) (schema=0x9796270 "HTML", view=1, 
> name=0x9793c5c "AmayaPage.html", X=158812456,
>     Y=159843880, width=823, height=719, volume=0x9764988, doc=1, withMenu=1 
> '\001', withButton=1 '\001') at ../.././thotlib/dialogue/appdialogue.c:3505
> #5  0x081fa638 in OpenCreatedView(_DocumentDescr*, int, int, int, int, int, 
> unsigned char, unsigned char) (pDoc=0x9793b40, view=1, X=0, Y=0, width=0, 
> height=0, withMenu=1 '\001',
>     withButton=1 '\001') at ../.././thotlib/document/views.c:563
> #6  0x0823c64a in TtaOpenMainView(int, int, int, int, int, unsigned char, 
> unsigned char) (document=158747016, x=0, y=0, w=0, h=0, withMenu=1 '\001', 
> withButton=1 '\001')
>     at ../.././thotlib/view/viewapi.c:121
> #7  0x080df569 in InitDocAndView(int, unsigned char, unsigned char, char*, 
> DocumentType, int, unsigned char, int, _ClickEvent) (oldDoc=0, 
> replaceOldDoc=0 '\0', inNewWindow=1 '\001',
>     docname=0x9793320 "AmayaPage.html", docType=docHTML, sourceOfDoc=0, 
> readOnly=0 '\0', profile=0, method=CE_INIT) at ../.././amaya/init.c:2812
> #8  0x080e5054 in GetAmayaDoc(char*, char*, int, int, _ClickEvent, unsigned 
> char, void (*)(int, int, char*, char*, _AHTHeaders const*, void*), void*) 
> (urlname=0x978be28 "", form_data=0x0,
>     doc=0, baseDoc=0, method=CE_INIT, history=1 '\001', cbf=0, ctx_cbf=0x0) 
> at ../.././amaya/init.c:5182
> #9  0x080e7114 in CallbackDialogue(int, int, char*) (ref=37310, typedata=0, 
> data=0x1 <Address 0x1 out of bounds>) at ../.././amaya/init.c:5588
> #10 0x080e74b0 in GoToHome(int, int) (doc=0, view=0) 
> at ../.././amaya/init.c:2371
> #11 0x080e92d4 in InitAmaya(NotifyEvent*) (event=0xbfffd43c) 
> at ../.././amaya/init.c:7362
> #12 0x081d30da in CallAction (notifyEvent=0xbfffd43c, event=TteInit, pre=88 
> 'X', type=0, element=0x0, schStruct=0x0, attr=0 '\0') 
> at ../.././thotlib/dialogue/callback.c:173
> #13 0x081d31a6 in CallEventType(NotifyEvent*, unsigned char) (notifyEvent=0x0, 
> pre=0 '\0') at ../.././thotlib/dialogue/callback.c:334
> #14 0x081ef545 in TtaMainLoop() () 
> at ../.././thotlib/dialogue/interface.c:1184
> #15 0x0809643f in main (argc=0, argv=0xbfffe4e0) at EDITORAPP.c:1033
> 
> -- 
> Piotr Szymanski
> djurban@pld-linux.org

     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Monday, 28 June 2004 03:19:27 UTC