[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core dump in the latest CDK

From: Thomas Dickey
Subject: Re: Core dump in the latest CDK
Date: Tue, 3 Jan 2006 15:32:33 -0500 (EST)

On Tue, 3 Jan 2006, Fu Steve X wrote:


I started to look at version 20051230. Some fixes works well such as the
setCDKFocusFirst function and getting rid of multiple highlighted widgets
when first popping up. Thanks so much!

Please take a look at the core dump below. Thanks.

Is this with Solaris curses?  There could be some place where it returns
a null WINDOW pointer that ncurses does not.  A quick check with ncurses
and valgrind isn't showing me a problem.

The quick fix of course would be to add a null-pointer check in fixCursorPosition(), but it would also be good to fix whatever problem is
producing the null-pointer check.


Steve Fu

------------------------ cut here -----------------

program terminated by signal SEGV (no mapping at the fault address)
0xffffffff7e225d50: wmove+0x0020:       ldsh     [%i0 + 6], %g4
Current function is fixCursorPosition
 215      wmove(InputWindowOf(widget), ypos, xpos);
(dbx) where

 [1] wmove(0x0, 0x1, 0x1, 0x1b, 0x232d, 0x0), at 0xffffffff7e225d50
=>[2] fixCursorPosition(widget = 0x100280670), line 215 in "scroll.c"
 [3] _injectCDKScroll(object = 0x100280670, input = 27U), line 375 in
 [4] traverseCDKOnce(screen = 0x100185950, curobj = 0x100280670, keyCode =
27, functionKey = 0, funcMenuKey = 0x10005c1c0 =
&`assn.exe`traverse.c`checkMenuKey(int keyCode, int functionKey)), line 291
in "traverse.c"
 [5] traverseCDKScreen(screen = 0x100185950), line 370 in "traverse.c"

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]