"Got a SIGSEGV while executing native code" Ubuntu 14.04LTS

Discussion forum for the Picoscope 6 Linux software
Post Reply
berndpfrommer
Newbie
Posts: 0
Joined: Fri Aug 14, 2015 6:03 pm

"Got a SIGSEGV while executing native code" Ubuntu 14.04LTS

Post by berndpfrommer »

When measuring a simple single-channel square wave (trigger set to Auto), the picoscope application crashes after a short time (sometimes a few 10s of seconds, sometimes a few minutes).

Here some soft and hardware info:

PicoScope® 6 - PC Oscilloscope software version: 6.10.1.36
Copyright © 1995-2015, Pico Technology Ltd

Model: PicoScope 3205D MSO
Serial Number: CU655/009
USB Version: 3.0
Calibration Date: Wednesday, December 10, 2014
Hardware Version: 1
Driver Version: PS3000A Linux Driver, 1.4.4.45
Firmware Version: 1.2.0.0 / 1.0.17.0


I'm running ubuntu 14.04 LTS with the following kernel:

Linux enz 3.16.0-33-generic #44~14.04.1-Ubuntu SMP Fri Mar 13 10:33:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


After a slew of messages like these:
(PicoScope.GTK:8844): GLib-CRITICAL **: Source ID 94141 was not found when attempting to remove it

The application crashes with this stack trace:

Code: Select all

[New LWP 8880]
[New LWP 8878]
[New LWP 8877]
[New LWP 8876]
[New LWP 8875]
[New LWP 8874]
[New LWP 8872]
[New LWP 8871]
[New LWP 8867]
[New LWP 8866]
[New LWP 8865]
[New LWP 8864]
[New LWP 8863]
[New LWP 8862]
[New LWP 8861]
[New LWP 8860]
[New LWP 8859]
[New LWP 8858]
[New LWP 8857]
[New LWP 8856]
[New LWP 8853]
[New LWP 8851]
[New LWP 8850]
[New LWP 8849]
[New LWP 8848]
[New LWP 8846]
[New LWP 8845]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in 
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
81	../sysdeps/unix/syscall-template.S: No such file or directory.
  Id   Target Id         Frame 
  28   Thread 0x7f3f5d9ef700 (LWP 8845) "mono" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
  27   Thread 0x7f3f55039700 (LWP 8846) "mono" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  26   Thread 0x7f3f546df700 (LWP 8848) "mono" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  25   Thread 0x7f3f45a9a700 (LWP 8849) "dconf worker" 0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
  24   Thread 0x7f3f45299700 (LWP 8850) "gdbus" 0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
  23   Thread 0x7f3f4444b700 (LWP 8851) "mono" 0x00007f3f5fde4b9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
  22   Thread 0x7f3f3d2da700 (LWP 8853) "mono" 0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
  21   Thread 0x7f3f32ab5700 (LWP 8856) "mono" sem_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101
  20   Thread 0x7f3f32675700 (LWP 8857) "mono" 0x00007f3f5fb0ab13 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  19   Thread 0x7f3f32634700 (LWP 8858) "mono" sem_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101
  18   Thread 0x7f3f325f3700 (LWP 8859) "mono" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  17   Thread 0x7f3f323f2700 (LWP 8860) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  16   Thread 0x7f3f321f1700 (LWP 8861) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  15   Thread 0x7f3f319f0700 (LWP 8862) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  14   Thread 0x7f3f311ef700 (LWP 8863) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  13   Thread 0x7f3f309ee700 (LWP 8864) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  12   Thread 0x7f3f0ffff700 (LWP 8865) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  11   Thread 0x7f3f0f7fe700 (LWP 8866) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  10   Thread 0x7f3f0756c700 (LWP 8867) "gmain" 0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
  9    Thread 0x7f3f0edef700 (LWP 8871) "mono" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  8    Thread 0x7f3f05d69700 (LWP 8872) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  7    Thread 0x7f3f057f8700 (LWP 8874) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  6    Thread 0x7f3f04ff7700 (LWP 8875) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  5    Thread 0x7f3ef5fff700 (LWP 8876) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  4    Thread 0x7f3ef57fe700 (LWP 8877) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  3    Thread 0x7f3f06d6b700 (LWP 8878) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  2    Thread 0x7f3f047f6700 (LWP 8880) "mono" 0x00007f3f5fde4ee9 in __libc_waitpid (pid=pid@entry=19046, stat_loc=stat_loc@entry=0x7f3f5423e19c, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
* 1    Thread 0x7f3f608ee7c0 (LWP 8844) "mono" 0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81

Thread 28 (Thread 0x7f3f5d9ef700 (LWP 8845)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x000000000062f667 in mono_sem_wait (sem=sem@entry=0x982440 , alertable=alertable@entry=1) at mono-semaphore.c:119
#2  0x00000000005aba15 in finalizer_thread (unused=unused@entry=0x0) at gc.c:1073
#3  0x000000000058e34b in start_wrapper_internal (data=0x1bc7990) at threads.c:643
#4  start_wrapper (data=0x1bc7990) at threads.c:688
#5  0x000000000062410d in thread_start_routine (args=args@entry=0x1b4a408) at wthreads.c:294
#6  0x0000000000633ef5 in inner_start_thread (arg=0x1bc7ba0) at mono-threads-posix.c:49
#7  0x00007f3f5fddd182 in start_thread (arg=0x7f3f5d9ef700) at pthread_create.c:312
#8  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 27 (Thread 0x7f3f55039700 (LWP 8846)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x000000000060d80b in _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x40a, timeout=timeout@entry=0x7f3f550387f0, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1586
#2  0x0000000000620fd9 in WaitForSingleObjectEx (handle=0x40a, timeout=timeout@entry=759, alertable=alertable@entry=1) at wait.c:198
#3  0x000000000058d8ef in mono_wait_uninterrupted (thread=thread@entry=0x7f3f5dbd02e0, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f3f550388e8, waitall=waitall@entry=0, ms=ms@entry=759, alertable=1) at threads.c:1455
#4  0x000000000058f6b6 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=, handle=0x40a, ms=759, exitContext=) at threads.c:1587
#5  0x000000004125da38 in ?? ()
#6  0x00007f3f50002540 in ?? ()
#7  0x00007f3f5ec7c208 in ?? ()
#8  0x0000000000000002 in ?? ()
#9  0x00007f3f550389b0 in ?? ()
#10 0x00007f3f55038920 in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 26 (Thread 0x7f3f546df700 (LWP 8848)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x000000000060d80b in _wapi_handle_timedwait_signal_handle (handle=0x400, timeout=timeout@entry=0x7f3f546de200, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1586
#2  0x000000000060da76 in _wapi_handle_timedwait_signal (timeout=timeout@entry=0x7f3f546de200, poll=poll@entry=0) at handles.c:1526
#3  0x0000000000621a56 in WaitForMultipleObjectsEx (numobjects=numobjects@entry=2, handles=handles@entry=0x7f3f546de500, waitall=waitall@entry=0, timeout=timeout@entry=1000, alertable=alertable@entry=1) at wait.c:670
#4  0x000000000058d88d in mono_wait_uninterrupted (thread=thread@entry=0x7f3f5dbd0448, multiple=multiple@entry=1, numhandles=numhandles@entry=2, handles=handles@entry=0x7f3f546de500, waitall=waitall@entry=0, ms=ms@entry=1000, alertable=1) at threads.c:1453
#5  0x000000000058f558 in ves_icall_System_Threading_WaitHandle_WaitAny_internal (mono_handles=, ms=1000, exitContext=) at threads.c:1551
#6  0x0000000041e79da9 in ?? ()
#7  0x00007f3f48002540 in ?? ()
#8  0x00007f3f546de7d0 in ?? ()
#9  0x00007f3f500025c0 in ?? ()
#10 0x00007f3f546de7d0 in ?? ()
#11 0x00007f3f546de740 in ?? ()
#12 0x0000000000000000 in ?? ()

Thread 25 (Thread 0x7f3f45a9a700 (LWP 8849)):
#0  0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3f5ca6dfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3f5ca6e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3f45aa21ad in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f3f5ca92f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3f5fddd182 in start_thread (arg=0x7f3f45a9a700) at pthread_create.c:312
#6  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 24 (Thread 0x7f3f45299700 (LWP 8850)):
#0  0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3f5ca6dfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3f5ca6e30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3f4d884336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f3f5ca92f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3f5fddd182 in start_thread (arg=0x7f3f45299700) at pthread_create.c:312
#6  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 23 (Thread 0x7f3f4444b700 (LWP 8851)):
#0  0x00007f3f5fde4b9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000000062342b in SleepEx (ms=ms@entry=500, alertable=alertable@entry=1) at wthreads.c:842
#2  0x00000000005914f3 in monitor_thread (unused=unused@entry=0x0) at threadpool.c:779
#3  0x000000000058e34b in start_wrapper_internal (data=0x275b8a0) at threads.c:643
#4  start_wrapper (data=0x275b8a0) at threads.c:688
#5  0x000000000062410d in thread_start_routine (args=args@entry=0x1b4b218) at wthreads.c:294
#6  0x0000000000633ef5 in inner_start_thread (arg=0x275bbe0) at mono-threads-posix.c:49
#7  0x00007f3f5fddd182 in start_thread (arg=0x7f3f4444b700) at pthread_create.c:312
#8  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 22 (Thread 0x7f3f3d2da700 (LWP 8853)):
#0  0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3f3f5530c0 in ?? () from /lib/libusb-1.0.so.0
#2  0x00007f3f5fddd182 in start_thread (arg=0x7f3f3d2da700) at pthread_create.c:312
#3  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 21 (Thread 0x7f3f32ab5700 (LWP 8856)):
#0  sem_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101
#1  0x000000000062f74b in mono_sem_timedwait (sem=sem@entry=0x982148 , timeout_ms=timeout_ms@entry=2000, alertable=alertable@entry=1) at mono-semaphore.c:82
#2  0x0000000000594002 in async_invoke_thread (data=0x0, data@entry=0x982120 ) at threadpool.c:1565
#3  0x000000000058e34b in start_wrapper_internal (data=0x7f3f34002620) at threads.c:643
#4  start_wrapper (data=0x7f3f34002620) at threads.c:688
#5  0x000000000062410d in thread_start_routine (args=args@entry=0x1b4c1b8) at wthreads.c:294
#6  0x0000000000633ef5 in inner_start_thread (arg=0x7f3f34002690) at mono-threads-posix.c:49
#7  0x00007f3f5fddd182 in start_thread (arg=0x7f3f32ab5700) at pthread_create.c:312
#8  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 20 (Thread 0x7f3f32675700 (LWP 8857)):
#0  0x00007f3f5fb0ab13 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000000000591c2b in tp_epoll_wait (p=p@entry=0x9821e0 ) at ../../mono/metadata/tpool-epoll.c:118
#2  0x000000000058e34b in start_wrapper_internal (data=0x7f3f2004dbf0) at threads.c:643
#3  start_wrapper (data=0x7f3f2004dbf0) at threads.c:688
#4  0x000000000062410d in thread_start_routine (args=args@entry=0x1b4c5a0) at wthreads.c:294
#5  0x0000000000633ef5 in inner_start_thread (arg=0x7f3f2004dad0) at mono-threads-posix.c:49
#6  0x00007f3f5fddd182 in start_thread (arg=0x7f3f32675700) at pthread_create.c:312
#7  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 19 (Thread 0x7f3f32634700 (LWP 8858)):
#0  sem_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101
#1  0x000000000062f74b in mono_sem_timedwait (sem=sem@entry=0x982088 , timeout_ms=timeout_ms@entry=2000, alertable=alertable@entry=1) at mono-semaphore.c:82
#2  0x0000000000594002 in async_invoke_thread (data=0x0, data@entry=0x982060 ) at threadpool.c:1565
#3  0x000000000058e34b in start_wrapper_internal (data=0x7f3f2004dbf0) at threads.c:643
#4  start_wrapper (data=0x7f3f2004dbf0) at threads.c:688
#5  0x000000000062410d in thread_start_routine (args=args@entry=0x1b4c730) at wthreads.c:294
#6  0x0000000000633ef5 in inner_start_thread (arg=0x7f3f20041760) at mono-threads-posix.c:49
#7  0x00007f3f5fddd182 in start_thread (arg=0x7f3f32634700) at pthread_create.c:312
#8  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 18 (Thread 0x7f3f325f3700 (LWP 8859)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x000000000060d80b in _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x87d, timeout=timeout@entry=0x7f3f325f24d0, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1586
#2  0x0000000000620fd9 in WaitForSingleObjectEx (handle=0x87d, timeout=timeout@entry=100, alertable=alertable@entry=1) at wait.c:198
#3  0x00000000005af427 in mono_monitor_try_enter_internal (allow_interruption=1, ms=4294967295, obj=0x7f3f543a3e50) at monitor.c:635
#4  ves_icall_System_Threading_Monitor_Monitor_try_enter_with_atomic_var (obj=0x7f3f543a3e50, ms=4294967295, lockTaken=0x7f3f325f26af "") at monitor.c:1271
#5  0x000000004188ac49 in ?? ()
#6  0x00007f3f1c002540 in ?? ()
#7  0x0000000040d068e8 in ?? ()
#8  0x00007f3f047f6700 in ?? ()
#9  0x00007f3f325f26d0 in ?? ()
#10 0x00007f3f325f25d0 in ?? ()
#11 0x00007f3f2005a1e0 in ?? ()
#12 0x00007f3f543a3e50 in ?? ()
#13 0xffffffffffffffff in ?? ()
#14 0x00007f3f325f26af in ?? ()
#15 0x000000004188ab50 in ?? ()
#16 0x00007f3f325f3700 in ?? ()
#17 0x00007f3f543a3e50 in ?? ()
#18 0x00007f3f325f26af in ?? ()
#19 0x00007f3f5ec0c290 in ?? ()
#20 0x00007f3f5ec09940 in ?? ()
#21 0x000000004188aae8 in ?? ()
#22 0x00007f3f543a3e50 in ?? ()
#23 0x00007f3f325f26af in ?? ()
#24 0x00007f3f5ec092d0 in ?? ()
#25 0x000000004188aa8c in ?? ()
#26 0x00007f3f5ec0c250 in ?? ()
#27 0x00007f3f5ec092d0 in ?? ()
#28 0x00007f3f5ec099a8 in ?? ()
#29 0x00007f3f5ec092d0 in ?? ()
#30 0x00007f3f5ef89ea8 in ?? ()
#31 0x0000000040d07588 in ?? ()
#32 0x00007f3f543a3e50 in ?? ()
#33 0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f3f323f2700 (LWP 8860)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000060da1b in _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x442, timeout=timeout@entry=0x0, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1588
#2  0x000000000060da8b in _wapi_handle_wait_signal_handle (handle=handle@entry=0x442, alertable=alertable@entry=1) at handles.c:1533
#3  0x00000000006211cd in WaitForSingleObjectEx (handle=0x442, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:196
#4  0x000000000058d8ef in mono_wait_uninterrupted (thread=thread@entry=0x7f3f5dbd2770, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f3f323f1978, waitall=waitall@entry=0, ms=ms@entry=-1, alertable=1) at threads.c:1455
#5  0x000000000058f6b6 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=, handle=0x442, ms=-1, exitContext=) at threads.c:1587
#6  0x000000004125da38 in ?? ()
#7  0x00007f3f10002540 in ?? ()
#8  0x00007f3f5eed8ec0 in ?? ()
#9  0x00007f3f2c002620 in ?? ()
#10 0x00007f3f323f1a30 in ?? ()
#11 0x00007f3f323f19b0 in ?? ()
#12 0x00007f3f323f1d88 in ?? ()
#13 0x00007f3f5efae3d8 in ?? ()
#14 0x00007f3f5efae318 in ?? ()
#15 0x00007f3f5eed8e48 in ?? ()
#16 0x0000000040ac7e8c in ?? ()
#17 0x00007f3f5eed8e98 in ?? ()
#18 0x00007f3f5eed8e98 in ?? ()
#19 0x01007f3f2c002620 in ?? ()
#20 0x00007f3f323f1d88 in ?? ()
#21 0x00007f3f5efae3d8 in ?? ()
#22 0x0000000040d0144c in ?? ()
#23 0x00007f3f323f1a80 in ?? ()
#24 0x0000000040d01380 in ?? ()
#25 0x00007f3f5efae3d8 in ?? ()
#26 0x00007f3f543a2370 in ?? ()
#27 0x010000004125947d in ?? ()
#28 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f3f321f1700 (LWP 8861)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3353d35c in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3353b04a in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#5  0x00007f3f5fddd182 in start_thread (arg=0x7f3f321f1700) at pthread_create.c:312
#6  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 15 (Thread 0x7f3f319f0700 (LWP 8862)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3350a0c9 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3356b42e in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#5  0x00007f3f5fddd182 in start_thread (arg=0x7f3f319f0700) at pthread_create.c:312
#6  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 14 (Thread 0x7f3f311ef700 (LWP 8863)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3350f6a5 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f5fddd182 in start_thread (arg=0x7f3f311ef700) at pthread_create.c:312
#5  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 13 (Thread 0x7f3f309ee700 (LWP 8864)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f33509bf4 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3356b42e in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#5  0x00007f3f5fddd182 in start_thread (arg=0x7f3f309ee700) at pthread_create.c:312
#6  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 12 (Thread 0x7f3f0ffff700 (LWP 8865)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3350f6a5 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f5fddd182 in start_thread (arg=0x7f3f0ffff700) at pthread_create.c:312
#5  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 11 (Thread 0x7f3f0f7fe700 (LWP 8866)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3353b804 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f33537150 in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#5  0x00007f3f5fddd182 in start_thread (arg=0x7f3f0f7fe700) at pthread_create.c:312
#6  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7f3f0756c700 (LWP 8867)):
#0  0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3f5ca6dfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3f5ca6e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3f5ca6e129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3f5ca92f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3f5fddd182 in start_thread (arg=0x7f3f0756c700) at pthread_create.c:312
#6  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f3f0edef700 (LWP 8871)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x000000000060d80b in _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x87d, timeout=timeout@entry=0x7f3f0edee770, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1586
#2  0x0000000000620fd9 in WaitForSingleObjectEx (handle=0x87d, timeout=timeout@entry=100, alertable=alertable@entry=1) at wait.c:198
#3  0x00000000005af427 in mono_monitor_try_enter_internal (allow_interruption=1, ms=4294967295, obj=0x7f3f543a3e50) at monitor.c:635
#4  ves_icall_System_Threading_Monitor_Monitor_try_enter_with_atomic_var (obj=0x7f3f543a3e50, ms=4294967295, lockTaken=0x7f3f0edee96f "") at monitor.c:1271
#5  0x000000004188ac49 in ?? ()
#6  0x00007f3ef0002540 in ?? ()
#7  0x0000000041a07bb2 in ?? ()
#8  0x00007f3f047f6700 in ?? ()
#9  0x00007f3f0edee9b0 in ?? ()
#10 0x00007f3f0edee870 in ?? ()
#11 0x00007f3f2005a1e0 in ?? ()
#12 0x00007f3f543a3e50 in ?? ()
#13 0xffffffffffffffff in ?? ()
#14 0x00007f3f0edee96f in ?? ()
#15 0x000000004188ab50 in ?? ()
#16 0x00007f3f0edef700 in ?? ()
#17 0x00007f3f543a3e50 in ?? ()
#18 0x00007f3f0edee96f in ?? ()
#19 0x3e6e1094c0000000 in ?? ()
#20 0xc02e000000000000 in ?? ()
#21 0x000000004188aae8 in ?? ()
#22 0x00007f3f543a3e50 in ?? ()
#23 0x00007f3f0edee96f in ?? ()
#24 0xc02e000000000000 in ?? ()
#25 0x000000004188aa8c in ?? ()
#26 0x00007f3f500025c0 in ?? ()
#27 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3f05d69700 (LWP 8872)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000060da1b in _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x470, timeout=timeout@entry=0x0, alertable=alertable@entry=1, poll=poll@entry=0) at handles.c:1588
#2  0x000000000060da8b in _wapi_handle_wait_signal_handle (handle=handle@entry=0x470, alertable=alertable@entry=1) at handles.c:1533
#3  0x00000000006211cd in WaitForSingleObjectEx (handle=0x470, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:196
#4  0x000000000058d8ef in mono_wait_uninterrupted (thread=thread@entry=0x7f3f5dbd2a40, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f3f05d689b8, waitall=waitall@entry=0, ms=ms@entry=-1, alertable=1) at threads.c:1455
#5  0x000000000058f6b6 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=, handle=0x470, ms=-1, exitContext=) at threads.c:1587
#6  0x000000004125da38 in ?? ()
#7  0x00007f3ef8001320 in ?? ()
#8  0x00007f3f5ee6c148 in ?? ()
#9  0x00007f3f500025c0 in ?? ()
#10 0x00007f3f05d68a70 in ?? ()
#11 0x00007f3f05d689f0 in ?? ()
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f3f057f8700 (LWP 8874)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3350bad2 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f5fddd182 in start_thread (arg=0x7f3f057f8700) at pthread_create.c:312
#5  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f3f04ff7700 (LWP 8875)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3350bad2 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f5fddd182 in start_thread (arg=0x7f3f04ff7700) at pthread_create.c:312
#5  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f3ef5fff700 (LWP 8876)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3350bad2 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f5fddd182 in start_thread (arg=0x7f3ef5fff700) at pthread_create.c:312
#5  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f3ef57fe700 (LWP 8877)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3350bad2 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f5fddd182 in start_thread (arg=0x7f3ef57fe700) at pthread_create.c:312
#5  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f3f06d6b700 (LWP 8878)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f3357beb3 in ?? () from /opt/picoscope/lib/libps3000a.so
#2  0x00007f3f3350b304 in ?? () from /opt/picoscope/lib/libps3000a.so
#3  0x00007f3f3356b46e in ?? () from /opt/picoscope/lib/libps3000a.so
#4  0x00007f3f3357bbfa in ?? () from /opt/picoscope/lib/libps3000a.so
#5  0x00007f3f5fddd182 in start_thread (arg=0x7f3f06d6b700) at pthread_create.c:312
#6  0x00007f3f5fb0a47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f3f047f6700 (LWP 8880)):
#0  0x00007f3f5fde4ee9 in __libc_waitpid (pid=pid@entry=19046, stat_loc=stat_loc@entry=0x7f3f5423e19c, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x00000000004b7465 in mono_handle_native_sigsegv (signal=signal@entry=11, ctx=ctx@entry=0x7f3f5423eac0) at mini-exceptions.c:2299
#2  0x000000000050f13b in mono_arch_handle_altstack_exception (sigctx=sigctx@entry=0x7f3f5423eac0, fault_addr=, stack_ovf=stack_ovf@entry=0) at exceptions-amd64.c:908
#3  0x0000000000423d22 in mono_sigsegv_signal_handler (_dummy=11, info=0x7f3f5423ebf0, context=0x7f3f5423eac0) at mini.c:6769
#4  
#5  0x0000000041f56aa1 in ?? ()
#6  0x0000000041a03368 in ?? ()
#7  0x0000000041a031ad in ?? ()
#8  0x0000000041a031a4 in ?? ()
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3f608ee7c0 (LWP 8844)):
#0  0x00007f3f5fafd12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3f5ca6dfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3f5ca6e30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3f4e753447 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4  0x0000000041705b85 in ?? ()
#5  0x0000000001bbd990 in ?? ()
#6  0x00007f3f5ee97ee8 in ?? ()
#7  0x0000000000000000 in ?? ()

=================================================================
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.
=================================================================

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: "Got a SIGSEGV while executing native code" Ubuntu 14.04

Post by Martyn »

There is a new version of the software available in the repository 6.11.6

Can you try this version and see if it addresses the issue.
Martyn
Technical Support Manager

berndpfrommer
Newbie
Posts: 0
Joined: Fri Aug 14, 2015 6:03 pm

Re: "Got a SIGSEGV while executing native code" Ubuntu 14.04

Post by berndpfrommer »

I still get a continous stream of these:

(PicoScope.GTK:8844): GLib-CRITICAL **: Source ID 94141 was not found when attempting to remove it


But the application no longer crashes.

Unfortunately I no longer have the hardware setup to feed in exactly the same signal, but good enough for now.

The upgrade seems to have fixed the problem.

IgorLopez
Newbie
Posts: 0
Joined: Sat Jul 25, 2015 2:58 pm

Re: "Got a SIGSEGV while executing native code" Ubuntu 14.04

Post by IgorLopez »

In the same situation as bernd but with the latest SW:
6.11.6.33
Model: PicoScope 2204A
Serial Number: CV682/224
USB Version: 20,0
Calibration Date: den 19 maj 2015
Hardware Version: 17
Driver Version: PS2000 Linux Driver, 2.1.5.6
Also a constant stream of: GLib-CRITICAL **: Source ID xxxxxx was not found when attempting to remove it where xxxxxx increments rather fast.
The stacktrace was:

Code: Select all

*** Error in `/usr/bin/mono': double free or corruption (fasttop): 0x00007f1a24008670 ***
Stacktrace:

  at  <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_gc_alloc_vector (intptr,intptr,intptr) <0xffffffff>
  at (wrapper alloc) object.AllocVector (intptr,intptr) <0xffffffff>
  at qK.a (long) <0x0009f>
  at gG.Draw (bb,A) <0x0045b>
  at nC.DrawTo (System.Drawing.Graphics) <0x0009c>
  at aR.a (q,System.Drawing.Graphics,bool) <0x0019d>
  at J.Draw (System.Drawing.Color) <0x0018f>
  at lk.a () <0x000b4>
  at lm.a (aC) <0x0007b>
  at nV.DrawFrontBuffer () <0x00067>
  at kO.a (dY/a) <0x00310>
  at kO/<>c__DisplayClassf.b__d () <0x00017>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>
  at  <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000db>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x00032>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x00203>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x0003b>
  at System.Delegate.DynamicInvoke (object[]) <0x00020>
  at aM/a.b () <0x0002f>
  at (wrapper runtime-invoke) .runtime_invoke_object__this__ (object,intptr,intptr,intptr) <0xffffffff>
  at  <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000db>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x00032>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x00203>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x0003b>
  at System.Delegate.DynamicInvoke (object[]) <0x00020>
  at aJ.a () <0x00033>
  at aI.b () <0x00127>
  at GLib.Idle/IdleProxy.Handler () <0x0003f>
  at (wrapper native-to-managed) GLib.Idle/IdleProxy.Handler () <0xffffffff>
  at  <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000b>
  at aY.b () <0x00297>
  at i.a (System.Collections.Generic.List`1) <0x00035>
  at aY.a () <0x00617>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	/usr/bin/mono() [0x4b73d8]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f1a7620c340]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f1a75e6dcc9]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f1a75e710d8]
	/lib/x86_64-linux-gnu/libc.so.6(+0x73394) [0x7f1a75eaa394]
	/lib/x86_64-linux-gnu/libc.so.6(+0x7f66e) [0x7f1a75eb666e]
	/usr/bin/mono() [0x5a6c31]
	/usr/bin/mono() [0x631850]
	/usr/bin/mono() [0x631ec7]
	/usr/bin/mono() [0x5f4925]
	[0x416a3bf9]

Debug info from gdb:

Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operationen inte tillåten.
No threads.

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
I have been using the scope extensively over the summer but it has been quiet for the last few weeks and I remember seeing an update pass through during this time.

When the SW is run in demo mode (no HW connected) it does not crash.

Post Reply