PicPool->GetPicture errors

Wei Xie (xiewei@clever.weizmann.ac.il)
Tue, 16 Mar 1999 11:44:34 +0200 (IST)


Dear Rooters,

I get the error messages in the following code:

---------------------------
TGClient* client = new TGClient("ceresx4.weizmann.ac.il");
TGPicturePool *PicPool = new TGPicturePool(client,
"/data4/dst/ROOT/root/icons");
const TGPicture *tmp;
tmp = PicPool->GetPicture("arms.xpm");
-----------------------------

The error is :

----------------
*** Break *** segmentation violation

( 0) 0xc1065fd8 StackTrace__11TUnixSystemFv + 0x28
[/data4/dst/ROOT/root/lib/libUnix.sl]
( 1) 0xc10648f0 DispatchSignals__11TUnixSystemF8ESignals + 0x150
[/data4/dst/ROOT/root/lib/libUnix.sl]
.......................
-------------------

The picture is in the pool, so what could be the error ?

Sincerely
Xie