This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/34208] [4.3 Regression] Segfault in htab_find_with_hash



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]