|
From: Jeffrey W. <nol...@gm...> - 2019-03-17 12:59:45
|
Hi Everyone, I'm working on a Tinker Board (https://www.asus.com/us/Single-Board-Computer/Tinker-Board/). It is a Cortex-A17 with Debian 9.8. Debian provides Valgrind 3.12. $ valgrind ./test.exe ==8876== Memcheck, a memory error detector ==8876== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==8876== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info ==8876== Command: ./test.exe ==8876== valgrind: m_transtab.c:2459 (vgPlain_init_tt_tc): Assertion 'sizeof(TTEntryC) <= 88' failed. Segmentation fault A quick pass in the bug tracker did not show hits for the error, so I'm guessing it has not been reported. $ apt-cache show valgrind Package: valgrind Source: valgrind (1:3.12.0~svn20160714-1) Version: 1:3.12.0~svn20160714-1+b1 Installed-Size: 29965 Maintainer: Alessandro Ghedini <gh...@de...> Architecture: armhf ... I can provide remote access to the board. I need authorized_keys. Jeff |
|
From: Philippe W. <phi...@sk...> - 2019-03-17 13:08:34
|
You should upgrade to a recent valgrind version (e.g. compile the last official release 3.14, or even the git version). See bug https://bugs.kde.org/show_bug.cgi?id=362935 Philippe commit 7a8129795c5c4e0465ac48989dc6cd755b5d0a66 Author: Julian Seward <js...@ac...> AuthorDate: Thu Jul 21 12:47:51 2016 +0000 Commit: Julian Seward <js...@ac...> CommitDate: Thu Jul 21 12:47:51 2016 +0000 Fix incorrect assertion re sizeof TTEntryC on arm-linux. Fixes #362935. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15912 On Sun, 2019-03-17 at 08:59 -0400, Jeffrey Walton wrote: > Hi Everyone, > > I'm working on a Tinker Board > (https://www.asus.com/us/Single-Board-Computer/Tinker-Board/). It is a > Cortex-A17 with Debian 9.8. Debian provides Valgrind 3.12. > > $ valgrind ./test.exe > ==8876== Memcheck, a memory error detector > ==8876== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. > ==8876== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info > ==8876== Command: ./test.exe > ==8876== > > valgrind: m_transtab.c:2459 (vgPlain_init_tt_tc): Assertion > 'sizeof(TTEntryC) <= 88' failed. > Segmentation fault > > A quick pass in the bug tracker did not show hits for the error, so > I'm guessing it has not been reported. > > $ apt-cache show valgrind > Package: valgrind > Source: valgrind (1:3.12.0~svn20160714-1) > Version: 1:3.12.0~svn20160714-1+b1 > Installed-Size: 29965 > Maintainer: Alessandro Ghedini <gh...@de...> > Architecture: armhf > ... > > I can provide remote access to the board. I need authorized_keys. > > Jeff > > > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |
|
From: Julian S. <js...@ac...> - 2019-03-17 13:11:23
|
On 17/03/2019 13:59, Jeffrey Walton wrote:
> valgrind: m_transtab.c:2459 (vgPlain_init_tt_tc): Assertion
> 'sizeof(TTEntryC) <= 88' failed.
> Segmentation fault
I'm sure it's been fixed since then. Here's what the current trunk
sources have:
/* The TTEntryH size is critical for keeping the LLC miss rate down
when doing a lot of discarding. Hence check it here. We also
have a lot of TTEntryCs so let's check that too. */
if (sizeof(HWord) == 8) {
vg_assert(sizeof(TTEntryH) <= 32);
vg_assert(sizeof(TTEntryC) <= 112);
}
else if (sizeof(HWord) == 4) {
vg_assert(sizeof(TTEntryH) <= 20);
# if defined(VGP_ppc32_linux) || defined(VGP_mips32_linux) \
|| (defined(VGP_mips64_linux) && defined(VGABI_N32)) \
|| defined(VGP_arm_linux)
/* On PPC32, MIPS32, ARM32 platforms, alignof(ULong) == 8, so the
structure is larger than on other 32 bit targets. */
vg_assert(sizeof(TTEntryC) <= 96); <------------------ HERE
# else
vg_assert(sizeof(TTEntryC) <= 88);
# endif
}
else {
vg_assert(0);
}
J
|
|
From: Jeffrey W. <nol...@gm...> - 2019-03-18 09:26:30
|
On Sun, Mar 17, 2019 at 9:08 AM Philippe Waroquiers <phi...@sk...> wrote: > > You should upgrade to a recent valgrind version (e.g. compile > the last official release 3.14, or even the git version). > See bug https://bugs.kde.org/show_bug.cgi?id=362935 Thanks Phillipe. I think the projects bug reporter is broken. I searched for the terms and got 0 results. This has happened in the past for me, too. Do you think the project will ever fix the bug reporter, or will it continue to waste my time and your time? Jeff |
|
From: Tom H. <to...@co...> - 2019-03-18 10:31:11
|
On 18/03/2019 09:25, Jeffrey Walton wrote: > I think the projects bug reporter is broken. I searched for the terms > and got 0 results. This has happened in the past for me, too. Searching for TTEntryC (for example) worked or me once I included closed bugs in the search - note that by default searches are limited to bugs that are still open. That's standard for bugzilla. > Do you think the project will ever fix the bug reporter, or will it > continue to waste my time and your time? Well it's not our bug reporter, it's the KDE one that we are just "borrowing" so management of it is outside our control for the most part. Tom -- Tom Hughes (to...@co...) http://compton.nu/ |