KDAB / hotspot

The Linux perf GUI for performance analysis.
4.16k stars 257 forks source link

hotspot AppImage crash #492

Closed majestichou closed 1 year ago

majestichou commented 1 year ago

Describe the bug A clear and concise description of what the bug is. hotspot AppImage crash: /tmp/.mount_hotsporpvdtA/AppRun.wrapped: line 6: 17701 Segmentation fault (core dumped) LD_LIBRARY_PATH="$d/usr/lib":$LD_LIBRARY_PATH "$bin/hotspot" To Reproduce Steps to reproduce the behavior:

  1. downaload hotspot-v1.4.1-x86_64.AppImage
  2. chmod u+x hotspot-v1.4.1-x86_64.AppImage && ./hotspot-v1.4.1-x86_64.AppImage
  3. open a perf.data
  4. Switch to Flame Graph tab
  5. Crash! The error information is: /tmp/.mount_hotsporpvdtA/AppRun.wrapped: line 6: 17701 Segmentation fault (core dumped) LD_LIBRARY_PATH="$d/usr/lib":$LD_LIBRARY_PATH "$bin/hotspot"

Expected behavior every thing is OK

Version Info (please complete the following information):

Additional context Add any other context about the problem here.

majestichou commented 1 year ago

I try the hotspot-v1.4.0-x86_64.AppImage and it works. But hotspot-v1.4.1-x86_64.AppImage still crash!

lostinsea commented 1 year ago

I have the same issue with this AppImage (v1.4.1-x86_64). Running in WSL2. Version 1.4.0 works without any issue.

Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 Ubuntu 22.10

This happens only when I access the caller/callee tab: Error: /tmp/.mount_hotspofW5g81/AppRun.wrapped: line 6: 24369 Segmentation fault LD_LIBRARY_PATH="$d/usr/lib":$LD_LIBRARY_PATH "$bin/hotspot" "$@"

GitMensch commented 1 year ago

Can you reproduce that with a current CI created AppImage?

lostinsea commented 1 year ago

Thanks @GitMensch. I tried it with this image I could not repro it. I was able to use the caller/Callee and Flamegraphs with a super simple data set. Will do a thorough check later today/tomorrow.

However, this is unrelated to the original bug, I noticed that the app crashed multiple times for different reasons with

/tmp/.mount_hotspooerKQs/AppRun.wrapped: line 6: 16738 Segmentation fault LD_LIBRARY_PATH="$d/usr/lib":$LD_LIBRARY_PATH "$bin/hotspot" "$@"

EDIT: Tested this image more with original machine/app and could not reproduce the original issue.

majestichou commented 1 year ago

Can you reproduce that with a current CI created AppImage? current CI created AppImage is OK. It does not crash. But hotspot-v1.4.1.tar.gz still crashes. I will use the current CI created AppImage

milianw commented 1 year ago

then I'll close this ticket