From: Araki K. <j00...@ip...> - 2002-02-03 17:30:59
|
Hi, Subject: Re: [Mlterm-dev-en] 2.2.0 segfault From: Noah Levitt <nl...@co...> Message-ID: <200...@co...> Date: Sun, 3 Feb 2002 11:03:38 -0500 > extern Bool XRegisterIMInstantiateCallback( > #if NeedFunctionPrototypes > Display* /* dpy */, > struct _XrmHashBucketRec* /* rdb */, > char* /* res_name */, > char* /* res_class */, > XIMProc /* callback */, > XPointer* /* client_data */ > #endif > ); > > Here's XIMProc: > > typedef void (*XIMProc)( > #ifdef NeedFunctionPrototypes > XIC, XPointer, XPointer > #endif > ); The type of the first argument of callback function should not be XIC , since XRegisterIMInstantiateCallback is called before the connection with XIM server is established , that is , before XIC is not created. But since XIC typedef is as follows in my Xlib.h , the size of XIC and that of Display * must be the same. typedef struct _XIC *XIC; I think these warning messages are not the cause of this core dump. But I really have no idea of this problem , sorry. Well , when you are free , would you please cvs checkout -D [date] and check when mlterm gets insane ? -- kiken j00...@ip... |