Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-05-16 20:49:27


Hartmut,

Don't know is this will help at all.. But this is the stack trace for
the crash for testwave built with CW-8.3:

==========
>
testwave.exe!boost::spirit::multi_pass_policies::buf_id_check::check()
const(buf_id_check * this=0xcccccccc) Line 195 + 0xb C++
          testwave.exe! ?? ?? :: ?? ::operator*(multi_pass * this=0x0012eb0c)
Line 1005 C++
 
testwave.exe!?get@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_match_po(iteration_policy
* this=0x0012eb40, scanner & scan={...}) Line 50 + 0xb C++
          testwave.exe! ?? ?? :: ?? ::operator*(scanner * this=0xcccccccc)
Line 251 + 0xb C++
 
testwave.exe!?parse@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_match_(char_parser
* this=0xcccccccc, scanner & scan={...}) Line 50 C++
 
testwave.exe!?parse@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_match_(kleene_star
* this=0xcccccccc, scanner & scan={...}) Line 58 + 0x19 C++
 
testwave.exe!?parse@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_match_(sequence
* this=0xcccccccc, scanner & scan={...}) Line 54 + 0x16 C++
          testwave.exe! ?? ?? :: ?? ::do_parse_virtual(concrete_parser *
this=0x0012ed30, scanner & scan={...}) Line 233 + 0x11 C++
 
testwave.exe!?parse_main@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_m(rule_base
* this=0x00138078, scanner & scan={...}) Line 189 + 0x19 C++
 
testwave.exe!?parse@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_match_(rule_base
* this=0xcccccccc, scanner & scan={...}) Line 172 + 0x48 C++
 
testwave.exe!?parse@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_match_(optional
* this=0xcccccccc, scanner & scan={...}) Line 54 + 0x16 C++
 
testwave.exe!?parse@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_match_(sequence
* this=0xcccccccc, scanner & scan={...}) Line 54 + 0x16 C++
 
testwave.exe!?do_parse_virtual@?$concrete_parser_at_U?$sequence_at_U?$sequence_at_U?$alternative_at_U?$alternative_at_U?$chlit_at_W4token_id_at_wave@boost@@@spirit_at_boost@@U?$pattern_and_at_W4token_category_at_wave@boost@@@util_at_wave@3@@spirit_at_boost@@U?$pattern_and_at_H@util_at_wave@3@@spirit_at_boost@@U?(concrete_parser
* this=0x0012eebc, scanner & scan={...}) Line 233 + 0x11 C++
 
testwave.exe!?parse_main@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_m(rule_base
* this=0x00138070, scanner & scan={...}) Line 189 + 0x19 C++
 
testwave.exe!?parse@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_match_(rule_base
* this=0xcccccccc, scanner & scan={...}) Line 172 + 0x48 C++
 
testwave.exe!?do_@?$@V?$tree_match_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@V?$node_val_data_factory_at_Unil_t_at_spirit@boost@@@spirit_at_4@Unil_t@(tree_match
& result={...}, definition & def={...}, scanner & scan={...}) Line
262 + 0x16 C++
 
testwave.exe!?grammar_parser_parse@?$@$0A_at_Upredefined_macros_grammar_at_grammars@wave_at_boost@@U?$parser_context_at_Unil_t_at_spirit@boost@@@spirit_at_4@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave(grammar
* self=0x0012f058, scanner & scan={...}) Line 281 + 0xf C++
 
testwave.exe!?parse_main@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_m(grammar
* this=0x0012efec, scanner & scan={...}) Line 55 + 0x1f C++
 
testwave.exe!?parse@?$@V?$scanner_at_V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@U?$scanner_policies_at_Uiteration_policy_at_spirit@boost@@U?$pt_match_(grammar
* this=0xcccccccc, scanner & scan={...}) Line 63 + 0x48 C++
 
testwave.exe!?pt_parse@?$@V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@cpplexer_at_wave@boost@@Upredefined_macros_grammar_at_grammars@34@@spirit_at_4@YA?AU?$tree_parse_info@(lex_iterator
& first_={...}, lex_iterator & last={...}, parser & parser={...})
Line 229 C++
 
testwave.exe!boost::wave::grammars::predefined_macros_grammar_gen<class
boost::wave::cpplexer::lex_iterator<class
boost::wave::cpplexer::lex_token<struct
boost::wave::util::file_position<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > > > >
>::parse_predefined_macro( ?? )(lex_iterator & first={...},
lex_iterator & last={...}) Line 153 + 0x13 C++
 
testwave.exe!?add_macro_definition@?$@V?$context_at_V?$__wrap_iterator_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@PB$$CBD_at_std@@V?$lex_iterator_at_V?$lex_token_at_U?$file_position_at_V?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@util_at_wave@boost@(context
& ctx=, basic_string & macrostring=, bool is_predefined=,
language_support language=) Line 154 + 0x4a C++
==========

All those this=0xcccccccc, is CodeWarrior's way of saying one has a
refenrence to a deleted object. As that's the value it clears memory to
when it deletes.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk