Bug 81262 - don't know what type '_' is
Summary: don't know what type '_' is
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 2.1.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
: 81396 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-10 17:08 UTC by baxi
Modified: 2018-11-03 02:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Patch to improve C++ stabs parsing (1.80 KB, patch)
2004-11-05 01:10 UTC, Tom Hughes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description baxi 2004-05-10 17:08:52 UTC
Version:           2.1.1 (using KDE KDE 3.2.2)
Compiler:            // Debian precompiled 
OS:          Linux

System: Linux trafgen4 2.6.5 #10 Wed Apr 21 17:11:20 CEST 2004 i686 GNU/Linux
Distribution: Debian sid
Valgrind version: valgrind-2.1.1
Tested application compiled with gcc-3.0.4

after running 'valgrind <application>':

==22288== Memcheck, a memory error detector for x86-linux.
==22288== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward.
==22288== Using valgrind-2.1.1, a program supervision framework for x86-linux.
==22288== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward.
==22288== 
==22288== My PID = 22288, parent PID = 11969.  Prog and args are:
==22288==    <cenzored>
 @@ don't know what type '_' is
 @@ parsing _ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEptEv;2B.;operator++::(0,121)=#(13,64),(0,111),(0,112),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEv;2A.(0,122)=#(13,64),(13,64),(0,112),(0,1),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEi;2A.;operator--::(0,121):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEv;2A.(0,122):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEi;2A.;operator[]::(0,123)=#(13,64),(13,77),(0,119),(0,124)=&(74,1),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEixERKi;2B.;operator+=::(0,125)=#(13,64),(0,111),(0,112),(0,124),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEpLERKi;2A.;operator+::(0,126)=#(13,64),(13,64),(0,119),(0,124),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEplERKi;2B.;operator-=::(0,125):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmIERKi;2A.;operator-::(0,126):_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKi;2B.(0,127)=#(13,64),(74,1),(0,119),(0,113),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKSC_;2B.;base::(0,128)=#(13,64),(0,117),(0,119),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEE4baseEv;2B.;; gave NULL type (ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEptEv;2B.;operator++::(0,121)=#(13,64),(0,111),(0,112),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEv;2A.(0,122)=#(13,64),(13,64),(0,112),(0,1),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEi;2A.;operator--::(0,121):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEv;2A.(0,122):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEi;2A.;operator[]::(0,123)=#(13,64),(13,77),(0,119),(0,124)=&(74,1),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEixERKi;2B.;operator+=::(0,125)=#(13,64),(0,111),(0,112),(0,124),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEpLERKi;2A.;operator+::(0,126)=#(13,64),(13,64),(0,119),(0,124),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEplERKi;2B.;operator-=::(0,125):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmIERKi;2A.;operator-::(0,126):_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKi;2B.(0,127)=#(13,64),(74,1),(0,119),(0,113),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKSC_;2B.;base::(0,128)=#(13,64),(0,117),(0,119),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEE4baseEv;2B.;; remains)

 @@ expected ':' at struct method MANGLE-ARGS (remains="NKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEptEv;2B.;operator++::(0,121)=#(13,64),(0,111),(0,112),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEv;2A.(0,122)=#(13,64),(13,64),(0,112),(0,1),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEi;2A.;operator--::(0,121):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEv;2A.(0,122):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEi;2A.;operator[]::(0,123)=#(13,64),(13,77),(0,119),(0,124)=&(74,1),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEixERKi;2B.;operator+=::(0,125)=#(13,64),(0,111),(0,112),(0,124),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEpLERKi;2A.;operator+::(0,126)=#(13,64),(13,64),(0,119),(0,124),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEplERKi;2B.;operator-=::(0,125):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmIERKi;2A.;operator-::(0,126):_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKi;2B.(0,127)=#(13,64),(74,1),(0,119),(0,113),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKSC_;2B.;base::(0,128)=#(13,64),(0,117),(0,119),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEE4baseEv;2B.;;")
 @@ parsing (13,64)=s4!1,020,(0,103);_M_current:/1(13,35),0,32;operator=::(0,110)=#(13,64),(0,111)=&(13,64),(0,112)=*(13,64),(0,113)=&(13,64),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEaSERKSC_;2A.;__base_ctor::(0,114)=#(13,64),(0,21),(0,112),(0,113),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC2ERKSC_;2A.;__comp_ctor::(0,114):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC1ERKSC_;2A.;__base_ctor::(0,115)=#(13,64),(0,21),(0,112),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC2Ev;2A.;__comp_ctor::(0,115):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC1Ev;2A.;__base_ctor::(0,116)=#(13,64),(0,21),(0,112),(0,117)=&(13,35),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC2ERKS8_;2A.;__comp_ctor::(0,116):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC1ERKS8_;2A.;__normal_iterator::(0,118)=#(13,64),(13,77),(0,119)=*(13,64),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEdeEv;2B.;operator->::(0,120)=#(13,64),(13,35),(0,119),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEptEv;2B.;operator++::(0,121)=#(13,64),(0,111),(0,112),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEv;2A.(0,122)=#(13,64),(13,64),(0,112),(0,1),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEi;2A.;operator--::(0,121):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEv;2A.(0,122):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEi;2A.;operator[]::(0,123)=#(13,64),(13,77),(0,119),(0,124)=&(74,1),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEixERKi;2B.;operator+=::(0,125)=#(13,64),(0,111),(0,112),(0,124),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEpLERKi;2A.;operator+::(0,126)=#(13,64),(13,64),(0,119),(0,124),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEplERKi;2B.;operator-=::(0,125):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmIERKi;2A.;operator-::(0,126):_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKi;2B.(0,127)=#(13,64),(74,1),(0,119),(0,113),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKSC_;2B.;base::(0,128)=#(13,64),(0,117),(0,119),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEE4baseEv;2B.;; gave NULL type (s4!1,020,(0,103);_M_current:/1(13,35),0,32;operator=::(0,110)=#(13,64),(0,111)=&(13,64),(0,112)=*(13,64),(0,113)=&(13,64),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEaSERKSC_;2A.;__base_ctor::(0,114)=#(13,64),(0,21),(0,112),(0,113),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC2ERKSC_;2A.;__comp_ctor::(0,114):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC1ERKSC_;2A.;__base_ctor::(0,115)=#(13,64),(0,21),(0,112),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC2Ev;2A.;__comp_ctor::(0,115):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC1Ev;2A.;__base_ctor::(0,116)=#(13,64),(0,21),(0,112),(0,117)=&(13,35),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC2ERKS8_;2A.;__comp_ctor::(0,116):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEC1ERKS8_;2A.;__normal_iterator::(0,118)=#(13,64),(13,77),(0,119)=*(13,64),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEdeEv;2B.;operator->::(0,120)=#(13,64),(13,35),(0,119),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEptEv;2B.;operator++::(0,121)=#(13,64),(0,111),(0,112),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEv;2A.(0,122)=#(13,64),(13,64),(0,112),(0,1),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEppEi;2A.;operator--::(0,121):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEv;2A.(0,122):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmmEi;2A.;operator[]::(0,123)=#(13,64),(13,77),(0,119),(0,124)=&(74,1),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEixERKi;2B.;operator+=::(0,125)=#(13,64),(0,111),(0,112),(0,124),(0,21);:_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEpLERKi;2A.;operator+::(0,126)=#(13,64),(13,64),(0,119),(0,124),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEplERKi;2B.;operator-=::(0,125):_ZNSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmIERKi;2A.;operator-::(0,126):_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKi;2B.(0,127)=#(13,64),(74,1),(0,119),(0,113),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEEmiERKSC_;2B.;base::(0,128)=#(13,64),(0,117),(0,119),(0,21);:_ZNKSt17__normal_iteratorIPPSt15_Hashtable_nodeISt4pairIKjP10CellRecordEESt6vectorIS7_SaIS4_EEE4baseEv;2B.;; remains)
--22288-- INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting
--22288-- si_code=1 Fault EIP: 0xB803E76F (); Faulting address: 0x0

valgrind: the `impossible' happened:
   Killed by fatal signal
Basic block ctr is approximately 0
==22288==    at 0xB802FB60: ???
==22288==    by 0xB802FB5F: ???
==22288==    by 0xB802FB80: ???
==22288==    by 0xB803653A: ???

sched status:

Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0
==22288==    at 0x3C000C20: ???


Note: see also the FAQ.txt in the source distribution.
It contains workarounds to several common problems.

If that doesn't help, please report this bug to: valgrind.kde.org

In the bug report, send all the above text, the valgrind
version, and what Linux distro you are using.  Thanks.
Comment 1 Nicholas Nethercote 2004-05-12 10:58:35 UTC
*** Bug 81396 has been marked as a duplicate of this bug. ***
Comment 2 Tom Hughes 2004-11-05 01:10:07 UTC
Created attachment 8172 [details]
Patch to improve C++ stabs parsing

This patch attempts to improve the parsing of C++ stabs. I would be grateful if
you could try it and report on whether it helps. If it doesn't then I wonder if
you can supply any sort of test case for your problem. Thanks.
Comment 3 Nicholas Nethercote 2005-03-01 04:10:32 UTC
What's the status here -- Tom, have you checked in the patch?  Thanks.
Comment 4 Tom Hughes 2005-03-01 09:30:59 UTC
Patch went in on 2004-11-12 but I was waiting for confirmation that it fixed this bug.
Comment 5 Rakesh 2005-03-01 10:08:49 UTC
I had got an un-official patch on top of official valgrind 2.2.0 release from someone that worked for me. I will try the latest version and let you know if it fixes the issue.

Thanks & Regards,
-Rakesh

FYI, I was using following patch till this point of time:

425c425
< static Char *templ_name(Char *p)
---
> static Char *templ_name(Char *p, Bool isName)
460c460
<        if (brac && p[1] == ':' && p[-1] != '<')
---
>        if ( (isName || brac) && p[1] == ':' && p[-1] != '<')
755c755
<       p = templ_name(name);
---
>       p = templ_name(name, False);
865c865
<        end = templ_name(p);
---
>        end = templ_name(p, False);
1043c1043
<    ty = templ_name(name);
---
>    ty = templ_name(name, True);
Comment 6 Nicholas Nethercote 2005-07-19 06:04:02 UTC
I'm assuming that Tom's patch fixed this.  Please reopen if it's still a problem.