Re: Help! problem running a script.
- From: "Gerald W. Lester" <Gerald.Lester@xxxxxxx>
- Date: Tue, 29 Jul 2008 11:17:15 -0500
cche wrote:
...
This lib I wrote about 8 years ago and about 2 years ago I converted
them to the Tcl_Obj side of the force. It has been working without a
problem since then on 32bit machines. This year I inherited a 64bit
machine plus our servers are 64 bit machines too. Until now I didn't
encounter any problem with this lib. So in the end it is not an option
because I have quite a lot of code depending on this lib.
Anyway I tried to simplify my problem so I implemented most of the c
part in tcl and replaced the call to the lib with this critcl code and
I keep having the same problem... Any thoughts?
...
Is this a 64bit compile of Tcl?
Are all of the libraries/extensions you are pulling in 64bit compiles?
Are you using threads? If so, are all of the 64bit implementation of any libraries/extensions you are pulling in thread safe?
Try compiling Tcl with the memory debug flags set and running it that way.
The only other thing I see is that the function mstrlen returns a type size_t and it is assigned into a long -- why not have them the same type?
--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.
- References:
- Help! problem running a script.
- From: cche
- Re: Help! problem running a script.
- From: Alexandre Ferrieux
- Re: Help! problem running a script.
- From: cche
- Help! problem running a script.
- Prev by Date: Re: Help! problem running a script.
- Next by Date: Re: New Canvas
- Previous by thread: Re: Help! problem running a script.
- Next by thread: Re: Help! problem running a script.
- Index(es):
Relevant Pages
|