Forums - SIGSEGV running Snapdragon Profiler on Ubuntu 18.04 LTS

1 post / 0 new
SIGSEGV running Snapdragon Profiler on Ubuntu 18.04 LTS
jeffrey.creswell
Join Date: 15 Sep 20
Posts: 4
Posted: Tue, 2020-09-15 14:44

I'm getting a crash when running run_sdp.sh:

stack trace:

Quote:

(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",

 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.272: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.273: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.273: Unable to locate theme engine in module_path: "xamarin",
 
(SnapdragonProfiler:32324): Gtk-WARNING **: 17:25:14.273: Unable to locate theme engine in module_path: "xamarin",
 
=================================================================
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.
=================================================================
 
=================================================================
Native stacktrace:
=================================================================
0x5566de3b2229 - mono : 
0x5566de3b25a9 - mono : 
0x5566de35e7c4 - mono : 
0x5566de3abbe5 - mono : 
0x7fc90095dab0 - /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 : 
0x7fc90095ef25 - /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 : g_build_filename
0x7fc902b74b0a - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : 
0x7fc902b77668 - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : gtk_rc_find_pixmap_in_path
0x7fc902b79b86 - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : 
0x7fc902b79fb5 - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : 
0x7fc902b7a2d3 - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : 
0x7fc902b7a395 - /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 : gtk_rc_parse
0x41cc2ba3 - Unknown
 
=================================================================
Telemetry Dumper:
=================================================================
Pkilling 0x140501322450688x from 0x140501392731968x
Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)
Entering thread summarizer pause from 0x140501392731968x
Finished thread summarizer pause from 0x140501392731968x.
Failed to create breadcrumb file (null)/crash_hash_0x239c43687
 
Waiting for dumping threads to resume
 
=================================================================
External Debugger Dump:
=================================================================
[New LWP 32326]
[New LWP 32327]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fc906f7624a in __waitpid (pid=32333, stat_loc=0x7ffdf24ed854, 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 0x7fc9079aaf40 (LWP 32324) "mono" 0x00007fc906f7624a in __waitpid (pid=32333, stat_loc=0x7ffdf24ed854, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
  2    Thread 0x7fc905bff700 (LWP 32326) "SGen worker" 0x00007fc906f719f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5566de9801a8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  3    Thread 0x7fc9036a4700 (LWP 32327) "Finalizer" 0x00007fc906f746e6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x5566de971460) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
 
Thread 3 (Thread 0x7fc9036a4700 (LWP 32327)):
#0  0x00007fc906f746e6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x5566de971460) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  0x00007fc906f746e6 in do_futex_wait (sem=sem@entry=0x5566de971460, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007fc906f747d8 in __new_sem_wait_slow (sem=0x5566de971460, abstime=0x0) at sem_waitcommon.c:181
#3  0x00005566de58d638 in  ()
#4  0x00005566de54bdac in  ()
#5  0x00007fc906f6b6db in start_thread (arg=0x7fc9036a4700) at pthread_create.c:463
#6  0x00007fc906355a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 
Thread 2 (Thread 0x7fc905bff700 (LWP 32326)):
#0  0x00007fc906f719f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5566de9801a8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fc906f719f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5566de9801c0, cond=0x5566de980180) at pthread_cond_wait.c:502
#2  0x00007fc906f719f3 in __pthread_cond_wait (cond=0x5566de980180, mutex=0x5566de9801c0) at pthread_cond_wait.c:655
#3  0x00005566de5ea61a in  ()
#4  0x00007fc906f6b6db in start_thread (arg=0x7fc905bff700) at pthread_create.c:463
#5  0x00007fc906355a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 
Thread 1 (Thread 0x7fc9079aaf40 (LWP 32324)):
#0  0x00007fc906f7624a in __waitpid (pid=32333, stat_loc=0x7ffdf24ed854, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x00005566de3b2482 in  ()
#2  0x00005566de3b25a9 in  ()
#3  0x00005566de35e7c4 in  ()
#4  0x00005566de3abbe5 in  ()
#5  0x00007fc90095dab0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fc90095ef25 in g_build_filename () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fc902b74b0a in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8  0x00007fc902b77668 in gtk_rc_find_pixmap_in_path () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9  0x00007fc902b79b86 in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#10 0x00007fc902b79fb5 in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x00007fc902b7a2d3 in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007fc902b7a395 in gtk_rc_parse () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x0000000041cc2ba3 in  ()
#14 0x00007ffdf24eeda0 in  ()
#15 0x00005566dea26498 in  ()
#16 0x00007ffdf24eec08 in  ()
#17 0x00007ffdf24eeda0 in  ()
#18 0x00005566deb2ff40 in  ()
#19 0x00005566dec79210 in  ()
#20 0x0000000041cc29e1 in  ()
#21 0x00005566dea44570 in  ()
#22 0x00007ffdf24eeb30 in  ()
#23 0x00007ffdf24ee9c0 in  ()
#24 0x00005566dea1d5b0 in  ()
#25 0x0000000041cc29d0 in  ()
#26 0x0000000041cb8000 in  ()
#27 0x0000000041cb80a8 in  ()
#28 0x00005566deade0e0 in  ()
#29 0x00005566deae39a0 in  ()
#30 0x00005566deade0e0 in  ()
#31 0x00005566de981b60 in  ()
#32 0x00007ffdf24eee00 in  ()
#33 0x0000000041cb8a50 in  ()
#34 0x00005566deae3920 in  ()
#35 0x00005566de3b920b in  ()
#36 0x00005566de325a00 in  ()
#37 0x00005566de32766b in  ()
#38 0x00005566de52048c in  ()
#39 0x00005566de52360f in  ()
#40 0x00005566de331672 in mono_jit_exec ()
#41 0x00005566de332f46 in mono_main ()
#42 0x00005566de321f6c in  ()
#43 0x00007fc906255b97 in __libc_start_main (main=0x5566de321e50, argc=2, argv=0x7ffdf24ef208, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdf24ef1f8) at ../csu/libc-start.c:310
#44 0x00005566de32258a in _start ()
 
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7fc90095dab0):0x7fc90095daa0  48 8b 04 c1 48 89 44 24 08 8d 46 01 89 44 24 10  H...H.D$..F..D$.
0x7fc90095dab0  41 80 3e 00 74 44 8b 4c 24 30 85 c9 0f 85 7e 00  A.>.tD.L$0....~.
0x7fc90095dac0  00 00 4c 89 f7 e8 86 2b fe ff 49 8d 2c 06 4c 39  ..L....+..I.,.L9
0x7fc90095dad0  f5 74 27 8b 44 24 14 85 c0 0f 84 49 01 00 00 48  .t'.D$.....I...H
 
=================================================================
Managed Stacktrace:
=================================================================
  at <unknown> <0xffffffff>
  at Gtk.Rc:gtk_rc_parse <0x00092>
  at Gtk.Rc:Parse <0x000cf>
  at Sdp.MainClass:Main <0x000a7>
  at <Module>:runtime_invoke_void_object <0x00091>
=================================================================
 

 

crash dump JSON:

Quote:

{

  "protocol_version" : "0.0.6",
  "configuration" : {
    "version" : "(6.12.0.90) (tarball)",
    "tlc" : "__thread",
    "sigsgev" : "altstack",
    "notifications" : "epoll",
    "architecture" : "amd64",
    "disabled_features" : "none",
    "smallconfig" : "disabled",
    "bigarrays" : "disabled",
    "softdebug" : "enabled",
    "interpreter" : "enabled",
    "llvm_support" : "610",
    "suspend" : "hybrid"
  },
  "memory" : {
    "minor_gc_time" : "0",
    "major_gc_time" : "0",
    "minor_gc_count" : "0",
    "major_gc_count" : "0",
    "major_gc_time_concurrent" : "0"
 },
  "threads" : [
 {
    "is_managed" : false,
    "offset_free_hash" : "0x0",
    "offset_rich_hash" : "0x0",
    "crashed" : false,
    "native_thread_id" : "0x7fc9036a4700",
    "thread_info_addr" : "0x7fc8fc000b20",
    "thread_name" : "Finalizer",
    "ctx" : {
      "IP" : "0x7fc906f746e6",
      "SP" : "0x7fc9036a3d00",
      "BP" : "0x5566de971460"
  },
    "unmanaged_frames" : [
  {
      "is_managed" : "false",
      "native_address" : "0x5566de35c459",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x5566de5420f9",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x5566de543435",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x5566de54c497",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x5566de3b1685",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x7fc906f768a0",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x7fc906f746e6",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x7fc906f747d8",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x5566de58d638",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x5566de54bdac",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x7fc906f6b6db",
      "native_offset" : "0x00000"
   }
,
  {
      "is_managed" : "false",
      "native_address" : "0x7fc906355a3f",
      "native_offset" : "0x00000"
   }
 
  ]
 },
 {
    "is_managed" : true,
    "offset_free_hash" : "0x239c435ed",
    "offset_rich_hash" : "0x239c43687",
    "crashed" : true,
    "native_thread_id" : "0x7fc9079aaf40",
    "thread_info_addr" : "0x5566dea1d5b0",
    "thread_name" : "mono",
    "ctx" : {
      "IP" : "0x7fc90095dab0",
      "SP" : "0x7ffdf24ee590",
      "BP" : "0x5566dec23fb0"
  },
    "managed_frames" : [
  {
      "is_managed" : "false",
      "native_address" : "unregistered"
   }
,
  {
      "is_managed" : "true",
      "guid" : "7AAB76E8-7BCE-48A4-B45C-F7FA613CB70C",
      "token" : "0x00000",
      "native_offset" : "0x0",
      "filename" : "gtk-sharp.dll",
      "sizeofimage" : "0x164000",
      "timestamp" : "0x0",
      "il_offset" : "0x0000b"
   }
,
  {
      "is_managed" : "true",
      "guid" : "7AAB76E8-7BCE-48A4-B45C-F7FA613CB70C",
      "token" : "0x6002448",
      "native_offset" : "0x0",
      "filename" : "gtk-sharp.dll",
      "sizeofimage" : "0x164000",
      "timestamp" : "0x0",
      "il_offset" : "0x00056"
   }
,
  {
      "is_managed" : "true",
      "guid" : "7EE4D9D1-E5B1-4E23-AA61-B9FF4E8224E2",
      "token" : "0x6000328",
      "native_offset" : "0x0",
      "filename" : "SnapdragonProfiler.exe",
      "sizeofimage" : "0xcc000",
      "timestamp" : "0x5ed8006b",
      "il_offset" : "0x0000f"
   }
,
  {
      "is_managed" : "true",
      "guid" : "7EE4D9D1-E5B1-4E23-AA61-B9FF4E8224E2",
      "token" : "0x00000",
      "native_offset" : "0x0",
      "filename" : "SnapdragonProfiler.exe",
      "sizeofimage" : "0xcc000",
      "timestamp" : "0x5ed8006b",
      "il_offset" : "0x0002a"
   }
 
  ],
  "unmanaged_frames" : [
 {
    "is_managed" : "false",
    "native_address" : "0x5566de35c459",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x5566de5420f9",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x5566de543435",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x5566de54c5fc",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x5566de3b2397",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x5566de3b25a9",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x5566de35e7c4",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x5566de3abbe5",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x7fc90095dab0",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x7fc90095ef25",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x7fc902b74b0a",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x7fc902b77668",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x7fc902b79b86",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x7fc902b79fb5",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x7fc902b7a2d3",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "false",
    "native_address" : "0x7fc902b7a395",
    "native_offset" : "0x00000"
  }
,
 {
    "is_managed" : "true",
    "guid" : "7AAB76E8-7BCE-48A4-B45C-F7FA613CB70C",
    "token" : "0x00000",
    "native_offset" : "0x0",
    "filename" : "gtk-sharp.dll",
    "sizeofimage" : "0x164000",
    "timestamp" : "0x0",
    "il_offset" : "0x00000"
  }
 
 ]
}
]

}

mono version info:

Quote:

Mono JIT compiler version 6.12.0.90 (tarball Fri Sep  4 14:01:23 UTC 2020)

Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug 
Interpreter:   yes
LLVM:          yes(610)
Suspend:       hybrid

GC:            sgen (concurrent by default)

JRE info:

Quote:

openjdk version "11.0.8" 2020-07-14

OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)

OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)

libc++abi1 is already the newest version (6.0-2)

libc++1 is already the newest version (6.0-2)

Which version of gtk-sharp should I have?  I have both gtk-sharp2 and gtk-sharp3 installed.

  • Up0
  • Down0

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.