Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 176 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  66206   Thu Feb 12 17:13:05 2009 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.7.5Re: frequent crashes on SL4
Hi Devin,

first of all, your stack traces are only of limited use for me. This typically happens 
if you attach gdb to a running process, then you get something like

#0  0x080b2f8a in decode_post ()
#1  0x00000100 in ?? ()
#2  0x00000000 in ?? ()

(note the ??). If you run elogd directly from gdb, the stack trace contains much more information:

[meg@megon elog]# gdb elogd
...

(gdb) run
...
Server listening on port 8080 ...

Program received signal SIGINT, Interrupt.
0x0000003cb48c78d3 in __select_nocancel () from /lib64/libc.so.6
(gdb) where
#0  0x0000003cb48c78d3 in __select_nocancel () from /lib64/libc.so.6
#1  0x000000000046ea51 in server_loop () at src/elogd.c:27688
#2  0x0000000000471de8 in main (argc=1, argv=0x7fffe2b9bf18) at src/elogd.c:29018
(gdb) 

including the line numbers, arguments etc. So please try to start elogd from inside gdb 
and then reproduce your crash.

Your first problem seems to be related to some contents of your elogd.cfg, since in 
one stack dump I saw a 

strlen()
...
getcfg()

Here, the getcfg() function is called to retrieve some configuration from elogd.cfg. 
Maybe you have a very long line, or the file is otherwise corrupt. Please check that
carfully and send me your elogd.cfg so that I can have a look myself. Usually it helps
to remove one line after the other and check when the problem disappears.

Your other problem which has the decode_post() in the stack dump seems to be related
to the case when you upload an entry (or attachment), and the TCP link breaks in 
the middle. Probably the error handling in such a case is not correct. I will try
to reproduce this, although I don't have a satellite network.

Best regards,

  Stefan
  66208   Fri Feb 13 16:57:02 2009 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.7.5Re: frequent crashes on SL4
There was a general problem in submitting entries. If the TCP connection between the browser and elog 
disconnects during the transmission and only part of the request gets transferred, it consistently 
crashed elog. The probability for this is large if you have a slow connection and long attachments. The problem 
has been fixed in SVN revision 2174, so please upgrade and try again.
  66267   Tue Mar 24 15:14:28 2009 Reply Devin Bougiedab66@lepp.cornell.eduRequestLinux2.7.5Re: frequent crashes on SL4
Indeed, uploading images over a satellite connection does not crash the development ELOG server available from SVN.  Our user was unable to 
crash 
elogd (or upload an image) and reports "The upload window would complain about an "upstream server", but the site was still there."

Thank you very much for your time and help (with both of the issues reported in this thread).

Sincerely,
Devin
  342   Fri May 16 08:34:44 2003 Reply Stefan Rittstefan.ritt@psi.chRequest  Re: forum.css
> In the Config Examples logbook you mentioned a forum.css.  Do you have a 
> link to that css and others?

Sure, that's what the "Config Examples" logbook is for. Just click on the 
tab on top of this page. The forum you will find 
under elog:Config%20Examples/4 .
  2257   Wed Jun 27 15:06:24 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.6.5-1855Re: formating bug : css and Format command

toumbi wrote:
Why Gain and G1,G2 .... G8 are on the same line ?


Because you specified it! The first "1" in your format forces the attributes to show up on the same line. Just read the manual.


toumbi wrote:

When I create a new entry, attibute 'attribgainname' is not used.( i can see lime color only when i see logged
message.)


The 'attribmainname' is only used for the display page, not for the entry form.
  2258   Wed Jun 27 16:02:49 2007 Reply toumbitoumbi@yopmail.comBug reportWindows2.6.5-1855Re: formating bug : css and Format command

Stefan Ritt wrote:

Because you specified it! The first "1" in your format forces the attributes to show up on the same line. Just read the manual.

Oups ... I understand better now how to put a new line .
this is my example.
; start a new line G1,G2...G8
Format G1 = 0,attribgainname,attribvalue,10,10
Format G2 = 1,attribgainname,attribvalue,10,10
Format G3 = 1,attribgainname,attribvalue,10,10
Format G4 = 1,attribgainname,attribvalue,10,10
Format G5 = 1,attribgainname,attribvalue,10,10
Format G6 = 1,attribgainname,attribvalue,10,10
Format G7 = 1,attribgainname,attribvalue,10,10
Format G8 = 1,attribgainname,attribvalue,10,10
; start a new line I1,I2...I8
Format I1 = 0,attribgainname,attribvalue,10,10
Format I2 = 1,attribgainname,attribvalue,10,10
Format I3 = 1,attribgainname,attribvalue,10,10
Format I4 = 1,attribgainname,attribvalue,10,10
Format I5 = 1,attribgainname,attribvalue,10,10
Format I6 = 1,attribgainname,attribvalue,10,10
Format I7 = 1,attribgainname,attribvalue,10,10
Format I8 = 1,attribgainname,attribvalue,10,10




Stefan Ritt wrote:

The 'attribmainname' is only used for the display page, not for the entry form.


ok so if you say it is not a bug i can understand but in that case the format command work half in the entry form.
Is it possible to implement it for the next time?

thanks
  2259   Wed Jun 27 16:15:04 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.6.5-1855Re: formating bug : css and Format command

toumbi wrote:
ok so if you say it is not a bug i can understand but in that case the format command work half in the entry form. Is it possible to implement it for the next time?


Yes I will do that.
  2260   Wed Jun 27 19:51:39 2007 Reply toumbitoumbi@yopmail.comBug reportWindows2.6.5-1855Re: formating bug : css and Format command

Stefan Ritt wrote:

toumbi wrote:
ok so if you say it is not a bug i can understand but in that case the format command work half in the entry form. Is it possible to implement it for the next time?


Yes I will do that.

Thank you , I download and compile myself elogd and it work now.

But I found a line one the french language that make javascritp bug
line 391:
Enter heading level (1, 2 or 3) = Indiquez le niveau d'en-tête (1, 2 ou 3)

=> linkHeading_prompt = 'Indiquez le niveau d'en-tête (1, 2 ou 3)'; there is one more '


my french is better than my english so i can say it is a good translation but the symbole between the letter d and the letter e make exporer 7 bug.

Enter heading level (1, 2 or 3) = Indiquez le niveau d en-tête (1, 2 ou 3) (this work but translation isn't good.


Thanks a lot ! and continue it is a beautiful tool.
ELOG V3.1.5-3fb85fa6