Baruch Even wrote:
On Tue, 8 Aug 2000, David Martin wrote:

> I have just compiled and installed 1.15fix1 under Redhat Linux 6.2 x86
> with version 0.89 of the XForms library on my new laptop. About midnight
> last night I discovered, much to my surprise, that an accidental  middle
> mouse button click over the information bar at the bottom of the Lyx
> window will produce a core dump - every time, without fail.  Thank god
> for emergency saves!!!!  I have not yet dissected the core file, so I
> don't know where it is falling over, but if any of the developers want
> more information I can provide it.  Anybody else able to reproduce this?
>
> FYI I am running it under XFree86 3.3.6 with the KDE window manager
> v0.14 patch level 3.

I don't have 1.1.5fix1 installed (I use 1.1.6cvs, since I also program for
it), but I don't see anything like that, a middle mouse click will just
select the info bar.

If you can provide the backtrace from the core it could help.

After a few hours of sleep I can add that the X paste buffer must be empty for the crash to occur.  If the X paste buffer contains something then it just pastes the contents of the buffer into the infobar (why is it editable at all?).  The traceback shows the forms library clipboard request code to be the culprit, my amateurish guess is that it is not handling the empty X paste buffer gracefully - but what do I know?:

(gdb) bt
#0  0x4024fd41 in __kill () from /lib/libc.so.6
#1  0x4024f9b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x402510d8 in abort () at ../sysdeps/generic/abort.c:88
#3  0x812a99c in lyx::chdir (name=0x400d59d4 "àÊ\013") at abort.C:9
#4  0x809f053 in error_handler (err_sig=11) at ../src/lyx_main.C:766
#5  0x4024fc68 in __restore () at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#6  0x40071a7a in gotit_cb () from /usr/lib/libforms.so.0.89
#7  0x40039551 in fl_request_clipboard () from /usr/lib/libforms.so.0.89
#8  0x40071ac1 in do_XPaste () from /usr/lib/libforms.so.0.89
#9  0x40071e5f in handle_it () from /usr/lib/libforms.so.0.89
#10 0x400788f3 in fl_handle_it () from /usr/lib/libforms.so.0.89
#11 0x400789b5 in fl_handle_object () from /usr/lib/libforms.so.0.89
#12 0x4004d59b in fl_handle_form () from /usr/lib/libforms.so.0.89
#13 0x4004e61f in do_interaction_step () from /usr/lib/libforms.so.0.89
#14 0x4004e649 in fl_treat_interaction_events () from /usr/lib/libforms.so.0.89
#15 0x4004e684 in fl_check_forms () from /usr/lib/libforms.so.0.89
#16 0x809b705 in LyXGUI::runTime (this=0x81b0928) at lyx_gui.C:596
#17 0x809c8a8 in LyX::LyX (this=0xbffffb44, argc=0xbffffb60, argv=0xbffffba4)
    at ../src/lyx_main.C:158
#18 0x80b8324 in main (argc=1, argv=0xbffffba4) at ../src/main.C:75
(gdb)

Hope this helps.

-- 
David C Martin ([EMAIL PROTECTED])
Materials Engineering Laboratory,
Mechanical Engineering Department,
University of Oulu
PO Box 4200
Oulun Yliopisto 90014 FINLAND
 


Reply via email to