From: Claudio Vaccani (clownfish++at++ggaweb.ch)
Date: 11/23/2002 02:38:12
Hi Per,
I've encountered a similiar problem (crashes at arbitrary times,
similiar stacktrace) with an application that shared nodes amoung
multiple threads (i.e. T1 - create nodes, T2 - add nodes to scenegraph).
Seems that Performer isn't that thread-safe (of course I don't know if
that's an issue in your case).
Have fun
Claudio
Per Fahlberg wrote:
> pfHi all,
>
> I'm working on an application that pages alot of terrain and textures
> and I'm getting some mysterios crashes. The crashes occur at different
> times sometimes the application can run for hours and sometimes it
> crashes after a couple of minutes. The application is run in the same
> way every time (it flys over the terrain in the same path every time).
> It crashes both on Linux and on Irix and I have appended the stacktraces
> last in the mail.
> There is probably something in my application that causes the crases but
> I'm having a hard time finding the problem. Maybe someone can give me a
> hint of where to look for the cause of the crases.
>
> I'm runnig Performer 2.5 on both Linux and Irix.
>
> Regards
> /Per Fahlberg
>
>
> Linux stacktrace:
>
> #0 0x403ff75d in pfObject::getUserData(int) const () from
> /usr/lib/libpf.so.2
> #1 0x4066dd81 in pfObject::getUserData() const () from
> /usr/lib/libpf.so.2
> #2 0x402a4d7a in pfBuffer::pf_destroyMem(pfMemory*) ()
> from /usr/lib/libpf.so.2
> #3 0x40357361 in pfDBase () from /usr/lib/libpf.so.2
> #4 0x080ac1d8 in dBaseFunction(void*) (data=0x0) at dBase.cc:69
> #5 0x4035764a in mpDBase() () from /usr/lib/libpf.so.2
> #6 0x40354106 in pfConfig () from /usr/lib/libpf.so.2
> < ...snip... >
>
>
> Irix stacktrace:
>
>
>> 0 pfBuffer::pf_destroyMem(pfMemory*)(0x51d36aa0, 0x4134f234, 0x54, 0x1eed18, 0x
>
> 640000, 0x46b08208, 0x1, 0x1)
> ["/build/perfbuild/perftot0/perf/lib/libpf/pfBuffer.
> C":1487, 0x3cbee4f4]
> 1 ::pfDBase(0x51d36aa0, 0x4134f234, 0x54, 0x1eed18, 0x640000,
> 0x46b08208, 0x1,
> 0x1) ["/build/perfbuild/perftot0/perf/lib/libpf/pfProcess.C":5817,
> 0x3ccfb2d4]
> 2 ::dBaseFunction(void*)(0x0, 0x7fff19b8, 0x1050d108, 0x1050d108,
> 0x0, 0x0, 0x0
> , 0x7fff1c60) ["/home/perfa/source/grape_linux/grape-sgi/dBase.cc":69,
> 0x10172cb4]
> 3 ::mpDBase(void)(0x51d36aa0, 0x4134f234, 0x54, 0x1eed18, 0x640000,
> 0x46b08208,
> 0x1, 0x1) ["/build/perfbuild/perftot0/perf/lib/libpf/pfProcess.C":5945,
> 0x3ccfb5b
> 0]
> 4 ::pfConfig(0x51d36aa0, 0x0, 0x54, 0x1eed18, 0x0, 0x46b08208, 0x1,
> 0x1) ["/bui
> ld/perfbuild/perftot0/perf/lib/libpf/pfProcess.C":3683, 0x3ccf6dbc]
> < ...snip... >
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>
>
>
This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 02:36:27 PST