Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotsport --exportTo stuck #613

Closed
dionysus1016 opened this issue Apr 3, 2024 · 3 comments
Closed

hotsport --exportTo stuck #613

dionysus1016 opened this issue Apr 3, 2024 · 3 comments
Labels
bug needs_info not enough info

Comments

@dionysus1016
Copy link

dionysus1016 commented Apr 3, 2024

Describe the bug
I am trying to use hotspot --exportTo feature to export perf result, I run this command in SOC that doesn't have any UI components installed (the SOC runs special linux OS). hotspot stuck at the beginging, here is callstack:
(gdb) thread apply all bt

Thread 1 (Thread 0xffff9e0fc6e0 (LWP 3046626)):
#0 0x0000ffff9f00ffb4 in ppoll () from /lib/aarch64-linux-gnu/libc.so.6
#1 0x0000ffff9f69fb84 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /data/user/hotspot/hotspot_1.4.80_orin/qt515/libQt5Core.so.5
#2 0x0000ffff9f6a1694 in QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /data/user/hotspot/hotspot_1.4.80_orin/qt515/libQt5Core.so.5
#3 0x0000ffff9f64263c in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /data/user/hotspot/hotspot_1.4.80_orin/qt515/libQt5Core.so.5
#4 0x0000ffff9f64b280 in QCoreApplication::exec() () from /data/yejun/hotspot/hotspot_1.4.80_orin/qt515/libQt5Core.so.5
#5 0x0000aaaab64aa480 in main ()

Anything I can do to resolve this issue?

@milianw
Copy link
Member

milianw commented Apr 12, 2024

are any other threads running? is the hotspot-perfparser process running in the background? get thread apply all bt for both processes.

I cannot reproduce this behavior here.

@milianw milianw added the needs_info not enough info label Apr 12, 2024
@GitMensch
Copy link
Contributor

That's using the old hotspot version, we explicit made changes to make this work.
I suggest to recheck with a current dev snapshot (self-compiled as the appimage only support x86_64) and think this should work fine.

@milianw
Copy link
Member

milianw commented Apr 25, 2024

Please try this with the appimage attached to https://github.com/KDAB/hotspot/releases/tag/v1.5.0 again and reopen if you can reproduce the error there.

@milianw milianw closed this as completed Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs_info not enough info
Projects
None yet
Development

No branches or pull requests

3 participants