This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57171] Internal compiler error: Error reporting routines re-entered.
- From: "zgenjix at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 04 May 2013 16:31:05 +0000
- Subject: [Bug c++/57171] Internal compiler error: Error reporting routines re-entered.
- Auto-submitted: auto-generated
- References: <bug-57171-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57171
--- Comment #2 from Amir Taaki <zgenjix at yahoo dot com> 2013-05-04 16:31:05 UTC ---
https://mega.co.nz/#!P5ACwTCS!FKmUL1h0s77t2Wq0R5h8XRJCfuwSThAf30C1VDPHBno
"The file you are trying to attach is 3772 kilobytes (KB) in size. Attachments
cannot be more than 1000 KB.
We recommend that you store your attachment elsewhere and then insert the URL
to it in a comment, or in the URL field for this bug.
Alternately, if your attachment is an image, you could convert it to a
compressible format like JPG or PNG and try again. "
I figured out where the bug was coming from. I'm using
std::unique_ptr<leveldb::DB>, and passing some of those into a constructor for
an object which expects leveldb::DB*. The implicit cast was proving problematic
(yielding the error given above), but using foo.get() instead of just passing
foo is fine.