Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 193 of 806  Not logged in ELOG logo
    icon2.gif   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:
    icon2.gif   Re: elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Warburton on Tue Jan 3 12:43:56 2017 
 




Stefan
Ritt wrote:



The current GIT revision (c017d07)
    icon2.gif   Re: elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Warburton on Tue Jan 3 12:45:13 2017 
Thank you very much (both Andreas and Stefan)!  The build now runs without warnings, and I am now able to do Find operations without crashes.  I
still am having some issues with the synchronization, but I suspect that this is elog-content related, so will in the coming days do some more testing
from CERN (where I have higher bandwidth with my home institution in Canada).  Incidentally, I had to add a line to Makefile in order to be able to
    icon2.gif   Re: elogd crashes during Find and Mirror operations under MacOS, posted by Stefan Ritt on Tue Jan 3 12:58:13 2017 
Ah, thanks for telling me. I added that to the Makefile. I did not need this because I had in my .profiel following line

export C_INCLUDE_PATH=/opt/local/include

which I need also for other macports-based projects. But having this twice does not hurt.
    icon2.gif   Re: elogd crash on sorting the entries by an datetime attribute, posted by Stefan Ritt on Thu Dec 15 13:59:14 2016 Screen_Shot_2016-12-15_at_13.58.56_.png
I tried your config file on my Mac and it just worked fine without any crash:

    icon2.gif   Re: elogd crash on sorting the entries by an datetime attribute, posted by Stefano Bonaldo on Thu Dec 15 14:44:32 2016 
Hello Stefan, thanks for your answer. So I made a new logbook, without entries. I generated, as you, two new entries and I discover that this problem
come out when in the URL the command for the sorting follow the command of the display mode. So for example the following URL give me the issue:

http://local.host.com:8080/65+nm/?mode=summary&sort=Record+date
    icon2.gif   Re: elogd crash on sorting the entries by an datetime attribute, posted by Alan Grant on Thu Dec 15 15:42:06 2016 
Hi Stefano.

This may or may not have anything to do with your specific problem but I notice you have the single word "date" as part of your
attribute name and Date is actually a reserved word in Elog. Although your attribute is not exclusively called "date" I have found that
    icon2.gif   Re: elogd crash on sorting the entries by an datetime attribute, posted by Stefano Bonaldo on Fri Dec 16 02:44:53 2016 
Hello Alan,

I tried with a new logbook with an attribute without "date" name, but unfortunately I got the same error. Any other suggestions?

Thanks
ELOG V3.1.5-3fb85fa6