Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   xmalloc error when filling entries and chaning page, posted by Antonio Iuliano on Wed Dec 12 10:44:57 2018 elogd.cfg
    icon2.gif   Re: xmalloc error when filling entries and chaning page, posted by Stefan Ritt on Fri Dec 21 13:00:50 2018 
Message ID: 68872     Entry time: Wed Dec 12 10:44:57 2018     Reply to this: 68878
Icon: Warning  Author: Antonio Iuliano  Author Email: antonio.iuliano@cern.ch 
Category: Question  OS: Linux  ELOG Version: 3.1.2 
Subject: xmalloc error when filling entries and chaning page 

Dear ELOG experts,

the ELOG server on our lab crashes  continuosly, when we add a new entry or even if we click the arrows to navigate between entries. Following the FAQ on the website, I have used gdb and found the following error:

xmalloc: not enough memory

[Inferior 1 (process 23271) exited with code 01]

It should be then some allocation issue when we try to access to the entries, but I could not figure the nature of the issue. I was, however, able to reproduce it with a fresh ELOG installation and the same configuration file (ELOG cloned from git and installed today)

Could you please give me any suggestion? I attach here the configuration file we use.

Best regards,

Antonio Iuliano

Attachment 1: elogd.cfg  124 kB  | Hide | Hide all
[global]

Group SHiP-charm scanning = CHARM1, CHARM2, CHARM3, CHARM4, CHARM5, CHARM6
Group SHiP-charm analysis = SUMMARY
Group CHARM1          = CHARM1_RUN1,CHARM1_RUN2,CHARM1_RUN3,CHARM1_RUN4,CHARM1_RUN5,CHARM1_RUN6
Group CHARM2          = CHARM2_RUN1,CHARM2_RUN2,CHARM2_RUN3,CHARM2_RUN4,CHARM2_RUN5,CHARM2_RUN6
Group CHARM3          = CHARM3_RUN1,CHARM3_RUN2,CHARM3_RUN3
Group CHARM4          = CHARM4_RUN1,CHARM4_RUN2,CHARM4_RUN3
Group CHARM5          = CHARM5_RUN1,CHARM5_RUN2,CHARM5_RUN3
Group CHARM6          = CHARM6_RUN1,CHARM6_RUN2,CHARM6_RUN3
Group Decay Search    = DS_2012,DS_2011,DS_2010,DS_2009,DS_2008
Group Event Location  = 2012,2011,2010,2009,2008,temp
Group Other Task      = Weekly Meetings, reviews, Computing

port = 8080
Entries per page = 120
Thumbnail size = 50
Attachment lines = 30
Search all logbooks = 2
Default encoding = 1

Expand default = 0

#Time format = %Y-%m-%dT%H:%M:%S%z   ISO FORMAT
Time format = %Y-%m-%d %H:%M
Date format = %Y-%m-%d

###############################################################################
[SUMMARY]
Start page = ?mode=threaded&expand=0&sort=BrickID

Attributes = BrickID, Emulsion Type, Laboratory, Directory, Scanning, Linking, Alignment, Tracking, Vertexing, Note

Options BrickID = CHARM1-RUN1, CHARM1-RUN2, CHARM1_RUN3,CHARM1_RUN4,CHARM1_RUN5,CHARM1_RUN6, CHARM2_RUN1,CHARM2_RUN2,CHARM2_RUN3,CHARM2_RUN4,CHARM2_RUN5,CHARM2_RUN6,  CHARM3_RUN1,CHARM3_RUN2,CHARM3_RUN3, CHARM4_RUN1,CHARM4_RUN2,CHARM4_RUN3, CHARM5_RUN1,CHARM5_RUN2,CHARM5_RUN3, CHARM6_RUN1,CHARM6_RUN2,CHARM6_RUN3
ROptions Emulsion Type = Nagoya, Slavich
ROptions Laboratory = Napoli, Zurich

Show Attributes = BrickID, Emulsion Type, Laboratory, Directory, Scanning, Linking, Alignment, Tracking, Vertexing, Note
Show Attributes Edit = BrickID, Emulsion Type, Laboratory, Directory, Scanning, Linking, Alignment, Tracking, Vertexing, Note

Thread Display       = </td><td class="thread2" style="width:150px" > <a href=$message id><B>$BrickID</B></a> </td><td class="thread2" style="width:60px" > $Emulsion type </td><td class="thread2"  style="width:50px" style="width:128px"> $Laboratory </td><td class="thread2" style="width:60px" > $Directory </td><td class="thread2"  style="background-color:LightPink;"> $Scanning </td><td class="thread2"  style="width:60px"> $Linking </td><td class="thread2"  style="width:60px"> $Alignment </td><td class="thread2"  style="width:60px"> $Tracking </td><td class="thread2" style="width:55px"> <B>$Vertexing</B></td><td class="thread2R" >$Note</a>

Filter Menu text     = empty.html
List Menu text       = empty.html
List Menu commands   = New , Find , Select , Import  
Menu commands        = Back, New, Edit, Delete, Find
Locked Attributes    = 
Fixed Attributes Edit  = BrickID
Fixed Attributes Reply = BrickID
Required Attributes  = BrickID
Theme                = eventlocation
Menu text            =
Filter Menu text     = 
List Menu text       =
Collapse to last     = 1
Filter last entry = 1
Allow HTML = 1


###############################################################################
[CHARM1_RUN1]
Start page = ?mode=threaded&expand=0&sort=PlateID
Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Options PlateID = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
#30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57
ROptions Microscope = mic2, mic3
ROptions Scanning = IN PROGRESS, SCAN DONE, TO RE-SCAN
ROptions Processing = no, PROC OK, TO RE-PROCESS
ROptions DeleteObx = no, OBX DELETED 
ROptions Linking = no, LINK OK
Show Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Edit Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note

Thread Display       = </td><td class="thread2R" style="width:50px" > <a href=$message id><B>$PlateID</B></a> </td><td class="thread2R" style="width:150px" > $Author </td><td class="thread2R"  style="width:50px" style="width:128px"> $Glass </td><td class="thread2R" style="width:60px" > $Bottom </td><td class="thread2R"  style="width:60px"> $Base </td><td class="thread2R"  style="width:60px"> $Top </td><td class="thread2R"  width=250px style="background-color:LightPink;"> $Scanning Path </td><td class="thread2"  style="width:100px"> $Scanning </td><td class="thread2" style="width:100px"> <B>$Microscope</B></td><td class="thread2R"  style="width:100px"> $Processing</td><td class="thread2R"  style="width:100px"> $DeleteObx</td><td class="thread2R"  style="width:100px"> $Linking </td><td class="thread2R">$Note</a>

Filter Menu text     = empty.html
List Menu text       = empty.html
List Menu commands   = New , Find , Select , Import , Config
Menu commands        = Back, New, Edit, Delete, Find
Locked Attributes    =
Fixed Attributes Edit  = PlateID
Fixed Attributes Reply = PlateID
Required Attributes  = PlateID
Theme                = eventlocation
Menu text            =
Filter Menu text     =
List Menu text       =
Collapse to last     = 1
Filter last entry = 1
Allow HTML = 1

###############################################################################
[CHARM1_RUN2]
Start page = ?mode=threaded&expand=0&sort=PlateID
Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Options PlateID = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
#30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57
ROptions Microscope = mic2, mic3
ROptions Scanning = IN PROGRESS, DONE, TO RE-SCAN
ROptions Processing = no, DONE, TO RE-PROCESS
ROptions DeleteObx = no, DONE
ROptions Linking = no, DONE
Show Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Edit Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note

Thread Display       = </td><td class="thread2R" style="width:50px" > <a href=$message id><B>$PlateID</B></a> </td><td class="thread2R" style="width:150px" > $Author </td><td class="thread2R"  style="width:50px" style="width:128px"> $Glass </td><td class="thread2R" style="width:60px" > $Bottom </td><td class="thread2R"  style="width:60px"> $Base </td><td class="thread2R"  style="width:60px"> $Top </td><td class="thread2R"  width=250px style="background-color:LightPink;"> $Scanning Path </td><td class="thread2"  style="width:100px"> $Scanning </td><td class="thread2" style="width:55px"> <B>$Microscope</B></td><td class="thread2R"  style="width:60px"> $Processing</td><td class="thread2R"  style="width:60px"> $DeleteObx</td><td class="thread2R"  style="width:60px"> $Linking </td><td class="thread2R">$Note</a>

Filter Menu text     = empty.html
List Menu text       = empty.html
List Menu commands   = New , Find , Select , Import , Config
Menu commands        = Back, New, Edit, Delete, Find
Locked Attributes    =
Fixed Attributes Edit  = PlateID
Fixed Attributes Reply = PlateID
Required Attributes  = PlateID
Theme                = eventlocation
Menu text            =
Filter Menu text     =
List Menu text       =
Collapse to last     = 1
Filter last entry = 1
Allow HTML = 1

###############################################################################
[CHARM1_RUN3]
Start page = ?mode=threaded&expand=0&sort=PlateID
Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Options PlateID = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
#30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57
ROptions Microscope = mic2, mic3
ROptions Scanning = IN PROGRESS, DONE, TO RE-SCAN
ROptions Processing = no, DONE, TO RE-PROCESS
ROptions DeleteObx = no, DONE
ROptions Linking = no, DONE
Show Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Edit Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note

Thread Display       = </td><td class="thread2R" style="width:50px" > <a href=$message id><B>$PlateID</B></a> </td><td class="thread2R" style="width:150px" > $Author </td><td class="thread2R"  style="width:50px" style="width:128px"> $Glass </td><td class="thread2R" style="width:60px" > $Bottom </td><td class="thread2R"  style="width:60px"> $Base </td><td class="thread2R"  style="width:60px"> $Top </td><td class="thread2R"  width=250px style="background-color:LightPink;"> $Scanning Path </td><td class="thread2"  style="width:100px"> $Scanning </td><td class="thread2" style="width:55px"> <B>$Microscope</B></td><td class="thread2R"  style="width:60px"> $Processing</td><td class="thread2R"  style="width:60px"> $DeleteObx</td><td class="thread2R"  style="width:60px"> $Linking </td><td class="thread2R">$Note</a>

Filter Menu text     = empty.html
List Menu text       = empty.html
List Menu commands   = New , Find , Select , Import , Config
Menu commands        = Back, New, Edit, Delete, Find
Locked Attributes    =
Fixed Attributes Edit  = PlateID
Fixed Attributes Reply = PlateID
Required Attributes  = PlateID
Theme                = eventlocation
Menu text            =
Filter Menu text     =
List Menu text       =
Collapse to last     = 1
Filter last entry = 1
Allow HTML = 1

###############################################################################
[CHARM1_RUN4]
Start page = ?mode=threaded&expand=0&sort=PlateID
Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Options PlateID = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
#30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57
ROptions Microscope = mic2, mic3
ROptions Scanning = IN PROGRESS, DONE, TO RE-SCAN
ROptions Processing = no, DONE, TO RE-PROCESS
ROptions DeleteObx = no, DONE
ROptions Linking = no, DONE
Show Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Edit Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note

Thread Display       = </td><td class="thread2R" style="width:50px" > <a href=$message id><B>$PlateID</B></a> </td><td class="thread2R" style="width:150px" > $Author </td><td class="thread2R"  style="width:50px" style="width:128px"> $Glass </td><td class="thread2R" style="width:60px" > $Bottom </td><td class="thread2R"  style="width:60px"> $Base </td><td class="thread2R"  style="width:60px"> $Top </td><td class="thread2R"  width=250px style="background-color:LightPink;"> $Scanning Path </td><td class="thread2"  style="width:100px"> $Scanning </td><td class="thread2" style="width:55px"> <B>$Microscope</B></td><td class="thread2R"  style="width:60px"> $Processing</td><td class="thread2R"  style="width:60px"> $DeleteObx</td><td class="thread2R"  style="width:60px"> $Linking </td><td class="thread2R">$Note</a>

Filter Menu text     = empty.html
List Menu text       = empty.html
List Menu commands   = New , Find , Select , Import , Config
Menu commands        = Back, New, Edit, Delete, Find
Locked Attributes    =
Fixed Attributes Edit  = PlateID
Fixed Attributes Reply = PlateID
Required Attributes  = PlateID
Theme                = eventlocation
Menu text            =
Filter Menu text     =
List Menu text       =
Collapse to last     = 1
Filter last entry = 1
Allow HTML = 1

###############################################################################
[CHARM1_RUN5]
Start page = ?mode=threaded&expand=0&sort=PlateID
Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Options PlateID = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
#30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57
ROptions Microscope = mic2, mic3
ROptions Scanning = IN PROGRESS, DONE, TO RE-SCAN
ROptions Processing = no, DONE, TO RE-PROCESS
ROptions DeleteObx = no, DONE
ROptions Linking = no, DONE
Show Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Edit Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note

Thread Display       = </td><td class="thread2R" style="width:50px" > <a href=$message id><B>$PlateID</B></a> </td><td class="thread2R" style="width:150px" > $Author </td><td class="thread2R"  style="width:50px" style="width:128px"> $Glass </td><td class="thread2R" style="width:60px" > $Bottom </td><td class="thread2R"  style="width:60px"> $Base </td><td class="thread2R"  style="width:60px"> $Top </td><td class="thread2R"  width=250px style="background-color:LightPink;"> $Scanning Path </td><td class="thread2"  style="width:100px"> $Scanning </td><td class="thread2" style="width:55px"> <B>$Microscope</B></td><td class="thread2R"  style="width:60px"> $Processing</td><td class="thread2R"  style="width:60px"> $DeleteObx</td><td class="thread2R"  style="width:60px"> $Linking </td><td class="thread2R">$Note</a>

Filter Menu text     = empty.html
List Menu text       = empty.html
List Menu commands   = New , Find , Select , Import , Config
Menu commands        = Back, New, Edit, Delete, Find
Locked Attributes    =
Fixed Attributes Edit  = PlateID
Fixed Attributes Reply = PlateID
Required Attributes  = PlateID
Theme                = eventlocation
Menu text            =
Filter Menu text     =
List Menu text       =
Collapse to last     = 1
Filter last entry = 1
Allow HTML = 1

###############################################################################
[CHARM1_RUN6]
Start page = ?mode=threaded&expand=0&sort=PlateID
Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Options PlateID = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
#30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57
ROptions Microscope = mic2, mic3
ROptions Scanning = IN PROGRESS, DONE, TO RE-SCAN
ROptions Processing = no, DONE, TO RE-PROCESS
ROptions DeleteObx = no, DONE
ROptions Linking = no, DONE
Show Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Edit Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note

Thread Display       = </td><td class="thread2R" style="width:50px" > <a href=$message id><B>$PlateID</B></a> </td><td class="thread2R" style="width:150px" > $Author </td><td class="thread2R"  style="width:50px" style="width:128px"> $Glass </td><td class="thread2R" style="width:60px" > $Bottom </td><td class="thread2R"  style="width:60px"> $Base </td><td class="thread2R"  style="width:60px"> $Top </td><td class="thread2R"  width=250px style="background-color:LightPink;"> $Scanning Path </td><td class="thread2"  style="width:100px"> $Scanning </td><td class="thread2" style="width:55px"> <B>$Microscope</B></td><td class="thread2R"  style="width:60px"> $Processing</td><td class="thread2R"  style="width:60px"> $DeleteObx</td><td class="thread2R"  style="width:60px"> $Linking </td><td class="thread2R">$Note</a>

Filter Menu text     = empty.html
List Menu text       = empty.html
List Menu commands   = New , Find , Select , Import , Config
Menu commands        = Back, New, Edit, Delete, Find
Locked Attributes    =
Fixed Attributes Edit  = PlateID
Fixed Attributes Reply = PlateID
Required Attributes  = PlateID
Theme                = eventlocation
Menu text            =
Filter Menu text     =
List Menu text       =
Collapse to last     = 1
Filter last entry = 1
Allow HTML = 1

###############################################################################
[CHARM2_RUN1]
Start page = ?mode=threaded&expand=0&sort=PlateID
Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Options PlateID = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
#30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57
ROptions Microscope = mic2, mic3
ROptions Scanning = IN PROGRESS, DONE, TO RE-SCAN
ROptions Processing = no, DONE, TO RE-PROCESS
ROptions DeleteObx = no, DONE
ROptions Linking = no, DONE
Show Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Edit Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note

Thread Display       = </td><td class="thread2R" style="width:50px" > <a href=$message id><B>$PlateID</B></a> </td><td class="thread2R" style="width:150px" > $Author </td><td class="thread2R"  style="width:50px" style="width:128px"> $Glass </td><td class="thread2R" style="width:60px" > $Bottom </td><td class="thread2R"  style="width:60px"> $Base </td><td class="thread2R"  style="width:60px"> $Top </td><td class="thread2R"  width=250px style="background-color:LightPink;"> $Scanning Path </td><td class="thread2"  style="width:100px"> $Scanning </td><td class="thread2" style="width:55px"> <B>$Microscope</B></td><td class="thread2R"  style="width:60px"> $Processing</td><td class="thread2R"  style="width:60px"> $DeleteObx</td><td class="thread2R"  style="width:60px"> $Linking </td><td class="thread2R">$Note</a>

Filter Menu text     = empty.html
List Menu text       = empty.html
List Menu commands   = New , Find , Select , Import , Config
Menu commands        = Back, New, Edit, Delete, Find
Locked Attributes    =
Fixed Attributes Edit  = PlateID
Fixed Attributes Reply = PlateID
Required Attributes  = PlateID
Theme                = eventlocation
Menu text            =
Filter Menu text     =
List Menu text       =
Collapse to last     = 1
Filter last entry = 1
Allow HTML = 1

###############################################################################
[CHARM2_RUN2]
Start page = ?mode=threaded&expand=0&sort=PlateID
Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Options PlateID = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
#30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57
ROptions Microscope = mic2, mic3
ROptions Scanning = IN PROGRESS, DONE, TO RE-SCAN
ROptions Processing = no, DONE, TO RE-PROCESS
ROptions DeleteObx = no, DONE
ROptions Linking = no, DONE
Show Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note
Edit Attributes = PlateID, Author, Glass, Bottom, Base, Top, Scanning Path, Scanning, Microscope, Processing, DeleteObx, Linking, Note

Thread Display       = </td><td class="thread2R" style="width:50px" > <a href=$message id><B>$PlateID</B></a> </td><td class="thread2R" style="width:150px" > $Author </td><td class="thread2R"  style="width:50px" style="width:128px"> $Glass </td><td class="thread2R" style="width:60px" > $Bottom </td><td class="thread2R"  style="width:60px"> $Base </td><td class="thread2R"  style="width:60px"> $Top </td><td class="thread2R"  width=250px style="background-color:LightPink;"> $Scanning Path </td><td class="thread2"  style="width:100px"> $Scanning </td><td class="thread2" style="width:55px"> <B>$Microscope</B></td><td class="thread2R"  style="width:60px"> $Processing</td><td class="thread2R"  style="width:60px"> $DeleteObx</td><td class="thread2R"  style="width:60px"> $Linking </td><td class="thread2R">$Note</a>

Filter Menu text     = empty.html
... 1594 more lines ...
ELOG V3.1.5-3fb85fa6