Opened 15 years ago

Closed 15 years ago

Last modified 9 years ago

#905 closed Support Requests (worksforme)

Assertion failed in token_iterator.hpp

Reported by: nobody Owned by: jsiek
Milestone: Component: tokenizer
Version: None Severity: Showstopper
Keywords: Cc:

Description (last modified by John Maddock)

Using BOOST.1.33.1 with Borland C++.
I've suddenly got a Message Box saying:
Assertion failed:  valid_, file ...boost/token_iterator.hpp, line 52

Line 52 in token_iterator.hpp is:  assert(valid_);  in void increment(){}.

Could anybody give me a clue as to what might be going on and why it has suddenly started happening, please?

With thanks in anticipation,
Paul Collins

(paul@screen.subtitling.com)

Change History (4)

comment:1 by Eric Niebler, 15 years ago

Owner: changed from nobody to John Maddock
Severity: Showstopper
Status: assignednew

comment:2 by John Maddock, 15 years ago

Component: Nonetokenizer
Description: modified (diff)
Owner: changed from John Maddock to jsiek

comment:3 by John Maddock, 15 years ago

Resolution: Noneworksforme
Status: newclosed

Looks like you are incrementing past the end of the sequence?

comment:4 by anonymous, 9 years ago

root@ovi-Compaq-Presario-CQ40-Notebook-PC:/etc/odtone# odtone-mihf

================================= Crash Dump ================================== Module : /usr/bin/odtone-mihf Code : assert Function : const Type& boost::token_iterator<TokenizerFunc, Iterator, Type>::dereference() const [with TokenizerFunc = boost::char_separator<char, std::char_traits<char> >, Iterator = gnu_cxx::normal_iterator<const char*, std::basic_string<char> >, Type = std::basic_string<char>] File : /usr/include/boost/token_iterator.hpp Line : 56 Expression: valid_

stack trace

00 0000000008099C25 [odtone-mihf] 01 000000000809A5C4 [odtone-mihf] 02 000000000808D638 [odtone-mihf] 03 00000000B736B4D3 [libc-2.15.so] 04 0000000008092391 [odtone-mihf] ===============================================================================

Aborted (core dumped)

Note: See TracTickets for help on using tickets.