stack smash flags

Bug #1094364 reported by Keyur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gearman
Triaged
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.

Revision history for this message
Keyur (keyurdg) wrote :
Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.