XForms: Crash when pasting empty string.

Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
Mon, 31 May 1999 18:57:04 +0200 (MET DST)

# To subscribers of the xforms list from Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> :

--Multipart_Mon_May_31_18:57:03_1999-1
Content-Type: text/plain; charset=US-ASCII

Hello,

We had a report about LyX crshing when pasting empty strings in a
multiline text field, and it appears that it is reproducible in the
minput.c demo. I cannot reproduce it myself, but we had several
similar reports. The problem is still here in the latest test version.

For reference, the error was an X error:

X Error of failed request: BadAtom (invalid Atom parameter)
Major opcode of failed request: 20 (X_GetProperty)
Atom id in failed request: 0x0
Serial number of failed request: 454
Current serial number in output stream: 454

Does it ring a bell to somebody?

JMarc

--Multipart_Mon_May_31_18:57:03_1999-1
Content-Type: message/rfc822

From: "Jerry Yuan" <jerry_yuan@hotmail.com>
To: lyx-users@lists.lyx.org
Subject: Re: latex_preamble+'mouse_middle_button'=LyX_crash!
Date: Fri, 28 May 1999 12:53:09 GMT

>Jerry> It IS a bug in xforms. I followed your words, and get same
>Jerry> crash. paste in minput produces
>
>That's very intersting. Could you tell me exactly what steps you took
>to get this behaviour and what system you use (OS, X version, xforsm
>version, libc version on linux). I need this info in a synthetic form

1) open 2 xterms;
2) start minput from xterm 1;
3) select something from xterm 2, and paste it to minput --- fine, here;
4) close xterm 2;
5) paste again ---- there are two possibilities:
A) minput crash......
B) paste not performed, however, you can paste in xterm 1....

Sorry, I can not make it crash exactly, but B is not correct as well.

OS: Solaris 2.4
X: 11.0 (release number unknown)
xforms: 0.88

Jerry

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--Multipart_Mon_May_31_18:57:03_1999-1--
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/