"python: malloc.c:2369" error during startup

Asked by Martin Stoll

Hi,

I started getting this error message when starting madanalysis5:

     - PyRoot libraries python: malloc.c:2369: sysmalloc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted (core dumped)

I'm using Ubuntu 13.10 and root from the git repository (pulling didn't help). It used to work just fine and still does on a similar machine.

If anyone encountered the same problem in the past, do you remember how to solve it?

Cheers, Martin

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Stoll
Solved:
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hi Martin,

I have never seen that error message before. Could you please try to load pyroot outside madanalysis 5, from a normal python shell and tell me if it works?

Cheers,

Benjamin

Revision history for this message
Martin Stoll (stoll) said :
#2

Hi Benjamin,

there's good reason you've never seen this message before -- I didn't set the PYTHONPATH correctly. Now everything's smooth.

Thanks for the tip,
Martin