deal with large stack frames

Bug #672044 reported by Monty Taylor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Monty Taylor
7.0
Fix Released
Medium
Monty Taylor

Bug Description

Adding -Wframe-larger-than=16k gives this. Stewart suggested that 32k might be a better value - but here are the problem children.

  CC plugin/innobase/row/plugin_innobase_libinnobase_la-row0merge.lo
cc1: warnings being treated as errors
plugin/innobase/row/row0merge.c: In function ‘row_merge_dup_report’:
plugin/innobase/row/row0merge.c:461: error: the frame size of 17248 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [plugin/innobase/row/plugin_innobase_libinnobase_la-row0merge.lo] Error 1
  CXX plugin/myisam/plugin_libmyisam_plugin_la-ha_myisam.lo
cc1plus: warnings being treated as errors
plugin/myisam/ha_myisam.cc: In member function ‘virtual int ha_myisam::enable_indexes(uint32_t)’:
plugin/myisam/ha_myisam.cc:939: error: the frame size of 34912 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [plugin/myisam/plugin_libmyisam_plugin_la-ha_myisam.lo] Error 1
  CXX plugin/myisam/mi_open.lo
cc1plus: warnings being treated as errors
plugin/myisam/mi_open.cc: In function ‘MI_INFO* mi_open(const drizzled::TableIdentifier&, int, uint32_t)’:
plugin/myisam/mi_open.cc:534: error: the frame size of 42704 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [plugin/myisam/mi_open.lo] Error 1
  CXX plugin/archive/plugin_libarchive_plugin_la-ha_archive.lo
cc1plus: warnings being treated as errors
plugin/archive/ha_archive.cc: In member function ‘bool ArchiveShare::prime(uint64_t*)’:
plugin/archive/ha_archive.cc:285: error: the frame size of 82352 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [plugin/archive/plugin_libarchive_plugin_la-ha_archive.lo] Error 1
  CXX plugin/logging_gearman/plugin_liblogging_gearman_plugin_la-logging_gearman.lo
cc1plus: warnings being treated as errors
plugin/logging_gearman/logging_gearman.cc: In member function ‘virtual bool LoggingGearman::post(drizzled::Session*)’:
plugin/logging_gearman/logging_gearman.cc:292: error: the frame size of 33168 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [plugin/logging_gearman/plugin_liblogging_gearman_plugin_la-logging_gearman.lo] Error 1
  CXX plugin/pbms/src/plugin_libpbms_plugin_la-backup_ms.lo
cc1plus: warnings being treated as errors
plugin/pbms/src/backup_ms.cc: In member function ‘virtual bool MSBackup::doWork()’:
plugin/pbms/src/backup_ms.cc:698: error: the frame size of 65808 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [plugin/pbms/src/plugin_libpbms_plugin_la-backup_ms.lo] Error 1
  CXX plugin/pbms/src/plugin_libpbms_plugin_la-trans_log_ms.lo
cc1plus: warnings being treated as errors
plugin/pbms/src/trans_log_ms.cc: In member function ‘void ReadTXNLog::rl_ReadLog(uint64_t, bool)’:
plugin/pbms/src/trans_log_ms.cc:599: error: the frame size of 30112 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [plugin/pbms/src/plugin_libpbms_plugin_la-trans_log_ms.lo] Error 1
  CXX client/drizzle.o
cc1plus: warnings being treated as errors
client/drizzle.cc: In function ‘void handle_sigint(int)’:
client/drizzle.cc:1860: error: the frame size of 36608 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [client/drizzle.o] Error 1
  CXX client/client_drizzleslap-drizzleslap.o
cc1plus: warnings being treated as errors
client/drizzleslap.cc: In function ‘void create_schema(drizzle_con_st&, const char*, Statement*, OptionString*, Stats*)’:
client/drizzleslap.cc:1872: error: the frame size of 16480 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [client/client_drizzleslap-drizzleslap.o] Error 1
  CXX plugin/archive/plugin_archive_archive_reader-archive_reader.o
cc1plus: warnings being treated as errors
plugin/archive/archive_reader.cc: In function ‘int main(int, char**)’:
plugin/archive/archive_reader.cc:350: error: the frame size of 249360 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [plugin/archive/plugin_archive_archive_reader-archive_reader.o] Error 1
  CC examples/simple.o
cc1: warnings being treated as errors
examples/simple.c: In function ‘main’:
examples/simple.c:123: error: the frame size of 38752 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [examples/simple.o] Error 1
  CC examples/simple_multi.o
cc1: warnings being treated as errors
examples/simple_multi.c: In function ‘main’:
examples/simple_multi.c:96: error: the frame size of 368496 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [examples/simple_multi.o] Error 1
  CC examples/pipe_query.o
cc1: warnings being treated as errors
examples/pipe_query.c: In function ‘main’:
examples/pipe_query.c:173: error: the frame size of 38784 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [examples/pipe_query.o] Error 1
  CC examples/examples_server-server.o
cc1: warnings being treated as errors
examples/server.c: In function ‘main’:
examples/server.c:140: error: the frame size of 79856 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [examples/examples_server-server.o] Error 1
  CC examples/examples_proxy-proxy.o
cc1: warnings being treated as errors
examples/proxy.c: In function ‘main’:
examples/proxy.c:179: error: the frame size of 116336 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [examples/examples_proxy-proxy.o] Error 1
  CC examples/examples_sqlite_server-sqlite_server.o
cc1: warnings being treated as errors
examples/sqlite_server.c: In function ‘row_cb’:
examples/sqlite_server.c:379: error: the frame size of 65568 bytes is larger than 16384 bytes [-Wframe-larger-than=]
make[2]: *** [examples/examples_sqlite_server-sqlite_server.o] Error 1

Tags: stack
Stewart Smith (stewart)
tags: added: stack
Changed in drizzle:
status: New → Confirmed
Revision history for this message
Stewart Smith (stewart) wrote :

Using https://bugs.launchpad.net/drizzle/+bug/672372 to track stack frames > 32k.

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.