Crash in properties panel after delete (Resolved)

I believe I have this fully resolved now.

3DC 8.1.0.1267
Had the third tab selected in properties window (group properties? can’t view name at the moment).
I then selected an object in the main window and deleted it using right click menu.
Went back to properties window and now selected first tab (hierarchy).
Now I get a multitude of automation errors since the node in the hierarchy is still there and selected but the object is gone!
Attached image shows trying to call the deleted object to get material info.

/Anders

I sometimes get this too when clicking on tabs.

I’ve found a few things that cause this. But, I’m sure I didn’t find them all, so I’ll leave this one open until we are confident we have found all of them.

I found the main cause for this today. I haven’t found a solution yet.

The problem: if you are changing a text field, the ‘lostfocus’ event doesn’t fire if you double-click another shape. The result is that the values get assigned to the wrong shape, or possible a group, which doesn’t have the same parameters. This produces either updates to the wrong shape/group or a crash (usually error 5 it seems-though it could produce others I think)

I managed to make it so this no longer occurs.

It’s not quite perfect yet. Some values are not stored unless you tab between fields, or press enter.

Interestingly, the results might be correctly stored long after the change is made depending on the order of events.

No crash anymore.

New crash in properties panel but this time I did not do anything that associate with the crash.
Only looking and selecting different objects and groups then tried to switch to the hierarchy tab and ‘wham’!
Automation error from 3DCMaterial, after that I must kill 3DC process.

Last part of log-file if that is of any use;
2010-02-20 | 15:04:34 | 4483641 | Skins are not supported by SetupProperties
2010-02-20 | 15:05:31 | 4541097 | Periodic garbage collection completed
2010-02-20 | 15:05:47 | 4557314 | Skins are not supported by SetupProperties
2010-02-20 | 15:05:58 | 4567783 | Animation instance terminating
2010-02-20 | 15:05:58 | 4567785 | Animation instance terminated
2010-02-20 | 15:05:58 | 4567841 | oldproc = 0
2010-02-20 | 15:05:58 | 4567843 | oldproc = 0
2010-02-20 | 15:05:58 | 4567844 | oldproc = 0
2010-02-20 | 15:05:58 | 4567849 | SceneEditor instance terminating
2010-02-20 | 15:05:58 | 4567851 | SceneEditor instance terminated
2010-02-20 | 15:05:58 | 4567853 | oldproc = 0
2010-02-20 | 15:05:58 | 4567855 | oldproc = 0
2010-02-20 | 15:05:58 | 4567856 | oldproc = 0
2010-02-20 | 15:05:58 | 4567858 | oldproc = 0
2010-02-20 | 15:05:58 | 4567860 | oldproc = 0
2010-02-20 | 15:05:58 | 4567862 | oldproc = 0
2010-02-20 | 15:05:58 | 4567863 | oldproc = 0
2010-02-20 | 15:05:58 | 4567931 | oldproc = 0
2010-02-20 | 15:05:58 | 4567933 | oldproc = 0
2010-02-20 | 15:05:58 | 4567936 | oldproc = 0
2010-02-20 | 15:05:58 | 4567946 | Operation instance terminating
2010-02-20 | 15:05:58 | 4567948 | Operation instance terminated
2010-02-20 | 15:05:58 | 4568002 | Material instance terminating
2010-02-20 | 15:05:58 | 4568005 | oldproc = 0
2010-02-20 | 15:05:58 | 4568007 | oldproc = 0
2010-02-20 | 15:05:58 | 4568010 | oldproc = 0
2010-02-20 | 15:05:58 | 4568015 | oldproc = 0
2010-02-20 | 15:05:58 | 4568018 | oldproc = 0

Getting better and better at causing this error, now the panel crashed on focus with third tab visible.
Happened after shape selected, display third tab, go back to main window and deselect shape, focus Properties panel.
I run with panels detached on my second monitor. Complete log attached.
Restarting and trying to reproduce the error I fail. <!– s:( –><img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad" /><!– s:( –>

ps it’s only the ‘Properties and Information’ window that I need to kill, main window and construction panel is closed properly on crash.

And again (progress is kind of slow this way <!– s:) –><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /><!– s:) –>) but this time I can reproduce it!
Group selected and centre of group changed using the properties panel third tab.
Back to main window deselecting by clicking background in scene.
Focusing Properties panel an error pops-up. Main window and Construction panel still showing.
Now going for the hierarchy tab in properties window it crashes and brings down main window and construction panel with the familiar 3DCMaterial run-time error.

In a new scene, drop a cube in default position, select group in hierarchy,
go to properties tab and change x-position by entering new value and ‘enter’.
Click in background of scene deselecting the group.
Select the properties window again -andgt; first error.
Try doing something now brings 3DC down with a crash in Properties panel.

You must be logged in to reply in this thread.