Ticket #7606: regex gdb trace.txt

File regex gdb trace.txt, 4.8 KB (added by Ashley Sanders <a.sanders@…>, 10 years ago)

gdb stack trace

Line 
1ashley@copac1 ~/tmp $ env LD_LIBRARY_PATH=~/src/boost_1_51_0/stage/lib:/copac/lib gdb regex
2GNU gdb (GDB) 7.2
3Copyright (C) 2010 Free Software Foundation, Inc.
4License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
5This is free software: you are free to change and redistribute it.
6There is NO WARRANTY, to the extent permitted by law. Type "show copying"
7and "show warranty" for details.
8This GDB was configured as "sparc-sun-solaris2.10".
9For bug reporting instructions, please see:
10<http://www.gnu.org/software/gdb/bugs/>...
11Reading symbols from /export/home/ashley/tmp/regex...done.
12(gdb) run
13Starting program: /export/home/ashley/tmp/regex
14[Thread debugging using libthread_db enabled]
15[New Thread 1 (LWP 1)]
16
17Program received signal SIGSEGV, Segmentation fault.
18[Switching to Thread 1 (LWP 1)]
190xff1c71f8 in boost::re_detail::basic_regex_creator<int, boost::icu_regex_traits>::append_set (this=0xffbff738, char_set=...)
20 at ./boost/regex/v4/basic_regex_creator.hpp:379
21379 result->cclasses = char_set.classes();
22(gdb) bt
23#0 0xff1c71f8 in boost::re_detail::basic_regex_creator<int, boost::icu_regex_traits>::append_set (this=0xffbff738, char_set=...)
24 at ./boost/regex/v4/basic_regex_creator.hpp:379
25#1 0xff1be6cc in boost::re_detail::basic_regex_creator<int, boost::icu_regex_traits>::append_set (this=0xffbff738, char_set=...)
26 at ./boost/regex/v4/basic_regex_creator.hpp:361
27#2 0xff1b085c in boost::re_detail::basic_regex_parser<int, boost::icu_regex_traits>::parse_set (this=0xffbff738)
28 at ./boost/regex/v4/basic_regex_parser.hpp:1269
29#3 0xff1a7c44 in boost::re_detail::basic_regex_parser<int, boost::icu_regex_traits>::parse_extended (this=0xffbff738)
30 at ./boost/regex/v4/basic_regex_parser.hpp:354
31#4 0xff1a8600 in boost::re_detail::basic_regex_parser<int, boost::icu_regex_traits>::parse_all (this=0xffbff738)
32 at ./boost/regex/v4/basic_regex_parser.hpp:234
33#5 0xff1a46e0 in boost::re_detail::basic_regex_parser<int, boost::icu_regex_traits>::parse (this=0xffbff738, p1=0x27cd0, p2=0x27d00,
34 l_flags=0) at ./boost/regex/v4/basic_regex_parser.hpp:157
35#6 0xff1a172c in boost::re_detail::basic_regex_implementation<int, boost::icu_regex_traits>::assign (this=0x27d08, arg_first=0x27cd0,
36 arg_last=0x27d00, f=0) at ./boost/regex/v4/basic_regex.hpp:215
37#7 0xff19ea64 in boost::basic_regex<int, boost::icu_regex_traits>::do_assign (this=0xffbffa80, p1=0x27cd0, p2=0x27d00, f=0)
38 at ./boost/regex/v4/basic_regex.hpp:661
39#8 0x00015e9c in boost::basic_regex<int, boost::icu_regex_traits>::assign (this=0xffbffa80, p1=0x27cd0, p2=0x27d00, f=0)
40 at /export/home/ashley/src/boost_1_51_0/boost/regex/v4/basic_regex.hpp:382
41#9 0x00015880 in boost::basic_regex<int, boost::icu_regex_traits>::basic_regex<boost::u8_to_u32_iterator<char const*, int> > (
42 this=0xffbffa80, arg_first=..., arg_last=..., f=0) at /export/home/ashley/src/boost_1_51_0/boost/regex/v4/basic_regex.hpp:404
43#10 0x00015064 in boost::re_detail::do_make_u32regex<char const*> (i=0x16d68 <error reading variable>, j=0x16d74 "", opt=0)
44 at /export/home/ashley/src/boost_1_51_0/boost/regex/icu.hpp:254
45#11 0x00014b44 in boost::make_u32regex (p=0x16d68 <error reading variable>, opt=0)
46 at /export/home/ashley/src/boost_1_51_0/boost/regex/icu.hpp:351
47#12 0x0001446c in main () at regex.cpp:5
48(gdb) f 0
49#0 0xff1c71f8 in boost::re_detail::basic_regex_creator<int, boost::icu_regex_traits>::append_set (this=0xffbff738, char_set=...)
50 at ./boost/regex/v4/basic_regex_creator.hpp:379
51379 result->cclasses = char_set.classes();
52(gdb) print char_set
53$1 = (const boost::re_detail::basic_char_set<int, boost::icu_regex_traits> &) @0xffbff500: {
54 m_singles = {<std::_Vector_base<boost::re_detail::digraph<int>, std::allocator<boost::re_detail::digraph<int> > >> = {
55 _M_impl = {<std::allocator<boost::re_detail::digraph<int> >> = {<__gnu_cxx::new_allocator<boost::re_detail::digraph<int> >> = {<No data fields>}, <No data fields>}, _M_start = 0x28440, _M_finish = 0x28450, _M_end_of_storage = 0x28450}}, <No data fields>},
56 m_ranges = {<std::_Vector_base<boost::re_detail::digraph<int>, std::allocator<boost::re_detail::digraph<int> > >> = {
57 _M_impl = {<std::allocator<boost::re_detail::digraph<int> >> = {<__gnu_cxx::new_allocator<boost::re_detail::digraph<int> >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, m_negate = false,
58 m_has_digraphs = false, m_classes = 0, m_negated_classes = 0, m_empty = false,
59 m_equivalents = {<std::_Vector_base<boost::re_detail::digraph<int>, std::allocator<boost::re_detail::digraph<int> > >> = {
60 _M_impl = {<std::allocator<boost::re_detail::digraph<int> >> = {<__gnu_cxx::new_allocator<boost::re_detail::digraph<int> >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}}
61(gdb)