Re: New Debian package (2.5.8+r1592) -- needs testing, posted by Emiliano Gabrielli on Thu Mar 24 12:30:07 2005
|
> Hi to all,
>
> I've prepared a new Debian package. This version will probably be the one
> which you'll find in Sarge/stable.
>
> There are some invasive changes in this version which call for a serious
> test. In accordance with a suggestion, I've changed the configuration
> mechanism. For details, please read the NEWS.Debian file attached.
>
> Could the Debian users who follow this forum test it and give some feedback?
> You can download the package from the following link:
>
> http://l10n-turkish.alioth.debian.org/debian/elog_2.5.8+r1592-1_i386.deb
>
> Thanks in advance for your participation,
btw, what about in including in default/elog also a voice for the "-x" switch ??
It is a security related thing and may be passed only on the command line to the
daemon, so it should be governed by the system elog admin. |
Re: wrong handling of attachment names, posted by Emiliano Gabrielli on Thu Mar 24 13:40:27 2005
|
> When an attached image name contains a space in its filename and attachment
> display is enabled elog builds a wrong url to the image:
>
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709/peeling+002.jpg
>
> instead of the correct one:
>
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709_peeling+002.jpg
>
> The more annoing thing is that elogs hangs on this. a strace shows a select
> on fd n°3 and 5 that loops forever (returning a timeout error):
>
> send(4, "<141>Mar 23 11:36:25 elogd[22189"..., 35, 0) = 35
> rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
>
>
> May be the better solution is, after fixing the bug for backward
> compatibility with already uploaded images, to implement a forced characters
> substitution at upload time, replacing spaces and every character not in a
> "allowed chars" list with an underscore
donno if the following is correlated, otherwise there is another problem I
guess :-)
I attached a strace of elog, hope you'll find it useful.
- Irestarted the daemon
- attached strace to it
- requested the list for a testin logbook, few entries some quite big images
(two thumbnails, the other are old images get resized my the browser)
- repeted previous point a couple of times
- press F5 (mozilla-firefox) the browser hangs 4ever
- stop the load
- repeat point 3, all right
- F5 => hangs
- F5 => hangs
there should be some problem, may be in the socket ? |
Re: wrong handling of attachment names, posted by Stefan Ritt on Fri Mar 25 00:30:57 2005
|
> - Irestarted the daemon
> - attached strace to it
> - requested the list for a testin logbook, few entries some quite big images
> (two thumbnails, the other are old images get resized my the browser)
> - repeted previous point a couple of times
> - press F5 (mozilla-firefox) the browser hangs 4ever
> - stop the load
> - repeat point 3, all right
> - F5 => hangs
> - F5 => hangs
I tried to reproduce this problem, but everything was fine. This problem was never
reported by anyone else as well. |
Re: wrong handling of attachment names, posted by Stefan Ritt on Fri Mar 25 00:33:51 2005
|
> It seems that uploading files with spaces in the name *now* works well... so the
> problem should be somewhere in the handling of existing attachments, not rised when
> the attachment is uploaded with the current version of elog ... it's quite strange
Can you send me one of this old xxxxxxa.log files which causes that crash, I can then fix
it in elogd.c ... |
Re: Crash with Protect Selection page = 1, posted by Alex H on Fri Mar 25 12:44:49 2005
|
> > > Logins work OK if the username/password is valid. However, if I try to login
> > > with invalid authentication, the server crashes. If I turn off the protect
> > > selection page, then invalid authentication does not crash elogd.
> >
> > Ok, it's me, Speedy Gonzales again (as Emiliano says... (;-))
> >
> > I fixed that as well and committed the changes.
>
> That seems to do the trick! Thanks, Steve
Hi,
where can I find this correction for ELOG?
thanks a lot :o) |
Re: Crash with Protect Selection page = 1, posted by Stefan Ritt on Fri Mar 25 18:25:59 2005
|
> > > > Logins work OK if the username/password is valid. However, if I try to login
> > > > with invalid authentication, the server crashes. If I turn off the protect
> > > > selection page, then invalid authentication does not crash elogd.
> > >
> > > Ok, it's me, Speedy Gonzales again (as Emiliano says... (;-))
> > >
> > > I fixed that as well and committed the changes.
> >
> > That seems to do the trick! Thanks, Steve
>
> Hi,
> where can I find this correction for ELOG?
> thanks a lot :o)
It's under CVS. You have to recompile the executable yourself, or you wait for the next
release (;-) |
Re: wrong handling of attachment names, posted by Emiliano Gabrielli on Tue Mar 29 11:49:29 2005
|
> > - Irestarted the daemon
> > - attached strace to it
> > - requested the list for a testin logbook, few entries some quite big images
> > (two thumbnails, the other are old images get resized my the browser)
> > - repeted previous point a couple of times
> > - press F5 (mozilla-firefox) the browser hangs 4ever
> > - stop the load
> > - repeat point 3, all right
> > - F5 => hangs
> > - F5 => hangs
>
> I tried to reproduce this problem, but everything was fine. This problem was never
> reported by anyone else as well.
I tried to rise the problem with konqueror, and all works nice... running
mozilla-firefox gives the problem instead (also running the test at the same time), so
there should be something in firefox or in the interaction between firefox and elog.
I'll send you one of the elog giving the problems so you can test by yourself as you
asked.
btw:
http://midas.psi.ch/elogs/Forum/?mode=full&attach=1 does not gives any problem to me
even running firefox. so the problem may be in some my elog.cong parameter ... |
Re: wrong handling of attachment names, posted by Emiliano Gabrielli on Tue Mar 29 16:21:32 2005
|
> > - Irestarted the daemon
> > - attached strace to it
> > - requested the list for a testin logbook, few entries some quite big images
> > (two thumbnails, the other are old images get resized my the browser)
> > - repeted previous point a couple of times
> > - press F5 (mozilla-firefox) the browser hangs 4ever
> > - stop the load
> > - repeat point 3, all right
> > - F5 => hangs
> > - F5 => hangs
>
> I tried to reproduce this problem, but everything was fine. This problem was never
> reported by anyone else as well.
running ethereal I found a bug, hope this is the problem hanging my firefox (I think
we have a good chance it is :-P)
when I have thuimbs enabled, elog returns for the ".thumb" (or ".whatever".. thumb's
extension should be transparent to elog .. uhm... it can't be .. this is a problem)
anyway, having attached a pdf (a big one) and aving attachment display enabled (with
my thumbnails generated by my script) elog returns for the displayed thumb a
Content-Type for application/x-pdf, instead of the correct image/jpeg. I think this is
the problem.
The only way for elog to know what is the correc\t content type for thumbnails is to
get it from a configuration parameter, becouse it is a chioce of the external script
used to generate them to choose the type of thumbs (jpeg, png, gif ... )
One conf parameter defaulting to jpeg may be the solution |
|