public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51602] New: Segmentation fault: internal compiler error on error message (I think)
@ 2011-12-17 20:31 t1t0 at tiscali dot it
  2011-12-17 21:06 ` [Bug c++/51602] " t1t0 at tiscali dot it
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: t1t0 at tiscali dot it @ 2011-12-17 20:31 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: t1t0@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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-10 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-17 20:31 [Bug c++/51602] New: Segmentation fault: internal compiler error on error message (I think) t1t0 at tiscali dot it
2011-12-17 21:06 ` [Bug c++/51602] " t1t0 at tiscali dot it
2011-12-17 21:39 ` t1t0 at tiscali dot it
2011-12-18 10:55 ` paolo.carlini at oracle dot com
2012-10-10 12:45 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).