lmi
[Top][All Lists]
Advanced

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

[lmi] Input-sequence anomaly [Was: wx_test: output strings truncated to


From: Greg Chicares
Subject: [lmi] Input-sequence anomaly [Was: wx_test: output strings truncated to one character]
Date: Thu, 11 Feb 2016 03:30:00 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 02/11/2016 12:41 AM, Greg Chicares wrote:
> 
[... 'wx_test -t input_sequences' terminates abnormally...]
> 
> pure virtual method called
> NOTE: starting the test suite
> input_sequences: started
> In file ../include/wx/msw/private.h at line 809: 'UnregisterClass' failed 
> with error 0x00000584 (class still has open windows.).
> 1 exit status for input_sequences

The problem isn't the GUI test. This is a problem in production code
when compiled and run on msw-xp with MinGW-w64 gcc. Demonstration:

/opt/lmi/bin[0]$./lmi_wx_shared --ash_nazg --data_path=/opt/lmi/data

File | New | Illustration
into "Specified amount" field, paste
  sevenpay 7; 250000 retirement; 100000 #10; 75000 @95; 50000
OK

Illustrated specified amount follows the input sequence, which is valid.
Now do this:

Illustration | Edit cell
click "..." button to the right of "Specified amount"

This appears on the console:
  pure virtual method called
and a messagebox pops up:
  Error

  Abnormal-termination handler called. Please report this problem.


Click OK in the messagebox, and this:
  In file ../include/wx/msw/private.h at line 809: 'UnregisterClass' \
  failed with error 0x00000584 (class still has open windows.).

appears on the console (quite appropriately, I suppose).

Apparently the complexity of this particular input sequence is not
the problem. Try this:

File | New | Illustration
click "..." button to the right of "Specified amount"
[test case for gdb below]

Same symptoms as above, even though that field contains "1000000".

The problem is not seen with "Death benefit option" (keyword only) or
"Extra policy fee" (numeric only). It is seen with "Payment", which,
like "Specified amount", accepts mixed keyword and numeric values.

Let's try the last example above in gdb:

/opt/lmi/bin[0]$gdb --quiet lmi_wx_shared.exe
Reading symbols from lmi_wx_shared.exe...done.
(gdb) set arg --ash_nazg --data_path=/opt/lmi/data
(gdb) b __cxa_pure_virtual
Function "__cxa_pure_virtual" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (__cxa_pure_virtual) pending.
(gdb) r
Starting program: /opt/lmi/bin/lmi_wx_shared.exe --ash_nazg 
--data_path=/opt/lmi/data
[New Thread 952.0x710]

Breakpoint 1, 0x66ccb5d0 in __cxa_pure_virtual ()
   from 
/opt/lmi/local/lib/wxmsw310u_gcc_gcc-491-1ce7f42362ba3075eeb4be4679f88dd3.dll
(gdb) bt
#0  0x66ccb5d0 in __cxa_pure_virtual ()
   from 
/opt/lmi/local/lib/wxmsw310u_gcc_gcc-491-1ce7f42362ba3075eeb4be4679f88dd3.dll
#1  0x66d46f66 in wxTextAutoCompleteData::ChangeStrings(wxArrayString const&)
    ()
   from 
/opt/lmi/local/lib/wxmsw310u_gcc_gcc-491-1ce7f42362ba3075eeb4be4679f88dd3.dll
#2  0x0022b770 in ?? ()
#3  0x04c790c3 in ?? ()
#4  0x00002024 in ?? ()
#5  0xc845c700 in ?? ()
#6  0xffffffff in ?? ()
#7  0x48387de8 in ?? ()
#8  0xc04d8b00 in ?? ()
#9  0xc7240c89 in ?? ()
#10 0x0001c845 in ?? ()
#11 0xc1890000 in ?? ()
#12 0xe8bc4589 in ?? ()
#13 0x004ff526 in DBDictionary::DBDictionary (this=0x8b0b74c0,
    __vtt_parm=0x8cc15ff, __in_chrg=<optimized out>)
    at /lmi/src/lmi/dbdict.cpp:100
#14 0x24048900 in ?? ()
#15 0x08cc15ff in ?? ()
---Type <return> to continue, or q <return> to quit---
#16 0xec83670b in ?? ()
#17 0x14c48310 in ?? ()
#18 0x04c25e5b in ?? ()
#19 0x748d9000 in ?? ()
#20 0x068b0026 in ?? ()
#21 0x44c7f189 in ?? ()
#22 0x00000424 in ?? ()
#23 0x04c70000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) k
Kill the program being debugged? (y or n) y
(gdb) q




reply via email to

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