Bug 953287 - gdb internal-error: value_contents_bits_eq: Assertion `offset2 + length <= TYPE_LENGTH (val2->enclosing_type) * TARGET_CHAR_BIT' failed.
Summary: gdb internal-error: value_contents_bits_eq: Assertion `offset2 + length <= TY...
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michael Matz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1020923
  Show dependency treegraph
 
Reported: 2015-11-03 07:55 UTC by Martin Pluskal
Modified: 2020-06-12 13:37 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
core file (37.51 KB, application/x-xz)
2015-11-03 07:55 UTC, Martin Pluskal
Details
backtrace (7.48 KB, text/plain)
2015-11-03 07:55 UTC, Martin Pluskal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Pluskal 2015-11-03 07:55:11 UTC
Created attachment 654335 [details]
core file

When opening coredump for pinger (part of squid). following occurs:
#17 0x000056267a78966c in IcmpPinger::Recv (this=0x56267a99b620 <control>) at IcmpPinger.cc:166
        _dbo = warning: can't find linker symbol for virtual table for `std::basic_ostream<char, std::char_traits<char> >' value
warning:   found `construction vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >-in-Debug::OutStream' instead
@0x56267b3f16c0: warning: can't find linker symbol for virtual table for `std::basic_ostream<char, std::char_traits<char> >' value
warning:   found `construction vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >-in-Debug::OutStream' instead
{<std::basic_ios<char, std::char_traits<char> >> = {<std::ios_base> = {_vptr.ios_base = 0x56267a994978 <construction vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >-in-Debug::OutStream+64>, static boolalpha = std::_S_boolalpha, static dec = std::_S_dec, static fixed = std::_S_fixed, static hex = std::_S_hex, static internal = std::_S_internal, static left = std::_S_left, static oct = std::_S_oct, static right = std::_S_right, static scientific = std::_S_scientific, static showbase = std::_S_showbase, static showpoint = std::_S_showpoint, static showpos = std::_S_showpos, static skipws = std::_S_skipws, static unitbuf = std::_S_unitbuf, static uppercase = std::_S_uppercase, static adjustfield = std::_S_adjustfield, static basefield = std::_S_basefield, static floatfield = std::_S_floatfield, static badbit = std::_S_badbit, static eofbit = std::_S_eofbit, static failbit = std::_S_failbit, static goodbit = std::_S_goodbit, static app = std::_S_app, static ate = std::_S_ate, static binary = std::_S_bin, static in = std::_S_in, static out = std::_S_out, static trunc = std::_S_trunc, static beg = std::_S_beg, static cur = std::_S_cur, static end = std::_S_end, _M_precision = 2, _M_width = 0, _M_flags = 4102, _M_exception = std::_S_goodbit, _M_streambuf_state = std::_S_goodbit, _M_callbacks = 0x0, _M_word_zero = {_M_pword = 0x0, _M_iword = 0}, _M_local_word = {../../gdb/value.c:823: internal-error: value_contents_bits_eq: Assertion `offset2 + length <= TYPE_LENGTH (val2->enclosing_type) * TARGET_CHAR_BIT' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Comment 1 Martin Pluskal 2015-11-03 07:55:32 UTC
Created attachment 654336 [details]
backtrace
Comment 2 Martin Pluskal 2015-11-03 07:56:48 UTC
affected squid package and corresponding debuginfo are at:
http://users.suse.cz/~mpluskal/bugs/953287/
Comment 3 Richard Biener 2015-11-03 10:04:26 UTC
Please fix permissions of the core.xz file.

> wget 'http://users.suse.cz/~mpluskal/bugs/953287/core.pinger.31.99a3853ea15f4275ad75f93ce05bca52.1926.1446505221000000.xz'
--2015-11-03 11:03:53--  http://users.suse.cz/~mpluskal/bugs/953287/core.pinger.31.99a3853ea15f4275ad75f93ce05bca52.1926.1446505221000000.xz
Resolving users.suse.cz (users.suse.cz)... 10.100.2.15
Connecting to users.suse.cz (users.suse.cz)|10.100.2.15|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-11-03 11:03:53 ERROR 403: Forbidden.
Comment 4 Richard Biener 2015-11-03 10:14:30 UTC
Can you also try gdb from devel:gcc please?
Comment 5 Martin Pluskal 2015-11-03 13:41:25 UTC
(In reply to Richard Biener from comment #4)
> Can you also try gdb from devel:gcc please?

Fixed permissions, gdb from devel:gcc gives same error
Comment 6 Tom de Vries 2020-06-12 13:37:20 UTC
This may be https://sourceware.org/bugzilla/show_bug.cgi?id=21356 .