public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34208]  New: [4.3 Regression] Segfault in htab_find_with_hash
@ 2007-11-23 17:27 tbm at cyrius dot com
  2007-11-23 17:28 ` [Bug c++/34208] " tbm at cyrius dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tbm at cyrius dot com @ 2007-11-23 17:27 UTC (permalink / raw)
  To: gcc-bugs

Seen with trunk from 2007-11-16:

(sid)1802:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/g++ -c
deluge-torrent-storage.cc
deluge-torrent-storage.cc: In member function 'int
std::piece_manager::identify_data(const std::vector<char, std::allocator<char>
>&, int, std::vector<bool, std::allocator<bool> >&, int&, const
std::multimap<std::big_number, int, std::less<std::big_number>,
std::allocator<std::pair<const std::big_number, int> > >&,
boost::recursive_mutex&)':
deluge-torrent-storage.cc:102: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

This was introduced between 20070916 (works) and 20071020 (ICEs).


-- 
           Summary: [4.3 Regression] Segfault in htab_find_with_hash
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34208


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

* [Bug c++/34208] [4.3 Regression] Segfault in htab_find_with_hash
  2007-11-23 17:27 [Bug c++/34208] New: [4.3 Regression] Segfault in htab_find_with_hash tbm at cyrius dot com
@ 2007-11-23 17:28 ` tbm at cyrius dot com
  2007-11-23 17:33 ` tbm at cyrius dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tbm at cyrius dot com @ 2007-11-23 17:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2007-11-23 17:28 -------
Created an attachment (id=14627)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14627&action=view)
testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34208


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

* [Bug c++/34208] [4.3 Regression] Segfault in htab_find_with_hash
  2007-11-23 17:27 [Bug c++/34208] New: [4.3 Regression] Segfault in htab_find_with_hash tbm at cyrius dot com
  2007-11-23 17:28 ` [Bug c++/34208] " tbm at cyrius dot com
@ 2007-11-23 17:33 ` tbm at cyrius dot com
  2007-11-23 17:40 ` tbm at cyrius dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tbm at cyrius dot com @ 2007-11-23 17:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tbm at cyrius dot com  2007-11-23 17:32 -------
Program received signal SIGSEGV, Segmentation fault.
htab_find_with_hash (htab=0x0, element=0x2b03ce11eb60, hash=2042772844)
    at libiberty/hashtab.c:269
269       const struct prime_ent *p = &prime_tab[htab->size_prime_index];
(gdb) where
#0  htab_find_with_hash (htab=0x0, element=0x2b03ce11eb60, hash=2042772844)
    at libiberty/hashtab.c:269
#1  0x00000000004419bb in retrieve_local_specialization (tmpl=0x2b03ce11eb60)
    at gcc/cp/pt.c:969
#2  0x000000000045505e in tsubst (t=0x2b03ce11ec30, args=0x2b03ce125a80,
    complain=tf_none, in_decl=0x0) at gcc/cp/pt.c:8591
#3  0x0000000000454da4 in tsubst (t=0x2b03ce11ed00, args=0x2b03ce125a80, 
    complain=tf_none, in_decl=0x0) at gcc/cp/pt.c:8611
#4  0x000000000047c283 in tsubst_template_args (t=0x2b03ce11b680, 
    args=0x2b03ce125a80, complain=tf_none, in_decl=0x0) at gcc/cp/pt.c:7295
#5  0x0000000000472631 in tsubst_aggr_type (t=0x2b03ce120000, 
    args=0x2b03ce125a80, complain=tf_none,
    in_decl=0x0, entering_scope=0) at gcc/cp/pt.c:7452
#6  0x000000000045580d in tsubst (t=0x2b03ce120000, args=0x2b03ce125a80, 
    complain=tf_none, in_decl=0x0) at gcc/cp/pt.c:8620
#7  0x0000000000454da4 in tsubst (t=0x2b03ce1208f0, args=0x2b03ce125a80, 
    complain=tf_none, in_decl=0x0) at gcc/cp/pt.c:8611
#8  0x000000000045ffe2 in tsubst_function_type (t=0x2b03ce126680, 
    args=0x2b03ce125a80, complain=tf_none, in_decl=0x0) at gcc/cp/pt.c:8420
#9  0x0000000000455555 in tsubst (t=0x2b03ce126680, args=0x2b03ce125a80, 
    complain=tf_none, in_decl=0x0) at gcc/cp/pt.c:9024
#10 0x00000000004636b8 in fn_type_unification (fn=0x2b03ce124dd0, 
     explicit_targs=0x0, targs=0x2b03ce125a80, args=0x2b03ce122f00,
    return_type=0x0, strict=DEDUCE_CALL, flags=3)
    at gcc/cp/pt.c:11474
#11 0x000000000040c190 in add_template_candidate_real (candidates=
    0x7fffdd52d750, tmpl=0x2b03ce124dd0, ctype=0x2b03ce120000, 
    explicit_targs=0x0, arglist=0x2b03ce12a240,
...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34208


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

* [Bug c++/34208] [4.3 Regression] Segfault in htab_find_with_hash
  2007-11-23 17:27 [Bug c++/34208] New: [4.3 Regression] Segfault in htab_find_with_hash tbm at cyrius dot com
  2007-11-23 17:28 ` [Bug c++/34208] " tbm at cyrius dot com
  2007-11-23 17:33 ` tbm at cyrius dot com
@ 2007-11-23 17:40 ` tbm at cyrius dot com
  2007-11-23 17:59 ` pinskia at gcc dot gnu dot org
  2007-11-23 18:25 ` tbm at cyrius dot com
  4 siblings, 0 replies; 6+ messages in thread
From: tbm at cyrius dot com @ 2007-11-23 17:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tbm at cyrius dot com  2007-11-23 17:40 -------
Still there with current SVN (r130380).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34208


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

* [Bug c++/34208] [4.3 Regression] Segfault in htab_find_with_hash
  2007-11-23 17:27 [Bug c++/34208] New: [4.3 Regression] Segfault in htab_find_with_hash tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2007-11-23 17:40 ` tbm at cyrius dot com
@ 2007-11-23 17:59 ` pinskia at gcc dot gnu dot org
  2007-11-23 18:25 ` tbm at cyrius dot com
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-23 17:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-11-23 17:59 -------
I think this s a dup of bug 34206.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34208


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

* [Bug c++/34208] [4.3 Regression] Segfault in htab_find_with_hash
  2007-11-23 17:27 [Bug c++/34208] New: [4.3 Regression] Segfault in htab_find_with_hash tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2007-11-23 17:59 ` pinskia at gcc dot gnu dot org
@ 2007-11-23 18:25 ` tbm at cyrius dot com
  4 siblings, 0 replies; 6+ messages in thread
From: tbm at cyrius dot com @ 2007-11-23 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tbm at cyrius dot com  2007-11-23 18:25 -------
Yep, it's the same testcase.


*** This bug has been marked as a duplicate of 34206 ***


-- 

tbm at cyrius dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34208


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

end of thread, other threads:[~2007-11-23 18:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-23 17:27 [Bug c++/34208] New: [4.3 Regression] Segfault in htab_find_with_hash tbm at cyrius dot com
2007-11-23 17:28 ` [Bug c++/34208] " tbm at cyrius dot com
2007-11-23 17:33 ` tbm at cyrius dot com
2007-11-23 17:40 ` tbm at cyrius dot com
2007-11-23 17:59 ` pinskia at gcc dot gnu dot org
2007-11-23 18:25 ` tbm at cyrius 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).