User forums > Help
wxSmith does not build for MacOSX at rev 3614
MortenMacFly:
--- Quote from: bnilsson on February 20, 2007, 08:52:02 am ---Exception: EXC_BAD_ACCESS (0x0001)
0 libwxsmith.so 0x081ad268 wxsItemResData::SelectItem(wxsItem*, bool) + 40
--- End quote ---
Hehe... I could imagine where it is happening... look at this line:
--- Code: ---for ( wxsParent* Parent = Item->GetParent(); Parent; Child = Parent, Parent = Parent->GetParent() )
--- End code ---
There Item might still be NULL -> it's verified everywhere in this method but here... but better let byo decide... ;-)
With regards, Morten.
byo:
--- Quote from: bnilsson on February 20, 2007, 08:52:02 am ---I am using Edit/Cut to remove the object. Is this correct?
--- End quote ---
Oh, I thought you used delete button on the right side of editor. I've checked Edit/Cut long time ago but it looks as good starting point to search for crash
--- Quote from: MortenMacFly on February 20, 2007, 08:57:35 am ---
--- Quote from: bnilsson on February 20, 2007, 08:52:02 am ---Exception: EXC_BAD_ACCESS (0x0001)
0 libwxsmith.so 0x081ad268 wxsItemResData::SelectItem(wxsItem*, bool) + 40
--- End quote ---
Hehe... I could imagine where it is happening... look at this line:
--- Code: ---for ( wxsParent* Parent = Item->GetParent(); Parent; Child = Parent, Parent = Parent->GetParent() )
--- End code ---
There Item might still be NULL -> it's verified everywhere in this method but here... but better let byo decide... ;-)
With regards, Morten.
--- End quote ---
Should be no problem since there's
--- Code: --- if ( !Item )
{
Item = m_RootItem;
}
--- End code ---
few lines above, and m_RootItem can not be NULL. But to be honest, currently I've no idea where it crashes. Most possible solution is that Item has just been freed but it's pointer is still kept inside resource browser
BYO
MortenMacFly:
--- Quote from: byo on February 20, 2007, 03:24:42 pm ---Should be no problem since there's
--- Code: --- if ( !Item )
{
Item = m_RootItem;
}
--- End code ---
--- End quote ---
Ooops... sorry - I have been blind. :oops:
bnilsson:
--- Quote ---Oh, I thought you used delete button on the right side of editor.
--- End quote ---
Ok, I missed that. I will use this from now on.
Any idea how to fix the erased layout display on the Mac?
It is a bit difficult to work whithout seeing anything.
Tell me where and what to test, an I'll try it.
byo:
--- Quote from: bnilsson on February 20, 2007, 10:31:43 pm ---
--- Quote ---Oh, I thought you used delete button on the right side of editor.
--- End quote ---
Ok, I missed that. I will use this from now on.
Any idea how to fix the erased layout display on the Mac?
It is a bit difficult to work whithout seeing anything.
Tell me where and what to test, an I'll try it.
--- End quote ---
Is "property changing" the only way to show content ? Have you changed properties in property window or in QuickProperties panel (the one that can be shown using Q buttin on the right). Is there any other way to make things visible? What will happen when you resize editor's area?
Waiting for your answers :D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version