this commit broke index properties dialog. pgadmin simply crashes.
steps to reproduce:
1. create index or use existing index
2. open index properties dialog
3. catch a crash
stacktrace:
#0 wxStringBase::operator= (this=0x7fffc0d8, stringSrc=...) at
src/common/string.cpp:778
No locals.
#1 0x76e6e246 in operator= (this=0x7fffc0d8) at
include/wx/string.h:659
No locals.
#2 wxGenericListCtrl::SetItem (this=0x18fa1d0, index=0, col=4,
label=optimized out, imageId=-1)
at src/generic/listctrl.cpp:5237
info = warning: can't find linker symbol for virtual table for
`wxListItem' value
{wxObject = {_vptr.wxObject = 0xce07d0, static ms_classInfo =
{m_className = 0x0, m_objectSize = 0,
m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2
= 0x0, static sm_first = 0x0, m_next = 0x0,
static sm_classTable = 0xd2b010}, m_refData = 0x0},
m_mask = 0, m_itemId = 0, m_col = 0, m_state = 0,
m_stateMask = 0, m_text = {wxStringBase = {static npos =
18446744073709551615, m_pchData =
0x3e87d07cd8 L}, No data fields}, m_image = -1, m_data = 0,
m_format = 2, m_width = 0, m_attr = 0x0,
static ms_classInfo = {m_className = 0x76f691d8
LwxListItem, m_objectSize = 96, m_objectConstructor =
0x76e60c40 wxListItem::wxCreateObject(), m_baseInfo1 =
0xce5de0, m_baseInfo2 = 0x0, static sm_first = 0x0,
m_next = 0x77245ae0, static sm_classTable = 0xd2b010}}
#3 0x0051741a in dlgIndex::Go(bool) ()
No symbol table info available.
#4 0x005315ef in dlgProperty::EditObjectDialog(frmMain*,
ctlSQLBox*, pgObject*) ()
No symbol table info available.
#5 0x005317e3 in propertyFactory::StartDialog(frmMain*, pgObject*) ()
No symbol table info available.
#6 0x00597550 in frmMain::OnAction(wxCommandEvent) ()
No symbol table info available.
#7 0x003e87ce6b15 in wxEvtHandler::ProcessEventIfMatches
(entry=optimized out, handler=optimized out, event=
...) at src/common/event.cpp:1239
tableId1 = optimized out
tableId2 = optimized out
#8 0x003e87ce6edf in wxEvtHandler::SearchDynamicEventTable
(this=0x1733000, event=...)
handler = optimized out
entry = optimized out
node = {m_ptr = 0x18812d0}
#9 0x003e87ce6f92 in ProcessEvent (event=..., this=0x1733000) at
src/common/event.cpp:1297
No locals.
#10 wxEvtHandler::ProcessEvent (this=0x1733000, event=...) at
src/common/event.cpp:1272
No locals.
#11 0x003e87ce6f50 in ProcessEvent (event=..., this=0x17333b0) at
src/common/event.cpp:1308
No locals.
#12 wxEvtHandler::ProcessEvent (this=0x17333b0, event=...) at
src/common/event.cpp:1272
No locals.
#13 0x76f22b49 in wxWindowBase::TryParent (this=optimized
out, event=...) at src/common/wincmn.cpp:2661
propagateOnce = {m_event = @0x7fffc580}
parent = optimized out
#14 0x003e87ce6f50 in ProcessEvent (event=..., this=0x17f2530) at
src/common/event.cpp:1308
No locals.
#15 wxEvtHandler::ProcessEvent (this=0x17f2530, event=...) at
src/common/event.cpp:1272
No locals.
#16 0x76f4c6b5 in wxScrollHelperEvtHandler::ProcessEvent
(this=0x17f2530, event=optimized out)
at src/generic/scrlwing.cpp:208
evType = 10010
processed = optimized out
#17 0x76f0334d in wxMenuBase::SendEvent (this=optimized out,
id=optimized out, checked=optimized out)
at src/common/menucmn.cpp:792
win = optimized out
menu = optimized out
event = warning: can't find linker symbol for virtual table
for `wxCommandEvent' value
{wxEvent = {wxObject = {_vptr.wxObject = 0xceadf0, static
ms_classInfo = {m_className = 0x0,
m_objectSize = 0, m_objectConstructor = 0, m_baseInfo1
= 0x0, m_baseInfo2 = 0x0, static sm_first =
0x0, m_next = 0x0, static sm_classTable = 0xd2b010}, m_refData =
0x0}, m_eventObject = 0x1a1b890, m_eventType =
10010, m_timeStamp = 0, m_id = 1278, m_callbackUserData = 0x0,
m_propagationLevel = 2147483646, m_skipped =
false, m_isCommandEvent = true, static ms_classInfo = {m_className
= 0x3e87d0caa8 LwxEvent, m_objectSize = 64,
m_objectConstructor = 0, m_baseInfo1 = 0xce5de0,
m_baseInfo2 = 0x0, static sm_first = 0x0, m_next =
0x3e87f57580, static sm_classTable = 0xd2b010}}, m_commandString =
{m_evt = 0x7fffc580}, m_cmdString =
{wxStringBase = {static npos = 18446744073709551615, m_pchData =
0x3e87d07cd8 L}, No data fields},
m_commandInt = -1, m_extraLong = 0, m_clientData = 0x0,
m_clientObject = 0x0, static ms_classInfo = {
m_className = 0x76f63a70 LwxCommandEvent,
m_objectSize = 112, m_objectConstructor =
0x76e1e9b0 wxCommandEvent::wxCreateObject(), m_baseInfo1 =
0x3e87f57540, m_baseInfo2 = 0x0,
static sm_first = 0x0, m_next = 0x772446a0, static
sm_classTable = 0xd2b010}}
processed = optimized out
#18 0x76e9f2e4 in gtk_menu_clicked_callback (widget=optimized
out, menu=0x1a1b890) at