[Bug c++/42033] libstdc++ seems to miss std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*>(char*, char*, std::allocator<char> const&)

mannu7410 at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 28 05:23:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42033

Manoj <mannu7410 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mannu7410 at gmail dot com

--- Comment #12 from Manoj <mannu7410 at gmail dot com> ---
Hi,

I am facing a similar issue. Following is the error that I am facing at run
time:

0x00007ffff6a69e3e in ?? () from /lib/x86_64-linux-gnu/libc.so.6

(gdb) bt

#0  0x00007ffff6a69e3e in ?? () from /lib/x86_64-linux-gnu/libc.so.6

#1  0x00007ffff704c842 in std::string::_Rep::_M_clone(std::allocator<char>
const&, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

#2  0x00007ffff704c8e0 in std::string::reserve(unsigned long) ()

  from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

#3  0x00007ffff704cc10 in std::string::append(char const*, unsigned long) ()

  from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

#4  0x0000000000414577 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, char const*) ()

#5  0x000000000040bb78 in ?? ()

#6  0x00000000004273ef in ?? ()

#7  0x0000000000427adc in ?? ()

#8  0x000000000040e01d in ?? ()

#9  0x00000000004273ef in ?? ()

#10 0x0000000000427adc in ?? ()

#11 0x000000000040beec in ?? ()

#12 0x00000000004273ef in ?? ()

#13 0x0000000000427adc in ?? ()

#14 0x000000000040beec in ?? ()

#15 0x00000000004273ef in ?? ()

#16 0x0000000000427adc in ?? ()

---Type <return> to continue, or q <return> to quit---

#17 0x000000000040c38c in ?? ()

#18 0x00000000004273ef in ?? ()

#19 0x00000000004219ea in ?? ()

#20 0x000000000041c9c0 in ?? ()

#21 0x00007ffff69f2ec5 in __libc_start_main ()

  from /lib/x86_64-linux-gnu/libc.so.6

#22 0x0000000000408cb9 in ?? ()

(gdb) fr

#0  0x00007ffff6a69e3e in ?? () from /lib/x86_64-linux-gnu/libc.so.6


This is very random and I am not sure if this is some memory related issue or
what. Any help will be great.

Thanks



More information about the Gcc-bugs mailing list