Elog crashes with null Username, posted by Alan Grant on Sun Dec 18 08:51:47 2016
|
I haven't found any reporterd issues in the forum similar yet, but it appears there is a bug in Elog when logging into logbooks. If I leave Username
and Password null and click Submit the daemon crashes. We've been having this problem off and on and after some verbose logging level 3 I was drawn
to these recurring lines in the log: |
Re: Elog crashes with null Username, posted by Stefan Ritt on Mon Dec 19 12:28:47 2016
|
Ups. This bug must have lingered there since the beginning of time. Funny that nobody noticed in the last ten years or so. I have fixed it in the current
git revision.
Alan |
Re: Elog crashes with null Username, posted by Alan Grant on Mon Dec 19 19:42:05 2016
|
Thanks for the speedy fix.
FYI, our other Elog instances which are running ealrier versions do not exhibit this problem, as I confirmed that entering null
ID/password returns "Invalid Username or password" as expected. This may be why it wasn't mentioned by anyone else before. Maybe something |
Elog source code giving errors when compiling about missing header files, posted by rahul bhandari on Wed Dec 21 20:15:19 2016
|
I downloaded the source code from the git repository which contained the new fix that was made for the missing username-crash error. I tried compiling
the elogd.c file using a GCC compiler and it gave an error about missing header files. It first gave an error about netdb.h file and when I commented that
header file call, it gave further errors for other header files. I do not really understand why it gives an error about that. |
Re: Elog source code giving errors when compiling about missing header files, posted by Stefan Ritt on Thu Dec 22 09:41:35 2016
|
You need the netdb.h header file to compile elog. I see that you compile under Windows. You have to make sure that your compiler installation comes with
all header files. The netdb.h file is usually in /usr/include under Unix.
rahul |
elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Warburton on Sat Dec 24 10:40:00 2016
|
When installing ELOG 3.1.2 on my Mac Sierra (10.12.2) with the latest XCode 8.2.1, it seemed to install fine but for one warning when building elogd:
cc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -Wno-deprecated-declarations -DHAVE_SSL -I /opt/local/include -o elogd
src/elogd.c
crypt.o auth.o regex.o mxml.o -lssl
src/elogd.c:13840:13: warning: '__builtin___strlcpy_chk' will always overflow
destination buffer [-Wbuiltin-memcpy-chk-size]
|
Re: elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Luedeke on Tue Jan 3 09:20:23 2017
|
I have no experience with ELOG on OSX, therefore I can only give very vague and indirect support (sorry).
I suggest that you first try
an installation without actual logbook data (just move it to a save place for a while). Does a "find" still crash elogd?
If elogd
is still crashing, you should prune your configuration until it stops crashing. Submit the smallest config here that still crashes the logbook.
Since |
Re: elogd crashes during Find and Mirror operations under MacOS, posted by Stefan Ritt on Tue Jan 3 09:44:18 2017
|
The current GIT revision (c017d07) fixes the problem with
the strlcpy() function (macOS 10.12.2, XCode 8.2). Can you try if that fixes your other problems, too?
Plese remember to use the recursive clone to get that version: |