Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 98215

Summary: Value too large for defined data type
Product: [Retired] Red Hat Linux Reporter: Michael Schwendt <bugs.michael>
Component: tcltkAssignee: Jens Petersen <petersen>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: https://bugzilla.fedora.us/show_bug.cgi?id=308
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-27 04:13:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Schwendt 2003-06-28 00:41:07 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
"make test" of sqlite (http://www.sqlite.org/) fails in a big file "file delete
-force test.db" test due to a bug which developers say is a TCL bug in Red Hat
Linux (9):

lt-testfixture: error deleting "test.db": Value too large for defined data type
    while executing
"file delete -force test.db"
    (file "./test/tester.tcl" line 46)
    invoked from within
"source $testdir/tester.tcl"
    (file "./test/bigrow.test" line 18)
    invoked from within
"source $testfile"
    ("foreach" body line 4)
    invoked from within
"foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
  set tail [file tail $testfile]
  if {[lsearch -exact $EXCLUDE $tail]>=0} continue
  so..."
    (file "./test/quick.test" line 30)
make: *** [test] Error 1


Version-Release number of selected component (if applicable):
tcl-8.3.5-88

How reproducible:
Always

Steps to Reproduce:
1. build sqlite (configure ; make)
2. make test

An sqlite src.rpm is available at above URL.


Actual Results:  Big-file test 17 fails.

Expected Results:  Big-file test 17 should not fail.

Comment 1 Jens Petersen 2003-09-18 08:25:00 UTC
Reproduced with sqlite-2.8.6-1.src.rpm.

Can you point me to or attach the comments from the sqlite developers?

Comment 2 Michael Schwendt 2003-09-18 11:40:21 UTC
Please see comments and attachment at: 
https://bugzilla.fedora.us/show_bug.cgi?id=308

Comment 3 Jens Petersen 2003-09-19 02:25:43 UTC
Ok, thanks, though the patch just uses "exec rm" rather than 
"file delete" to work around the problem.

I still not sure whether this isn't a tcl-8.3 bug.
At least I can reproduce the problem on RHL 7.3 too.

Comment 4 Michael Schwendt 2003-09-19 12:53:31 UTC
I don't understand you. Of course that patch is only a work-around, because in
the sqlite package one could not fix a bug in tcl. That's why I didn't attach it
here. The fix for the true problem is likely in tcl 8.4 (September 2002) to
8.4.4 (July 2003).

Comment 5 Jens Petersen 2004-02-26 07:04:54 UTC
Any better with tcl-8.4.5 currently in FC devel?

Comment 6 Michael Schwendt 2004-02-26 10:47:43 UTC
Yes, works for me with tcl-8.4.5-5.

Comment 7 Jens Petersen 2004-02-27 04:13:54 UTC
Thanks, Michael.