Subject: Re:[2] Win32 version dying on startup
From: Kenneth J.Davis (jeremyd@computer.org)
Date: Wed Nov 07 2001 - 16:45:48 CST
"Michael D. Pritchett" <mpritchett@attglobal.net> wrote on 11/7/2001 4:57:18 PM:
>
>On Wed, 7 Nov 2001, Kenneth J.Davis wrote:
>
>> Hello,
>>
..
>>
>
>Jeremy -
>
>I noticed this recently, but haven't had the time to track it down.
>Thanks for the hint on when it broke. That will help in tracking down
>those changes that perhaps causes this failure.
>
>If you or anyone can get to this bug soon, I won't cry. I have been busy
>with other items lately.
>
>Cheers!
>
>
>Michael D. Pritchett
I have made it a little further (compiling non-debug build, but with
debug information) and found that it is dying in ev_Win32Menu.cpp,
in synthesizeMenu(). The line:
const UT_uint32 nrLabelItemsInLayout = m_pMenuLayout->getLayoutItemCount();
is returning a really large value. If I hard code it to something
like 3 (UT_uint32 nrLabelItemsInLayout = 3;) then AbiWord starts and
I can enter text (editing, toolbars, etc all seem fine), but trying to
open the file menu item (it only has the file one shown since I obviously
set the count wrong above) cause AbiWord to die.
I am going to continue and try and track down what is causing the wrong
count in the UT_Vector. Hopefully I can provide a patch later tonight,
but if not, maybe this will help who ever else tries and solves this issue.
Jeremy
jeremyd@computer.org
This archive was generated by hypermail 2b25 : Wed Nov 07 2001 - 16:55:35 CST