lmi
[Top][All Lists]
Advanced

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

Re: [lmi] wx_test: output strings truncated to one character


From: Greg Chicares
Subject: Re: [lmi] wx_test: output strings truncated to one character
Date: Wed, 10 Feb 2016 00:15:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 02/09/2016 06:30 PM, Greg Chicares wrote:
[...problems with 'wx_test'...]
> Here's the same thing, built and run in msw-xp running on bare metal.
> This is new--I guess it's a gcc-4.x runtime diagnostic:
>   "pure virtual method called"
> We didn't see that in msw-7 or in my msw-xp VM.

Three different results on three different machines, and you won't be
able to reproduce all three, so I figured I should take the obvious
next step here and break on '__cxa_pure_virtual'. My a priori
expectation is that I'd find a bad constructor, but the stack trace
points to wxTextAutoCompleteData::ChangeStrings(). However, that may
mean nothing, because three levels deep the backtrace points into
Shangri-La, so maybe all we can tell is that the stack is trashed.

/opt/lmi/bin[0]$gdb --quiet ./wx_test.exe
Reading symbols from ./wx_test.exe...done.
(gdb) set arg  --ash_nazg --data_path=/opt/lmi/data
(gdb) b __cxa_pure_virtual
Breakpoint 1 at 0x44f088
(gdb) r
Starting program: /opt/lmi/bin/wx_test.exe --ash_nazg --data_path=/opt/lmi/data
[New Thread 1768.0x7ec]

Breakpoint 1, 0x6e52bd08 in __cxa_pure_virtual ()
   from 
/opt/lmi/local/lib/wxmsw310u_gcc_gcc-491-ac28a959aabe36e26ea039ed78a51b54.dll
(gdb) bt
#0  0x6e52bd08 in __cxa_pure_virtual ()
   from 
/opt/lmi/local/lib/wxmsw310u_gcc_gcc-491-ac28a959aabe36e26ea039ed78a51b54.dll
#1  0x6e5b4486 in wxTextAutoCompleteData::ChangeStrings(wxArrayString const&)
    ()
   from 
/opt/lmi/local/lib/wxmsw310u_gcc_gcc-491-ac28a959aabe36e26ea039ed78a51b54.dll
#2  0x00229018 in ?? ()
#3  0x04c790c3 in ?? ()
Backtrace stopped: Cannot access memory at address 0xc9bc458f
(gdb) k
Kill the program being debugged? (y or n) y
(gdb) q
/opt/lmi/bin[0]$




reply via email to

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