Your message dated Thu, 17 Jul 2008 21:02:05 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#487549: fixed in tclex 1.2a1-15 has caused the Debian Bug report #487549, regarding tcLex segfaults under tcl8.5 (in transcriber) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 487549: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487549 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: tclex Version: 1.2a1-14 When I try to run transcriber, which uses tcLex, under a version 8.5 Tcl/Tk wish, it segfaults. If a file is specified on the command line, it crashes immediately; otherwise it opens a file chooser and then crashes after you choose a file. (I suspect that this is the same failure behind transcriber bug #484738, though it's hard to be sure because there aren't any details of the failure in that report.) Here's the tcLex part of the stack backtrace: #0 0xb6dfc722 in RuleGetRange (interp=0x8053f80, lexer=0x8358ff8, rule=0x82d34f8, stringObj=0x88cab00, index=0, rangeIndex=0, startPtr=0xbfd21880, endPtr=0xbfd2187c) at RE82.c:140 #1 0xb6dfa779 in RuleTry (interp=0x8053f80, lexer=0x8358ff8, iRule=0, bCheckOverrun=0, pMinLength=0xbfd218d4) at tcLex.c:1580 #2 0xb6dfad3c in LexerEval (interp=0x8053f80, lexer=0x8358ff8, bCheckOverrun=0) at tcLex.c:1859 #3 0xb6dfb5fc in LexerEvalObjCmd (interp=0x8053f80, lexer=0x8358ff8, objc=4, objv=0x816c8c4, op=0) at tcLex.c:2193 #4 0xb6dfc23b in LexerObjCmd (clientData=0x8358ff8, interp=0x8053f80, objc=4, objv=0x816c8c4) at tcLex.c:2950 #5 0xb7cdb741 in TclEvalObjvInternal (interp=0x8053f80, objc=4, objv=0x816c8c4, command=0xffffffff <Address 0xffffffff out of bounds>, length=-1, flags=0) (My invocation to get this to run under GDB with debugging symbols is: LD_LIBRARY_PATH=/src/debian/tclex-1.2a1/install/lib:/src/debian/tcl8.5-8.5.2/install/lib TCLLIBPATH=/src/debian/tclex-1.2a1/install/lib/tcltk gdb --args /src/debian/tk8.5-8.5.2/unix/wish /usr/lib/transcriber1.5/tcl/Main.tcl /tmp/foo.wav where I've done source builds of the respective tcl8.5, tk8.5, and tclex packages with debugging enabled) Line 140 is: *startPtr = regexpPtr->matches[rangeIndex].rm_so+index; and the proximate cause of the segfault is that regexpPtr->matches is null. I tried adding an extra guard condition of "|| !regexpPtr->matches" on the preceding if statement, and that prevents the segfault, but it seems to give the wrong behavior. It causes transcriber to die with a parse error on a file that should be known to be correct. (The XML DTD describing its file format.) Looking back at the package history, it appears that tcLex has needed a bit of porting for every time the Tcl regexp library is updated, so I think that's what's called for again. But it still works fine for me with Tcl 8.4, so a fallback would be detect the incompatibility and give a better error. Relevant package versions: ii tcl8.5 8.5.2-1 Tcl (the Tool Command Language) v8.5 - run-t ii tk8.5 8.5.2-1 Tk toolkit for Tcl and X11, v8.5 - run-time ii transcriber 1.5.1.1-1 Transcribe speech data using an integrated e -- Stephen
--- End Message ---
--- Begin Message ---Source: tclex Source-Version: 1.2a1-15 We believe that the bug you reported is fixed in the latest version of tclex, which is due to be installed in the Debian FTP archive: tclex_1.2a1-15.diff.gz to pool/main/t/tclex/tclex_1.2a1-15.diff.gz tclex_1.2a1-15.dsc to pool/main/t/tclex/tclex_1.2a1-15.dsc tclex_1.2a1-15_i386.deb to pool/main/t/tclex/tclex_1.2a1-15_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sergei Golovan <[EMAIL PROTECTED]> (supplier of updated tclex package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Fri, 18 Jul 2008 00:42:21 +0400 Source: tclex Binary: tclex Architecture: source i386 Version: 1.2a1-15 Distribution: unstable Urgency: low Maintainer: Tcl/Tk Debian Packagers <[EMAIL PROTECTED]> Changed-By: Sergei Golovan <[EMAIL PROTECTED]> Description: tclex - A lexical analyzer generator for Tcl Closes: 487549 Changes: tclex (1.2a1-15) unstable; urgency=low . * Don't allow to load tcLex package into Tcl 8.5 and newer because of changes in Tcl internal structures which break binary compatibility. After Tcl 8.5 will become a default Tcl version tcLex will be rebuilt with 8.5 and will loose compatibility with 8.4 (closes: #487549). * Bumped standards version to 3.8.0. Files: 4aa5616fa0bc8c1a21bf2d626443e315 1021 interpreters extra tclex_1.2a1-15.dsc fbbb5d5b4597cb8e83bad4b2016683f7 7500 interpreters extra tclex_1.2a1-15.diff.gz 926b1b70aa365e47661bc64bbd171c94 47370 interpreters extra tclex_1.2a1-15_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIf7H1IcdH02pGEFIRAktQAJ0VO+JsQwV3j6VdAfetJMr7uAFa0wCfbYke P5iWGWRICjYae3a6mvTe5bI= =sbNu -----END PGP SIGNATURE-----
--- End Message ---

