Tcl Source Code

View Ticket
Login
Ticket UUID: 915904
Title: panic: object table not initialized
Type: Bug Created on: 2004-03-14 07:03:19
Submitter: mistachkin Assigned to: andreas_kupries
Subsystem: 49. Threading Severity:
Priority: 8 Last modified: 2004-03-14 15:20:13
Status: Closed Closed by: mistachkin
Resolution: Invalid Closed on: 2004-03-14 08:20:13
Version: None
Description:
i'm getting the panic "object table not initialized" by 
using Tcl_ResetResult on an interp that isn't using 
dynamic storage for the current result (possibly before 
any other obj's have been created)...

Tcl_PanicVA(const char * 0x0259a084, char * 
0x0388fddc) line 97 + 44 bytes
Tcl_Panic(const char * 0x0259a084) line 134 + 13 bytes
Tcl_DbIsShared(Tcl_Obj * 0x026349b0, const char * 
0x0259df88, int 832) line 2777 + 10 bytes
ResetObjResult(Interp * 0x025f7d80) line 832 + 19 bytes
Tcl_ResetResult(Tcl_Interp * 0x025f7d80) line 793 + 9 
bytes

It appears that the only place where tsdPtr-
>objThreadMap is initialized is TclDbInitNewObj, which 
may not have been called yet?
User Comments:
mistachkin added on 2004-03-14 15:20:13:
Logged In: YES 
user_id=113501

Oops, using interp from wrong thread.  However, this panic is 
only tickled in debug mode?