Article View: comp.windows.interviews
Article #51Re: Program crashes in ivDialog::Accept ()?
From: Shailesh M. Potnis
Date: Mon, 02 Nov 1992 21:14
Date: Mon, 02 Nov 1992 21:14
22 lines
1666 bytes
1666 bytes
In article <2377@h.cs.wvu.wvnet.edu>, smp@cs.wvu.wvnet.edu (Shailesh M. Potnis) writes: > This is a repost of my previous mail. I am using a combination of 3.0 and 2.6 > classes. The entire application except dialogs uses 3.0. The part of the app > which deals with dialogs uses 2.6. I am using CenterLine CC on sun os4.1.0. > HowAsker is a class derived from Dialog. > HowAsker has a function post which displays the dialog and gets the > appropriate info from the users. The program crashes if the same info is > displayed again in the enclosed string editors. I am also wondering why > the iv2_6_ prefix is not used instead of iv. I have included the appropriate > /2.6/InterViews files and also the file /2.6/_enter.h. The problem narrowed down: The Dialog::Accept crashes when a containing stringeditor contains a string pattern "abcdef " (note the space after f) and any additional characters after the space. If I have a space replacing any of "abcdef" chars above, the bus error does not occur. I patted on my back (with agony) for selecting "spring tension" as my test string. I am truing to isolate the problem to StringEditor, if at all possible.
Technical Details
Message-ID:
<2378@h.cs.wvu.wvnet.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!swrinde!sdd.hp.com!elroy.jpl.nasa.gov!ames!haven.umd.edu!cs.wvu.wvnet.edu!smpReferences:
<2377@h.cs.wvu.wvnet.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!swrinde!sdd.hp.com!elroy.jpl.nasa.gov!ames!haven.umd.edu!cs.wvu.wvnet.edu!smp From: smp@cs.wvu.wvnet.edu (Shailesh M. Potnis) Newsgroups: comp.windows.interviews Subject: Re: Program crashes in ivDialog::Accept ()? Summary: Problem narrowed down Message-ID: <2378@h.cs.wvu.wvnet.edu> Date: 2 Nov 92 21:14:59 GMT References: <2377@h.cs.wvu.wvnet.edu> Organization: WVU Statistics and Computer Science Lines: 23