Re: [cpp-linux-esoteric] ..Array::Clear() crashes XSI from workgroup only

Date : Fri, 06 Oct 2006 15:06:55 +0200
To : XSI(at)Softimage.COM
From : Guy Rabiller <guy(at)alamaison.fr>
Subject : Re: [cpp-linux-esoteric] ..Array::Clear() crashes XSI from workgroup only

It appears to be stranger than I thought.

We have 3 workgroups, one for production ( base ), one for dev and one for external ( not from LaMaison ) plugins.

The plugin in question is in the dev one. When all 3 workgroups are connected, it crashes.
When one of the two others is disconnected, the plugin does not crash Ôô.


So if base or ext is diconnected everything works fine, if both are connected the plugin ( located in the third dev workgroup ) crashes.

Hmm.. where is my rubiks cube ;-)
--
guy rabiller | 3d technical director (at) LaMaison


Guy Rabiller a écrit :

Thanks for the suggestion Luc-Eric, I'll give it a try. Normaly all symbols are hidden, but I'll go deeper. Thanks. -- guy rabiller | 3d technical director (at) LaMaison


Luc-Eric Rousseau a écrit :
typically this happens because an exported symbol (i.e. a function name or variable name) is taken from the wrong place. On Windows, symbols that come from outside of a DLL are identified by both name the dll it's located in. On unix, at load time the symbol can be picked up in any given .so that's already loaded at that time, so it's possible to 'overload', or hide, a symbol. one thing you could try is to go in an shell with the xsi environement, and do "ldd <your.so>" and see what gets loaded. If nothing unexpected comes up from this, eleminate other files in the workgroup until the problem goes away. If that's not what it is, I don't know.

From: Guy Rabiller

Hi,

by any chance ( so to speak ), does anyone allready experienced this issue ? :

From a self-installable plugin, using some array ( CStringArray, CValueArray, .. ), the plugin crashes XSI when doing ..Array::Clear(), but only if the plugin is runned from a connected workgroup. Running it from the user directory/Application/plugins works fine !?

This happens only on Linux. Running the same plugin on Windows works fine, as usual..

Anyone ?
--
guy rabiller | 3d technical director (at) LaMaison

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi





---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi





--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.