Fatal signal 11 (SIGSEGV) while running project - android-ndk

I have a weird error and I can't find where it comes from. The only thing that appears in the logcat is :
01-10 17:07:10.665: A/libc(20449): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)

Related

node-rdkafka is throwing segmentation fault

I am trying to migrate the Kafka library being used in my application from kafka-node to node-rdkafka. My application is running on EC2 with Ubuntu 14 version and the node version is 12.14.0. I have tried two version's of node-rdkafka (2.10.0 & 2.10.1). Both the versions are throwing segmentation fault while deployment.
This is the error I am getting in gdb
Thread 16 "rdk:broker-1" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffce7fc700 (LWP 32445)]
0x00007fffdd81ba9b in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
What could be the possible cause for this issue?

Python 3.7.0 and tcl/tk 8.6 crashing on Mac OS X 10.12.6

I'm trying to run a script under IDLE in a fresh install of Python 3.7.0 on a Mac running OS 10.12.6, but it appears to crash once it hits "root = Tk()".
The error generated is:
Process: Python [877]
Path: /Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 3.7.0 (3.7.0)
Code Type: X86-64 (Native)
Parent Process: Python [872]
Responsible: Python [877]
User ID: 501
Date/Time: 2018-08-08 08:58:47.934 -0400
OS Version: Mac OS X 10.12.6 (16G1510)
Report Version: 12
Anonymous UUID: F9CEC001-40B2-1F01-C918-48794CEB9A07
Sleep/Wake UUID: 6743F7F2-F98A-4114-8742-809CF7F2C43B
Time Awake Since Boot: 22000 seconds
Time Since Wake: 5400 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x7fba344e3f60'
abort() called
terminating with uncaught exception of type NSException
I have interrogated the tcl/tk library using:
print(root.tk.exprstring('$tcl_library'))
print(root.tk.exprstring('$tk_library'))
This reports the following:
/Library/Frameworks/Python.framework/Versions/3.7/lib/tcl8.6
/Library/Frameworks/Python.framework/Versions/3.7/lib/tk8.6
This appears to be correct given the information on Python.org here.
What should I be doing differently?

Xamarin.ios app is crashing in iOS 11 - Exception Type EXC_BAD_ACCESS (SIGABRT)

This app is build in Xamarin Studio 6.3 (Build 864) crashes at one instance. However, it does not crash every time but after some 4-5 scenarios it gets the crashed. And moreover, we are finding the crash report only with iOS 11. In iOS 10 it is working fine.
Please find the Device logs below:
Incident Identifier: xxxxxx-xxxx-xxxx-9669-xxxxxx
CrashReporter Key: f9b347e7d0fa5f1571ff3d0a8d91f0d5bb0d1224
Hardware Model: iPad4,8
Date/Time: 2017-09-26 16:12:50.8723 +0530
Launch Time: 2017-09-26 16:11:03.9085 +0530
OS Version: iPhone OS 11.0 (15A372)
Baseband Version: 8.01.00
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000010
VM Region Info: 0x10 is not in any region. Bytes before following region: 4307550192
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 0000000100c00000-0000000100c04000 [ 16K] r-x/r-x SM=COW ...p/xxxxxx]
Triggered by Thread: 0
Application Specific Information:
abort() called
Filtered syslog:
None found
Thread 0 name: tid_303 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:

SKMapViewHolder crashes on Nexus 5

After adding the libraries to the project and instantiating everything according to the getting started guide (http://developer.skobbler.com/getting-started/android#) and the demo (http://developer.skobbler.com/support#download) I am running into some strange problems.
After adding the SKMapViewHolder to an activity, the app crashes and logcat returns the following:
06-05 14:22:48.388 1976-2013/com.x.app E/Adreno-ES11﹕ <qglDrvAPI_glDeleteTextures:371>: GL_INVALID_VALUE
06-05 14:22:48.388 1976-2013/com.x.app A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 2013 (Thread-885)
This is happening on a USB Nexus 5 and N5 emulator. On running it with an N7 (2012) emulator it's just returning the second libc error.

Petsc doesn't show where in the code the error occurs

Without Petsc, I can see which files, which functions, and which lines an error occurs and is propagated from. With Petsc, I always receive the same error message.
Is there any flag in Petsc that I'm missing?
Thanks.
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[0]PETSC ERROR: likely location of problem given in stack below
[0]PETSC ERROR: --------------------- Stack Frames ------------------------------------
[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
[0]PETSC ERROR: INSTEAD the line number of the start of the function
[0]PETSC ERROR: is given.
[0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: Signal received!
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 8, Thu Mar 17 13:37:48 CDT 2011
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: ./solver on a linux named ion by khoa Sun Apr 10 23:29:33 2011
[0]PETSC ERROR: Libraries linked from /h1/khoa/libs/petsc-3.1/linux/lib
[0]PETSC ERROR: Configure run at Sun Apr 10 17:52:52 2011
[0]PETSC ERROR: Configure options --with-scalar-type=complex --with-clanguage=c++ --with-mpi=1 --with-mpi-dir=/usr/bin
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
Your code has generated a SEGV, probably by illegally accessing memory. As the error message recommends, you should run using valgrind or gdb, which will allow you to see the stack.

Resources