Anyone seen problems with SQLite 3.6.1/Tcl8.5.4/FreeBSD 7.0R?

This is a discussion on Anyone seen problems with SQLite 3.6.1/Tcl8.5.4/FreeBSD 7.0R? within the TCL forums in Programming Languages category; Note this has been sent to the SQLITE Users digest, as well as the comp.lang.tcl newsgroup. I'm getting a core dump at the end of execution of a script which opens an SQLite database, and performs a query. The gdb stacktrace is as follows: #0 0x284099c0 in ?? () #1 0x2804f918 in dlopen () from /libexec/ld-elf.so.1 #2 0x2804e520 in dlclose () from /libexec/ld-elf.so.1 #3 0x2814a05d in TclpUnloadFile () from /usr/local/lib/libtcl8.5.so #4 0x2810aaef in TclFinalizeLoad () from /usr/local/lib/libtcl8.5.so #5 0x280dc705 in Tcl_Finalize () from /usr/local/lib/libtcl8.5.so #6 0x280dc816 in Tcl_Exit () from /usr/local/lib/libtcl8.5.so #7 0x280a8b56 in Tcl_ExitObjCmd () from /usr/local/lib/libtcl8.5.so #8 0x2809c54d ...

Go Back   Application Development Forum > Programming Languages > TCL

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-26-2008, 01:35 PM
spam@controlq.com
Guest
 
Default Anyone seen problems with SQLite 3.6.1/Tcl8.5.4/FreeBSD 7.0R?


Note this has been sent to the SQLITE Users digest, as well as the
comp.lang.tcl newsgroup.

I'm getting a core dump at the end of execution of a script which opens an
SQLite database, and performs a query. The gdb stacktrace is as follows:

#0 0x284099c0 in ?? ()
#1 0x2804f918 in dlopen () from /libexec/ld-elf.so.1
#2 0x2804e520 in dlclose () from /libexec/ld-elf.so.1
#3 0x2814a05d in TclpUnloadFile () from /usr/local/lib/libtcl8.5.so
#4 0x2810aaef in TclFinalizeLoad () from /usr/local/lib/libtcl8.5.so
#5 0x280dc705 in Tcl_Finalize () from /usr/local/lib/libtcl8.5.so
#6 0x280dc816 in Tcl_Exit () from /usr/local/lib/libtcl8.5.so
#7 0x280a8b56 in Tcl_ExitObjCmd () from /usr/local/lib/libtcl8.5.so
#8 0x2809c54d in TclEvalObjvInternal () from /usr/local/lib/libtcl8.5.so
#9 0x2809d0c4 in TclEvalEx () from /usr/local/lib/libtcl8.5.so
#10 0x2809d3fe in Tcl_EvalEx () from /usr/local/lib/libtcl8.5.so
#11 0x281068e0 in Tcl_FSEvalFileEx () from /usr/local/lib/libtcl8.5.so
#12 0x2810cbc0 in Tcl_Main () from /usr/local/lib/libtcl8.5.so
#13 0x0804869f in main ()

I get the required output, as the script actually runs to completion, and
apparently correctly -- but dumping core is not a good way to end a script
(IMHO).

Does this signature remind anyone of similar behaviours? I've tried
commenting out the close at the end of the script, thinking that the core
was happening at the unload of the libtclsqlite3.so code, but I'm not
entirely sure what's happening here ... I did previously have a threads
related problem with SQLite on FreeBSD, but that was worked around within
the mutex code of the SQLite library.

Hmmm ... any pointers appreciated.

Cheers,
Rob Sciuk
---- Posted via Pronews.com - Premium Corporate Usenet News Provider ----
http://www.pronews.com offers corporate packages that have access to 100,000+ newsgroups
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:55 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.