Crash on wxSystemSettingsNative::GetFont
Stefan Csomor
csomor at advancedconcepts.ch
Tue Sep 26 07:21:03 PDT 2006
Hi Brian
could you please post your code that triggers the error, I think line
306 in object.cpp is ok, as long as there are no null or invalid object
passed
The discussion you link to is something different which resulted in a
stack overflow ...
Best,
Stefan
> -----Original Message-----
> From: Brian Ray [mailto:bray at sent.com]
> Sent: Dienstag, 26. September 2006 17:04
> To: wx-users at lists.wxwidgets.org
> Subject: Crash on wxSystemSettingsNative::GetFont
>
> Hello:
>
> I am testing working code (from MSW) on the Mac and I ran
> into a problem. I am creating a miniframe with a title. I
> get a crash. Here is the bt from codewarrior (crash is in wxObject):
>
> ...
> __ZN20DocOverviewLayoutDlgC1EP8wxWindowRK8wxStringiiii
> __ZN11wxMiniFrameC2EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelS4_
> __ZN7wxFrameC2Ev
> __ZN11wxFrameBaseC2Ev
> __ZN16wxTopLevelWindowC2Ev
> __ZN19wxTopLevelWindowMacC2Ev
> __ZN20wxTopLevelWindowBaseC2Ev
> __ZN8wxWindowC2Ev
> __ZN8wxWindow4InitEv
> __ZN22wxSystemSettingsNative7GetFontE12wxSystemFont
> __ZN6wxFontC1ERKS_
> __ZN8wxObject3RefERKS_
>
>
> common/object.cpp (line 306):
>
> // nothing to be done
> if (m_refData == clone.m_refData) //<<<< exception here
> return;
>
> I am using wxMac2.6.3. I saw this topic might have been discussed
> before here <http://tinyurl.com/mxsm7>. Although, I do not
> understand
> the fix. What do I do to fix this problem?
>
> Regards, Brian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
More information about the wx-users
mailing list