Bug 394631 - tst_inject fails
Summary: tst_inject fails
Status: RESOLVED NOT A BUG
Alias: None
Product: Heaptrack
Classification: Applications
Component: general (show other bugs)
Version: 1.1.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Milian Wolff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-23 19:37 UTC by Heiko Becker
Modified: 2018-05-24 11:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Becker 2018-05-23 19:37:00 UTC
Built with Qt 5.10.1

5: Test command: /var/tmp/paludis/build/dev-util-heaptrack-1.1.0/work/build/tests/auto/tst_inject
5: Test timeout computed to be: 10000000
5: 
5: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5: tst_inject is a Catch v1.2.1 host application.
5: Run with -? for options
5: 
5: -------------------------------------------------------------------------------
5: inject via dlopen
5: -------------------------------------------------------------------------------
5: /var/tmp/paludis/build/dev-util-heaptrack-1.1.0/work/heaptrack-1.1.0/tests/auto/tst_inject.cpp:87
5: ...............................................................................
5: 
5: /var/tmp/paludis/build/dev-util-heaptrack-1.1.0/work/heaptrack-1.1.0/tests/auto/tst_inject.cpp:82: FAILED:
5:   REQUIRE( contents.find("\n+") != std::string::npos )
5: with expansion:
5:   18446744073709551615 (0xffffffffffffffff)
5:   !=
5:   18446744073709551615 (0xffffffffffffffff)
5: 
5: -------------------------------------------------------------------------------
5: inject via libc
5: -------------------------------------------------------------------------------
5: /var/tmp/paludis/build/dev-util-heaptrack-1.1.0/work/heaptrack-1.1.0/tests/auto/tst_inject.cpp:105
5: ...............................................................................
5: 
5: /var/tmp/paludis/build/dev-util-heaptrack-1.1.0/work/heaptrack-1.1.0/tests/auto/tst_inject.cpp:82: FAILED:
5:   REQUIRE( contents.find("\n+") != std::string::npos )
5: with expansion:
5:   18446744073709551615 (0xffffffffffffffff)
5:   !=
5:   18446744073709551615 (0xffffffffffffffff)
5: 
5: ===============================================================================
5: test cases:  2 |  0 passed | 2 failed
5: assertions: 21 | 19 passed | 2 failed
5: 
5/5 Test #5: tst_inject .......................***Failed    0.06 sec
Comment 1 Milian Wolff 2018-05-23 20:14:37 UTC
Qt isn't relevant here - heaptrack only uses Qt for the GUI.

What system is this? I.e. what distribution? What hardware platform? 32bit or 64bit?
Comment 2 Heiko Becker 2018-05-23 20:17:02 UTC
(In reply to Milian Wolff from comment #1)
> Qt isn't relevant here - heaptrack only uses Qt for the GUI.
> 
> What system is this? I.e. what distribution? What hardware platform? 32bit
> or 64bit?

Exherbo, x86_64, 64bit
Comment 3 Milian Wolff 2018-05-23 20:42:00 UTC
I've never heard of that distro. Does it do anything special when it comes to compilation flags maybe?

Also, installation looks pretty complicated. Is there a live image one can boot in a VM to debug this?
Comment 4 Heiko Becker 2018-05-23 21:39:53 UTC
It's actually caused by our build sandbox. If I build without it the test passes. Sorry, should've checked that first. Guess this can be closed.
Comment 5 Milian Wolff 2018-05-24 11:57:34 UTC
OK cool, thanks for the feedback.