Prev: Bug in sqlite3?
Next: TLS -cadir and 8.4
From: Anton Prokofiev on 25 Apr 2010 17:04 Hello, All! I've found a strange behavior of ActiveState tcl 8.5.: When I start tclsh8.5 it create file in current directory with crazy name ???@???@8 And it did not remove it when I exit with "exit" command. Any Ideas what could it be?
From: Jeff Hobbs on 26 Apr 2010 12:25 Hi Anton, On Apr 25, 2:04 pm, Anton Prokofiev <a.d.prokof...(a)googlemail.com> wrote: > I've found a strange behavior of ActiveState tcl 8.5.: > When I start tclsh8.5 it create file in current directory with crazy > name ???@???@8 > > And it did not remove it when I exit with "exit" command. We have had this reported from other versions of Ubuntu twice before: http://bugs.activestate.com/show_bug.cgi?id=80035 As you see there isn't a solution posted there. I'm wondering if it may be some obscure i18n/l10n bug. Do you have a standard English setup, or is it oriented towards another language as the default? Perhaps you can add your env info to that bug and we can see if there is any similarities that can be found. As the same AT 8.5 isn't doing this on other machines, I suspect we have an issue at the core level related to the init that is interacting oddly with the libc on Ubuntu under certain circumstances. Jeff
From: Larry W. Virden on 26 Apr 2010 12:50 On Apr 25, 5:04 pm, Anton Prokofiev <a.d.prokof...(a)googlemail.com> wrote: > When I start tclsh8.5 it create file in current directory with crazy > name ???@???@8 > > And it did not remove it when I exit with "exit" command. > > Any Ideas what could it be? Peculiar. I don't know what kind of a file Linux ActiveTcl 8.5 would try to create when starting. My first thought was that perhaps it was something associated with the interactive history facility - but when I look in the generic/ tclhistory.c file, I don't see an open being invoked. Does it happen _immediately_ after starting tclsh8.5 ? Do you have a $HOME/.tclshrc file that might be performing some function that creates the file?
From: Alexandre Ferrieux on 26 Apr 2010 17:51 On Apr 26, 6:25 pm, Jeff Hobbs <jeff.ho...(a)gmail.com> wrote: > Hi Anton, > > On Apr 25, 2:04 pm, Anton Prokofiev <a.d.prokof...(a)googlemail.com> > wrote: > > > I've found a strange behavior of ActiveState tcl 8.5.: > > When I start tclsh8.5 it create file in current directory with crazy > > name ???@???@8 > > > And it did not remove it when I exit with "exit" command. > > We have had this reported from other versions of Ubuntu twice before: > http://bugs.activestate.com/show_bug.cgi?id=80035 > > As you see there isn't a solution posted there. I'm wondering if it > may be some obscure i18n/l10n bug. Do you have a standard English > setup, or is it oriented towards another language as the default? > > Perhaps you can add your env info to that bug and we can see if there > is any similarities that can be found. As the same AT 8.5 isn't doing > this on other machines, I suspect we have an issue at the core level > related to the init that is interacting oddly with the libc on Ubuntu > under certain circumstances. > > Jeff After a bit of digging I found the previous thread about this on clt: http://groups.google.com/group/comp.lang.tcl/tree/browse_frm/thread/31cfd7e24af5db83/56e139e20e445d50?rnum=1&q=creates+empty+files&_done=%2Fgroup%2Fcomp.lang.tcl%2Fbrowse_frm%2Fthread%2F31cfd7e24af5db83%2F61640393a08a81b8%3Flnk%3Dgst%26q%3Dcreates%2Bempty%2Bfiles%26#doc_8c2128dd4e689016 and also a private discussion with Andreas, ending up with the notion that (1) the libc version detection scheme was a bit dangerous on some platforms, and (2) could preferably be done only at teacup/install time instead of runtime (hence improving performance at runtime *and* allowing for slower, safer methods at install time). He asked me to write this idea in an AT bugreport, which I did in http://bugs.activestate.com/show_bug.cgi?id=80239 . I am not aware of a sequel :/ -Alex
From: Jeff Hobbs on 27 Apr 2010 14:07
On Apr 26, 2:51 pm, Alexandre Ferrieux <alexandre.ferri...(a)gmail.com> wrote: > On Apr 26, 6:25 pm, Jeff Hobbs <jeff.ho...(a)gmail.com> wrote: > > > > > Hi Anton, > > > On Apr 25, 2:04 pm, Anton Prokofiev <a.d.prokof...(a)googlemail.com> > > wrote: > > > > I've found a strange behavior of ActiveState tcl 8.5.: > > > When I start tclsh8.5 it create file in current directory with crazy > > > name ???@???@8 > > > > And it did not remove it when I exit with "exit" command. > > > We have had this reported from other versions of Ubuntu twice before: > > http://bugs.activestate.com/show_bug.cgi?id=80035 > > > As you see there isn't a solution posted there. I'm wondering if it > > may be some obscure i18n/l10n bug. Do you have a standard English > > setup, or is it oriented towards another language as the default? > > > Perhaps you can add your env info to that bug and we can see if there > > is any similarities that can be found. As the same AT 8.5 isn't doing > > this on other machines, I suspect we have an issue at the core level > > related to the init that is interacting oddly with the libc on Ubuntu > > under certain circumstances. > > > Jeff > > After a bit of digging I found the previous thread about this on clt: > > http://groups.google.com/group/comp.lang.tcl/tree/browse_frm/thread/3... > > and also a private discussion with Andreas, ending up with the notion > that (1) the libc version detection scheme was a bit dangerous on some > platforms, and (2) could preferably be done only at teacup/install > time instead of runtime (hence improving performance at runtime *and* > allowing for slower, safer methods at install time). He asked me to > write this idea in an AT bugreport, which I did inhttp://bugs.activestate..com/show_bug.cgi?id=80239. I am not aware of > a sequel :/ Thanks for the reminder. We'll reexamine this and provide a fix in the next ActiveTcl. Still not sure why running libc (which has been possibly forever on Linux to get the glibc version) should leave that odd file on Ubuntu. Jeff |