GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Compilation: "buffer overflow detected"
Re: Compilation: "buffer overflow detected" [message #8468 is a reply to message #8465] Fri, 08 May 2009 15:06 Go to previous messageGo to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *to.infn.it
Hi Florian,

Looks like we have too long map variable names for some systems. Here what the root guys did:
"pcanal"

Hi,

The problem is most likely the triple!!! nested map:
map<unsigned int,map<string,map<unsigned int,short> > *>

When CINT explicits the 3rd and 4th argument of the maps, the total size name is more than 512 characters!

To solve the problem you need to #define G__LONGBUF
in G__ci.h (and recompile root).

Cheers,
Philippe.


Well, we're trying that (I'll report the result).
It is right, that the Mvd code has exactly such kind of nested vectors/maps. Unfortunately the file exists 4 times in root.


Ralf.

[Updated on: Thu, 04 June 2009 11:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Pandaroot compilation error on Ubuntu9.04
Next Topic: Problems with g4libs in qa macros
Goto Forum:
  


Current Time: Sat Oct 05 14:26:34 CEST 2024

Total time taken to generate the page: 0.00793 seconds