http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51602
Bug #: 51602 Summary: Segmentation fault: internal compiler error on error message (I think) Classification: Unclassified Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: t...@tiscali.it ON -Ubuntu 10.10 - Linux outlaw 2.6.35-30-generic #61-Ubuntu SMP Tue Oct 11 17:52:57 UTC 2011 x86_64 GNU/Linux - wt-3.2.0 (libboost1.40-all-dev) #include <Wt/WApplication> #include <Wt/WPushButton> class HelloWorld : public Wt::WApplication { public: HelloWorld(const Wt::WEnvironment& _r_env); private: void greet(); }; HelloWorld::HelloWorld (const Wt::WEnvironment& _r_env) : Wt::WApplication(_r_env) { Wt::WPushButton* p_btn_greet = new Wt::WPushButton("Greet", root()); // POINT OF THE ERROR p_btn_greet->clicked().connect(this, &HelloWorld::greet); } - Details: $ g++ -v -save-temps -o HelloWorld HelloWorld.cpp -lwthttp -lwt -L /srv/local/wt/lib/ -I /srv/local/wt/include/ Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-o' 'HelloWorld' '-L' '/srv/local/wt/lib/' '-I' '/srv/local/wt/include/' '-shared-libgcc' '-mtune=generic' /usr/lib/gcc/x86_64-linux-gnu/4.4.5/cc1plus -E -quiet -v -I /srv/local/wt/include/ -D_GNU_SOURCE HelloWorld.cpp -D_FORTIFY_SOURCE=2 -mtune=generic -fpch-preprocess -fstack-protector -o HelloWorld.ii ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /srv/local/wt/include/ /usr/include/c++/4.4 /usr/include/c++/4.4/x86_64-linux-gnu /usr/include/c++/4.4/backward /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. COLLECT_GCC_OPTIONS='-v' '-save-temps' '-o' 'HelloWorld' '-L' '/srv/local/wt/lib/' '-I' '/srv/local/wt/include/' '-shared-libgcc' '-mtune=generic' /usr/lib/gcc/x86_64-linux-gnu/4.4.5/cc1plus -fpreprocessed HelloWorld.ii -quiet -dumpbase HelloWorld.cpp -mtune=generic -auxbase HelloWorld -version -fstack-protector -o HelloWorld.s GNU C++ (Ubuntu/Linaro 4.4.4-14ubuntu5) version 4.4.5 (x86_64-linux-gnu) compiled by GNU C version 4.4.5, GMP version 4.3.2, MPFR version 3.0.0-p3. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: b408a5c1addf39d3fcc1ff19852f1cfe In member function ‘boost::signals::connection Wt::EventSignal<E>::connect(T*, void (V::*)()) [with T = HelloWorld, V = HelloWorld, E = Wt::WMouseEvent]’: cc1plus: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.