[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 255603] Assertion '!already_present' failed
From:       Björn Stenberg <bjorn () haxx ! se>
Date:       2015-06-30 14:14:46
Message-ID: bug-255603-17878-dQW4Axn9XF () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=255603

Björn Stenberg <bjorn@haxx.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bjorn@haxx.se

--- Comment #6 from Björn Stenberg <bjorn@haxx.se> ---
Valgrind 3.10.1
Debian testing on amd64-linux

This can be triggered by running any program that calls gethostbyname():

$ valgrind --tool=exp-sgcheck telnet bugs.kde.org
==23495== exp-sgcheck, a stack and global array overrun detector
==23495== NOTE: This is an Experimental-Class Valgrind Tool
==23495== Copyright (C) 2003-2013, and GNU GPL'd, by OpenWorks Ltd et al.
==23495== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==23495== Command: telnet bugs.kde.org
==23495== 
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93
--23495-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x93

exp-sgcheck: sg_main.c:560 (add_blocks_to_StackTree): Assertion
'!already_present' failed.

host stacktrace:
==23495==    at 0x3808071F: show_sched_status_wrk (m_libcassert.c:319)
==23495==    by 0x38080834: report_and_quit (m_libcassert.c:390)
==23495==    by 0x380809B6: vgPlain_assert_fail (m_libcassert.c:455)
==23495==    by 0x38076E7B: add_blocks_to_StackTree (sg_main.c:560)
==23495==    by 0x380781DE: shadowStack_new_frame.isra.22 (sg_main.c:1875)
==23495==    by 0x806528EA1: ???
==23495==    by 0x802B7DEEF: ???
==23495==    by 0x3807485F: ??? (h_main.c:376)
==23495==    by 0x5251E3A: __nscd_get_mapping (nscd_helper.c:286)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==23495==    at 0x5251E78: __nscd_get_mapping (nscd_helper.c:293)
==23495==    by 0x525225B: __nscd_get_map_ref (nscd_helper.c:443)
==23495==    by 0x524F7A5: nscd_gethst_r (nscd_gethst_r.c:160)
==23495==    by 0x524FFC8: __nscd_gethostbyname_r (nscd_gethst_r.c:47)
==23495==    by 0x5231A55: gethostbyname_r@@GLIBC_2.2.5 (getXXbyYY_r.c:196)
==23495==    by 0x5231105: gethostbyname (getXXbyYY.c:116)
==23495==    by 0x40F077: ??? (in /usr/bin/telnet.netkit)
==23495==    by 0x408EF8: ??? (in /usr/bin/telnet.netkit)
==23495==    by 0x407872: ??? (in /usr/bin/telnet.netkit)
==23495==    by 0x402457: ??? (in /usr/bin/telnet.netkit)
==23495==    by 0x515BB44: (below main) (libc-start.c:287)


Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.

If that doesn't help, please report this bug to: www.valgrind.org

In the bug report, send all the above text, the valgrind
version, and what OS and version you are using.  Thanks.

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic