stack smash flags

Bug #1094364 reported by Keyur on 2012-12-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gearman
Undecided
Unassigned

Bug Description

This is on v1.0.2:

I keep getting this compiler errors:
    libtest/main.cc: In function 'int main(int, char**)':
    libtest/main.cc:368: error: frame size too large for reliable stack checking
    libtest/main.cc:368: error: try reducing the number of local variables

I'm on Cent 6.2 (2.6.32-220.4.1.el6.x86_64) with GCC 4.4.6

The attached patch moves a bunch of variables in main.cc from the stack onto the heap and allows the compilation to go ahead.

Keyur (keyurdg) wrote :
Keyur (keyurdg) wrote :

The variables are not always freed especially so in the case of errors.

Making these into auto_ptr also takes up too much stack space and gives the same error.

Brian Aker (brianaker) wrote :

I've made these flags optional via debug builds until we have a better understanding of which compilers are working with them.

summary: - libtest/main.cc compiler errors
+ stack smash flags
Changed in gearmand:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers