Save as bug

Andrew Hood ajhood at fl.net.au
Tue Aug 1 00:21:52 CEST 2006


A.V.Kuznetsov wrote:
> On Mon, 31 Jul 2006 22:44:29 +1000
> Andrew Hood <ajhood at fl.net.au> wrote:
> 
> 
>>A.V.Kuznetsov wrote:
>>
>>>>As far as I can tell, the latest file update in CVS is
>>>>2006/07/28:10:46:30UTC
>>>
>>>
>>>I used snapshot from Germany ftp mirror and cited its date.
>>
>>Can you get a backtrace?
>>cd source
>>gdb nedit
>>r -server
>>
>>do some editting and SaveAs. If it crashes:
>>
>>bt full
> 
> 
> Sorry, full debug message is following

I'd suspect something uninitialised being passed to
HandleCustomNewFileSB, which is crashing the LessTif runtime. I can't
reproduce your crash with OpenMotif.

Can you:
make clean
add the -g option to CFLAGS in makefiles/Makefile.linux
make linux
cd source
gdb nedit
br HandleCustomNewFileSB
r -server

do your SaveAs. It should stop at HandleCustomNewFileSB

bt full

> Program received signal SIGSEGV, Segmentation fault.
> 0xb7dade52 in XTextWidth () from /usr/X11R6/lib/libX11.so.6
> (gdb) bt full
> #0  0xb7dade52 in XTextWidth () from /usr/X11R6/lib/libX11.so.6
> No symbol table info available.
> #1  0x08153db5 in MassiveChangeDraw ()
> No symbol table info available.
> #2  0x081541e6 in XmTextFieldInsert ()
> No symbol table info available.
> #3  0x080c8eb0 in HandleCustomNewFileSB ()
> No symbol table info available.
> #4  0x08053135 in PromptForNewFile ()
> No symbol table info available.
> #5  0x08058977 in saveAsDialogAP ()
> No symbol table info available.
> #6  0xb7e9df7f in XtCallActionProc () from /usr/X11R6/lib/libXt.so.6
> No symbol table info available.
> #7  0x08055d0f in doActionCB ()
> No symbol table info available.
> #8  0xb7e728ec in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
> No symbol table info available.
> #9  0x0812434c in ButtonUp ()
> No symbol table info available.
> #10 0xb7ea5d04 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
> No symbol table info available.
> #11 0xb7ea62dd in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
> No symbol table info available.
> #12 0xb7ea6807 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
> No symbol table info available.
> #13 0xb7e80155 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
> No symbol table info available.
> #14 0xb7e809bd in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
> No symbol table info available.
> #15 0xb7e80c7f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
> No symbol table info available.
> #16 0x080a2ff3 in ServerDispatchEvent ()
> No symbol table info available.
> #17 0x080a2ef9 in ServerMainLoop ()
> No symbol table info available.
> 


-- 
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who


More information about the Discuss mailing list