Elogd crashes on search, posted by Laurent Jean-Rigaud on Fri Jan 31 15:17:04 2020
|
OS: CentOS 7 x86_64 up2date with RPM 3.14 x86_64
Connexion to ELOG
open one logbook and click search,
input "test" and click "Search" : BOOM
Firefox
can not connect anymore on ELOG.
The crash is met with several words now ("test", "post", "4.5", are the |
Re: Elogd crashes on search, posted by Stefan Ritt on Fri Jan 31 15:27:21 2020
|
Do you see the same problem on this server here?
If not, then it must be related to your specific configuration. You have to teach me how to reporduce the error in order to fix it. Best would
be a minimal elogd.cfg which causes the error. |
Re: Elogd crashes on search, posted by Laurent Jean-Rigaud on Fri Jan 31 15:34:56 2020
|
Hi Stefan,
The problem seems to be specific with our logbooks. Maybe one of the file is corrupted or bad string encoding ?! But how to find the source of
the problem ? |
Re: Elogd crashes on search, posted by Stefan Ritt on Fri Jan 31 15:46:09 2020
|
The only way for me is to reproduce it. Could be corrupted data file, or config file. Try with a new logbook with the same configuration, then add logbook
files one by one until it happens.
Stefan |
Re: Elogd crashes on search, posted by Laurent Jean-Rigaud on Mon Feb 3 13:31:15 2020
|
Hi Stefan.
I installed debuginfo and ran elogd with gdb attached.
(gdb) backtrace |
Re: Elogd crashes on search, posted by Laurent Jean-Rigaud on Tue Feb 4 13:56:51 2020
|
Hi Stefan,
My previous dump is useless as your elog-debuginfo rpm is stripped.
So i rebuild elog w/ -g , reinstall it and activate core generation. I restst a search of "test" and get this in gdb corefile . |
Re: Elogd crashes on search, posted by Laurent Jean-Rigaud on Tue Feb 4 17:07:02 2020
|
At #5, there is message_id=426 . You think it's this elog entries # 426 that is the source of crash ?
Laurent
Jean-Rigaud wrote:
Hi Stefan, |
Re: Elogd crashes on search, posted by Stefan Ritt on Tue Feb 4 17:19:49 2020
|
Looks like. Can you dig into the database file and have a look at that entry? Or send me the file containing that entry (together with your elogd.cfg)
Stefan
Laurent |