[wx-dev] some bugs in 2.8.0 on ms windows, using Borland C++
Builder 6/4
lego
oleg_dolomanov at hotmail.com
Sun Mar 4 13:22:10 PST 2007
Hi,
I have done some investigation in the problem I am having with the code.
Since the wxWidgets source is mainly in macros and I have a large program,
the simplest way was to create a hashmap in the program context.
wxStringToStringHashMap m_headers;
When it is created, it has a NULL table and quite random (uninitalised?)
values, like buckets = 22276204... I have called its clear method
0059DB83 _wxHashTableBase2::DeleteNodes(buckets=193, table=????,
dtor=:00488FF8)
and that does 193 (not 22275204!) iterations through on the empty map, but
does not fail, however, when I call wxHTTP it used to fail at this point,
but now it started failing at iteration when accessing NULL table by index.
I have fixed it by substituting the hasmap with a list, but think that other
problems I have might be caused by this or something else that got my code
broken...
Cheers
Vadim Zeitlin-3 wrote:
>
> On Fri, 23 Feb 2007 14:29:31 -0000 Oleg Dolomanov
> <oleg_dolomanov at hotmail.com> wrote:
>
> OD> 1. If time zone is not 0 (Dublin, London.), any formatting using
> OD> wxDateTime crashes with access to NULL
>
> Could you please provide the backtrace (and the code to reproduce the
> problem if it doesn't already happen in the console sample)?
>
> OD> 2. wxHTTP clears the headers, when I want to get an Input Stream and
> OD> something wrong happens there - data is definitely corrupted in the
> debugger
>
> Sorry, this is definitely not enough to diagnose the problem.
>
> OD> 3. wxHtmlWidgetCell, line 1495, DrawInvisible causes loads of problems
> OD> when a combobox is inserted - it will redraw it all the time, so I
> would
> OD> recommend just comment that out ..
>
> Same here.
>
> OD> 4. The wxTreeCtrl behaves strangely - destroys the program in the
> OD> destructor, trying to delete a nonexisting critical section .
>
> Again, there is obviously more to it than you write as e.g. the treectrl
> sample works just fine in 2.8. It's quite possible that there is a problem
> but the above simply doesn't provide any information useful for locating
> it.
>
> Please be more precise, i.e. at the very least provide a way of
> reproducing the problem.
>
> Thanks,
> VZ
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>
>
>
--
View this message in context: http://www.nabble.com/some-bugs-in-2.8.0-on-ms-windows%2C-using-Borland-C%2B%2B-Builder-6-4-tf3279109.html#a9300565
Sent from the wxWidgets - Dev mailing list archive at Nabble.com.
More information about the wx-dev
mailing list