From: SourceForge.net <no...@so...> - 2008-01-10 16:09:39
|
Bugs item #1867855, was opened at 2008-01-09 14:09 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1867855&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 10. Objects Group: current: 8.5.0 >Status: Closed >Resolution: Fixed Priority: 9 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Don Porter (dgp) Summary: segv: format {%llx} 0 Initial Comment: This is on an Ubuntu (gutsy) system using the binary ActiveTcl 8.5.0 installation. bash$ uname -a Linux rvml 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux bash$ /opt/ActiveTcl-8.5/bin/tclsh8.5 % info patchlevel 8.5.0 % format {%llx} 1 1 % format {%llx} 0 Segmentation fault (core dumped) ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2008-01-10 11:09 Message: Logged In: YES user_id=80530 Originator: NO Fixed in HEAD ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2008-01-09 16:55 Message: Logged In: YES user_id=80530 Originator: NO Program received signal SIGSEGV, Segmentation fault. 0x0808d2ba in Tcl_AppendFormatToObj (interp=0x8f968d0, appendObj=0x8fac598, format=0x8fc505c "", objc=1, objv=0x8f96f74) at /home/dgp/cvs/tcl/unix/../generic/tclStringObj.c:2153 2153 bytes[numDigits] = '0' + digitOffset; (gdb) bt #0 0x0808d2ba in Tcl_AppendFormatToObj (interp=0x8f968d0, appendObj=0x8fac598, format=0x8fc505c "", objc=1, objv=0x8f96f74) at /home/dgp/cvs/tcl/unix/../generic/tclStringObj.c:2153 #1 0x0808d865 in Tcl_Format (interp=0x8f968d0, format=0x8fc5058 "%llx", objc=1, objv=0x8f96f74) at /home/dgp/cvs/tcl/unix/../generic/tclStringObj.c:2309 ... (gdb) print numDigits $2 = -35109 ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2008-01-09 15:15 Message: Logged In: YES user_id=72656 Originator: NO Happens on Linux-2.4 and Windows as well. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1867855&group_id=10894 |