Segfault on elog-3.1.5-1 when uploading file., posted by gary holman on Thu Dec 12 18:45:49 2024
|
I am receiving a segfault whenever I attempt to upload a file. Please see attached .txt for valgrind output. This occurs in version
elog-3.1.5-1. I reverted back to version elog-3.1.4-3 and the segfault does not occur.
Segfault occurs in Elog version: elog-3.1.5-1 |
Re: Segfault on elog-3.1.5-1 when uploading file., posted by gary holman on Thu Dec 12 19:01:39 2024
|
Looks like duplicate report to https://elog.psi.ch/elogs/Forum/69826
gary
holman wrote:
I am receiving a segfault whenever I attempt to upload a file. |
Re: Segfault on elog-3.1.5-1 when uploading file., posted by Stefan Ritt on Thu Dec 12 19:46:02 2024
|
A statement like "core dumped" does not help much. Same with valgrind memory leaks. I need a full strack trace with all parameters when the
segment violation occurs. The easiest is when you run elogd vom inside gdb, and once you get the signal, do a "where" to see th full stack trace.
As you can see from this forum, there is absolutely no crash when you upload any file, so it must have to do with your config file or anything |
Re: Segfault on elog-3.1.5-1 when uploading file., posted by gary holman on Thu Dec 12 20:29:40 2024
|
Thanks for further instructions here is full stack trace:
Program received signal SIGABRT, Aborted. |
Re: Segfault on elog-3.1.5-1 when uploading file., posted by Stefan Ritt on Fri Dec 13 15:11:08 2024
|
Thanks to your stack trace, I found a case where a string might get overwritten, but only if the attachment file name is longer than 256 chars. I fixed
the code and made a new RPM:
https://www.dropbox.com/scl/fi/r37qx9aka5ytt3j7vn4km/elog-3.1.5-20241213.el8.x86_64.rpm?rlkey=knct99pdltggunrbmyr2hpfe5&st=pkre24aq&dl=0 |
Re: Segfault on elog-3.1.5-1 when uploading file., posted by gary holman on Fri Dec 13 19:40:57 2024
|
Thanks Stefen!
I built from source (ELOG V3.1.5-3a5f2f00) and I confirmed as fixed.
|
Re: Segfault on elog-3.1.5-1 when uploading file., posted by Evinrude Motor on Tue Jan 7 20:35:23 2025
|
When will the new source be in the standard download area ? I'm on ubuntu .
gary
holman wrote:
Thanks Stefen! |
Re: Segfault on elog-3.1.5-1 when uploading file., posted by Stefan Ritt on Tue Jan 7 20:41:13 2025
|
It is in the usual download area which is referenced at https://elog.psi.ch/elog/download.html
Stefan
Evinrude |
Re: Segfault on elog-3.1.5-1 when uploading file., posted by Evinrude Motor on Sun Apr 13 13:56:05 2025
|
So this never made it into the download area ? elog-latest.tar is elog-3.1.5-1 and contains no files from 2024 or 2025 .
Thanks |
Re: Segfault on elog-3.1.5-1 when uploading file., posted by Stefan Ritt on Thu Apr 17 13:10:43 2025
|
I stopped making tar files, since most people building elog from sources just pull it from the bitbucket repository:
$ git clone https://bitbucket.org/ritt/elog --recursive
$ cd elog |
New elog from template should update the subdir, posted by Liam Gaffney on Wed Apr 2 13:01:34 2025
|
Hello. We are using explicity subdir names on our elog server to manage a large number of "Top groups" and sub "groups". When we
create a new logbook from a template in the same group, it would be beneficial to automatically give a new subdir based on the previous one. At the very
least, it should not reuse the same parameter as the template (see below). |
Custom input forms implementation, posted by Stefan Ritt on Fri Sep 17 06:19:39 2010   
|
Dear ELOG users,
starting with SVN revision 2328, custom input forms are implemented. This allows application specific formats for check lists etc. In our specific
case we had to implement a shift check list, which was quite long. Furthermore the check list should be optimized for an iPad, which we take in the field |
Re: Custom input forms implementation, posted by JD on Fri Jul 8 12:09:45 2016
|
Hello Stefan,
I created a custom form with the example you provided. When I enter the Data and Submit the Form I get the error message "Datei
passwordfile.xml kann nicht geöffnet werden: No such file or directory". Posting stuff works in all |
Host ELOG on Raspberry Pi for small lab, posted by Michel Döhring on Thu Mar 20 10:25:59 2025
|
Dear all,
is there an instruction document how to exacly host the ELOG on a server for example a raspberry pi?
Wishes, |
Re: Host ELOG on Raspberry Pi for small lab, posted by Stefan Ritt on Thu Mar 20 11:21:07 2025
|
Just read the manual: https://elog.psi.ch/elog/adminguide.html
Michel
Döhring wrote:
Dear all, |
Re: Host ELOG on Raspberry Pi for small lab, posted by Konstantin Olchanski on Fri Mar 21 23:51:08 2025
|
> is there an instruction document how to exacly host the ELOG on a server for example a raspberry pi?
would be same as on any other linux machine, in the nutshell:
|
3-level conditional not working, posted by Harry Martin on Thu Mar 20 07:34:24 2025
|
Not sure if this is a bug or not; if it is not, kindly reclassify the category.
Following is a small example of what I will dub a 3-level, conditional logbook:
[cond_test] |
Webserver authentication may cause redirect loop, posted by Arjan Hulsbosch on Thu Jan 23 11:32:05 2025
|
If
Elog is configured to use webserver authentication, and
the user reported by the webserver does not exist in the password
file, and
the "Guest Menu commands" configuration is set in "elogd.cfg", and
a logbook is accessed,
then |
Equation Editor does not work, posted by Dominic on Sun Sep 1 04:33:13 2024
|
Hi!
I am not sure if this is a know issue: it seems that the equation editor does not work anymore. Is there any fix or alternative method to type
latex formula in the log? |
Re: Equation Editor does not work, posted by Nick Sauerwein on Wed Sep 25 16:00:06 2024
|
We have observed the same issue. Did the CodeCogs api change?
Thanks for the help.
Dominic |
Re: Equation Editor does not work, posted by Dominic on Tue Nov 5 15:51:26 2024
|
is there any update on this bug? Has anyone else observed the same problem?
Dominic
wrote:
Hi! |
Re: Equation Editor does not work, posted by Stefan Ritt on Mon Jan 6 14:59:06 2025
|
Apparently Codecogs have changed their URL. I tried the update from
https://editor.codecogs.com/depr/CK_Editor_v4x.php
but it did not help. The CK Editor v5 is quite different from v4 (like they require node.js to install it), so putting it into elog would be |
Author special characters changed when saving as draft, posted by Víctor M. Nouvilas on Mon Dec 16 15:26:26 2024
|
Hello, I have installed ELOG in an Ubuntu 22.04 machine and is working great, but I have found a small bug with Author names.
I have the config set like this for the Author attribute:
Preset Author = $long_name |