Bug 438862 - The AppImage build of Heaptrack fails to run on Centos7
Summary: The AppImage build of Heaptrack fails to run on Centos7
Status: RESOLVED FIXED
Alias: None
Product: Heaptrack
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.2.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Milian Wolff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-18 11:23 UTC by Teodor Petrov
Modified: 2022-03-01 11:12 UTC (History)
1 user (show)

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 Teodor Petrov 2021-06-18 11:23:28 UTC
STEPS TO REPRODUCE
1. Download the file from github
2. make executable
3. run ~/Downloads/heaptrack-v1.2.0-x86_64.AppImage ls -l
4. run ~/Downloads/heaptrack-v1.2.0-x86_64.AppImage --analyze "/something/heaptrack.ls.26873.zst"

OBSERVED RESULT
ls: /lib64/libstdc++.so.6: version `CXXABI_1.3.10' not found (required by /tmp/.mount_heaptr4BSgrv/opt/lib/heaptrack/libheaptrack_preload.so)

/tmp/.mount_heaptrvFPoJO/opt/bin/heaptrack_gui_bin: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /tmp/.mount_heaptrvFPoJO/opt/bin/heaptrack_gui_bin)


EXPECTED RESULT
Working fine or at least document which is the minimal glibc/libstdc++ version require in order to be able to run it.

SOFTWARE/OS VERSIONS
Linux: CentOS 7.9.2009 (Core)
Comment 1 Milian Wolff 2021-08-19 08:58:19 UTC
hey there, can you try this appimage which I build on Centos 7:

https://github.com/KDAB/heaptrack/releases/tag/continuous

thanks
Comment 2 Teodor Petrov 2021-08-19 09:36:56 UTC
With this build tracking fails with:

> ./heaptrack-v1.2.0-202-gb39c162-x86_64.AppImage ls -l
heaptrack output will be written to "/home/obf7/Downloads/heaptrack.ls.10054.gz"
/tmp/.mount_heaptrx0t5wE/usr/lib/heaptrack/libheaptrack_preload.so
starting application, this might take some time...
ls: symbol lookup error: /tmp/.mount_heaptrx0t5wE/usr/lib/heaptrack/libheaptrack_preload.so: undefined symbol: _ULx86_64_set_cache_size

But the UI is showing correctly. Which is probably fine, because building the tracking-only code is a lot easier locally, because it doesn't depend on Qt.
Comment 3 Milian Wolff 2021-08-20 15:28:31 UTC
thanks! will look into this now
Comment 4 Milian Wolff 2021-08-20 16:02:49 UTC
Please try the new appimage I just uploaded to the same link as above - does that one now work for you too?
Comment 5 Teodor Petrov 2021-08-30 11:59:15 UTC
This one works, thank you.
Comment 6 Milian Wolff 2021-08-31 13:46:52 UTC
cool thanks
Comment 7 Paul Floyd 2022-03-01 11:12:44 UTC
I have exactly the same problem on RHEL 7.6 and the custom build does not resolve the problem. To workaround the problem I built libunwind from source and set LD_PRELOAD to point to it.