Forums - Snapdragon Profiler segfault

5 posts / 0 new
Last post
Snapdragon Profiler segfault
niall.murphy
Join Date: 23 Sep 19
Posts: 2
Posted: Mon, 2019-09-23 07:56

Hi, I am trying to run the snapdragon profiler on Ubuntu 18.04 but it fails immediately with segfault. I have followed the user guide and have the specified dependencies installed. I can see no indication from the crash report what the issue might be. I am running ./run_sdp.sh from the SnapdragonProfiler base directory. 

Any help would be much appreciated!

=================================================================
Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
/proc/self/maps:
4065a000-4066a000 rwxp 00000000 00:00 0 
40931000-40941000 rwxp 00000000 00:00 0 
564e6215d000-564e625df000 r-xp 00000000 08:02 4460555                    /usr/bin/mono-sgen
564e627de000-564e627e5000 r--p 00481000 08:02 4460555                    /usr/bin/mono-sgen
564e627e5000-564e627ea000 rw-p 00488000 08:02 4460555                    /usr/bin/mono-sgen
564e627ea000-564e62801000 rw-p 00000000 00:00 0 
564e63cca000-564e63f91000 rw-p 00000000 00:00 0                          [heap]
7f0a661e3000-7f0a6621d000 r-xp 00000000 08:02 4849992                    /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
7f0a6621d000-7f0a6641d000 ---p 0003a000 08:02 4849992                    /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
7f0a6641d000-7f0a6641e000 r--p 0003a000 08:02 4849992                    /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
7f0a6641e000-7f0a6641f000 rw-p 0003b000 08:02 4849992                    /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
7f0a6641f000-7f0a66433000 r-xp 00000000 08:02 1446823                    /lib/x86_64-linux-gnu/libgpg-error.so.0.22.0
7f0a66433000-7f0a66632000 ---p 00014000 08:02 1446823                    /lib/x86_64-linux-gnu/libgpg-error.so.0.22.0
7f0a66632000-7f0a66633000 r--p 00013000 08:02 1446823                    /lib/x86_64-linux-gnu/libgpg-error.so.0.22.0
7f0a66633000-7f0a66634000 rw-p 00014000 08:02 1446823                    /lib/x86_64-linux-gnu/libgpg-error.so.0.22.0
7f0a66634000-7f0a66748000 r-xp 00000000 08:02 1446821                    /lib/x86_64-linux-gnu/libgcrypt.so.20.2.1
7f0a66748000-7f0a66947000 ---p 00114000 08:02 1446821                    /lib/x86_64-linux-gnu/libgcrypt.so.20.2.1
7f0a66947000-7f0a66949000 r--p 00113000 08:02 1446821                    /lib/x86_64-linux-gnu/libgcrypt.so.20.2.1
7f0a66949000-7f0a6694e000 rw-p 00115000 08:02 1446821                    /lib/x86_64-linux-gnu/libgcrypt.so.20.2.1
7f0a6694e000-7f0a6694f000 rw-p 00000000 00:00 0 
7f0a6694f000-7f0a6696a000 r-xp 00000000 08:02 4465162                    /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
7f0a6696a000-7f0a66b69000 ---p 0001b000 08:02 4465162                    /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
7f0a66b69000-7f0a66b6a000 r--p 0001a000 08:02 4465162                    /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
7f0a66b6a000-7f0a66b6b000 rw-p 0001b000 08:02 4465162                    /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
7f0a66b6b000-7f0a66b8f000 r-xp 00000000 08:02 1446842                    /lib/x86_64-linux-gnu/liblzma.so.5.2.2
 
=================================================================
Basic Fault Adddress Reporting
=================================================================
Memory around native instruction pointer (0x7f0a7061bab0):0x7f0a7061baa0  48 8b 04 c1 48 89 44 24 08 8d 46 01 89 44 24 10  H...H.D$..F..D$.
0x7f0a7061bab0  41 80 3e 00 74 44 8b 4c 24 30 85 c9 0f 85 7e 00  A.>.tD.L$0....~.
0x7f0a7061bac0  00 00 4c 89 f7 e8 86 2b fe ff 49 8d 2c 06 4c 39  ..L....+..I.,.L9
0x7f0a7061bad0  f5 74 27 8b 44 24 14 85 c0 0f 84 49 01 00 00 48  .t'.D$.....I...H
 
=================================================================
Native stacktrace:
=================================================================
0x564e6228dd18 - mono : (null)
0x564e6221a894 - mono : (null)
0x564e6219e97e - mono : (null)
0x7f0a77486890 - /lib/x86_64-linux-gnu/libpthread.so.0 : (null)
0x7f0a7061bab0 - /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 : (null)
0x7f0a7061cf25 - /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 : g_build_filename
0x7f0a72836acb - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : (null)
0x7f0a72837fb5 - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : (null)
0x7f0a728382d3 - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : (null)
0x7f0a72838395 - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : gtk_rc_parse
0x4093ebf3 - Unknown
 
=================================================================
Telemetry Dumper:
=================================================================
Pkilling 0x7f0a732d6700 from 0x7f0a77c9b780
Entering thread summarizer pause from 0x7f0a77c9b780
Finished thread summarizer pause from 0x7f0a77c9b780.
 
Waiting for dumping threads to resume
 
=================================================================
External Debugger Dump:
=================================================================
[New LWP 14572]
[New LWP 14573]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f0a7748623a in __waitpid (pid=14598, stat_loc=0x7f0a77cb6ce4, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
30 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
  Id   Target Id         Frame 
* 1    Thread 0x7f0a77c9b780 (LWP 14565) "mono" 0x00007f0a7748623a in __waitpid (pid=14598, stat_loc=0x7f0a77cb6ce4, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
  2    Thread 0x7f0a757ff700 (LWP 14572) "SGen worker" 0x00007f0a774819f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564e627fe868) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  3    Thread 0x7f0a732d6700 (LWP 14573) "Finalizer" 0x00007f0a774846d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x564e627efa80) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
 
Thread 3 (Thread 0x7f0a732d6700 (LWP 14573)):
#0  0x00007f0a774846d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x564e627efa80) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  0x00007f0a774846d6 in do_futex_wait (sem=sem@entry=0x564e627efa80, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007f0a774847c8 in __new_sem_wait_slow (sem=0x564e627efa80, abstime=0x0) at sem_waitcommon.c:181
#3  0x0000564e62415778 in  ()
#4  0x0000564e623ca2eb in  ()
#5  0x00007f0a7747b6db in start_thread (arg=0x7f0a732d6700) at pthread_create.c:463
#6  0x00007f0a7686588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 
Thread 2 (Thread 0x7f0a757ff700 (LWP 14572)):
#0  0x00007f0a774819f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564e627fe868) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f0a774819f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x564e627fe880, cond=0x564e627fe840) at pthread_cond_wait.c:502
#2  0x00007f0a774819f3 in __pthread_cond_wait (cond=0x564e627fe840, mutex=0x564e627fe880) at pthread_cond_wait.c:655
#3  0x0000564e62472aca in  ()
#4  0x00007f0a7747b6db in start_thread (arg=0x7f0a757ff700) at pthread_create.c:463
#5  0x00007f0a7686588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 
Thread 1 (Thread 0x7f0a77c9b780 (LWP 14565)):
#0  0x00007f0a7748623a in __waitpid (pid=14598, stat_loc=0x7f0a77cb6ce4, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x0000564e6228df48 in  ()
#2  0x0000564e6221a894 in  ()
#3  0x0000564e6219e97e in  ()
#4  0x00007f0a77486890 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f0a7061bab0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f0a7061cf25 in g_build_filename () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f0a72836acb in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8  0x00007f0a72837fb5 in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9  0x00007f0a728382d3 in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#10 0x00007f0a72838395 in gtk_rc_parse () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x000000004093ebf3 in  ()
#12 0x00007fffc920a220 in  ()
#13 0x0000564e63cf11d8 in  ()
#14 0x00007fffc920a078 in  ()
#15 0x00007fffc920a220 in  ()
#16 0x0000564e63f68130 in  ()
#17 0x0000564e63d1b0a0 in  ()
#18 0x00007fffc9209fb0 in  ()
#19 0x00007fffc9209e50 in  ()
#20 0x0000000000000000 in  ()
 
=================================================================
Managed Stacktrace:
=================================================================
  at <unknown> <0xffffffff>
  at Gtk.Rc:gtk_rc_parse <0x000a2>
  at Gtk.Rc:Parse <0x000c7>
  at Sdp.MainClass:Main <0x0009f>
  at <Module>:runtime_invoke_void_object <0x00091>
=================================================================
 
  • Up0
  • Down0
niall.murphy
Join Date: 23 Sep 19
Posts: 2
Posted: Mon, 2019-09-23 08:04

Ah, I found the issue, it just could not connect to the X display. 

  • Up2
  • Down0
jeffrey.creswell
Join Date: 15 Sep 20
Posts: 5
Posted: Tue, 2020-09-15 14:50

I think I'm having the same problem over in https://developer.qualcomm.com/forum/qdn-forums/software/snapdragon-prof... -- how did you resolve the X display connection failure?

  • Up0
  • Down0
louis.muffang
Join Date: 16 Jul 20
Posts: 5
Posted: Fri, 2020-10-02 03:12

Could you provide details on how did you fixed this issue?

Thanks

  • Up0
  • Down0
joaofayad
Join Date: 24 Dec 20
Posts: 1
Posted: Thu, 2020-12-24 08:16

I had this issue on Ubuntu 20.04 and solved it with: sudo apt install gnome-themes-standard

It did not remove the warnings though.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.