Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 227 of 808  Not logged in ELOG logo
icon5.gif   elogd crash on sorting the entries by an datetime attribute, posted by stefano bonaldo on Thu Dec 15 11:12:09 2016 
Hello,

I'm facing with a crash, which happen when I sort the entries by a datetime attribute (sort or rsort) and then i change the display
mode from Full, Summary and Threaded.
    icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Thu Dec 15 12:50:51 2016 
On Sierre, /opt/local/include should be already included in the standar search path of the prprocessor:

/elog$ cpp -v
Apple LLVM version 8.0.0 (clang-800.0.42.1)
    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: MacOS install failure - cannot find ssl.h, posted by Stefano Bonaldo on Thu Dec 15 15:04:53 2016 
Currently, in my MacBook Pro with Sierre, the search path /opt/local/include of the prprocessor is not included.

cpp -v
    icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Thu Dec 15 15:41:59 2016 
[CODE]export C_INCLUDE_PATH=/opt/local/include[/CODE]

should do the trick. Put this into your .profile
    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