# Segmentation fault while executing mender

**URL:** <https://hub.mender.io/t/segmentation-fault-while-executing-mender/396>\
**Category:** General Discussions\
**Tags:** segmentation-fault\
**Created:** [March 20, 2019, 1:51am UTC](https://hub.mender.io/t/segmentation-fault-while-executing-mender/396 "2019-03-20T01:51:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![shivashankar](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@shivashankar](https://hub.mender.io/u/shivashankar)\
**Post date:** [March 26, 2019, 2:37am UTC](https://hub.mender.io/t/segmentation-fault-while-executing-mender/396/4 "2019-03-26T02:37:03Z")

</div>

Hello Mirzak,

Thank you for replying.

I am producing the output you requested,

**$ readelf -A /usr/bin/mender**

Attribute Section: aeabi  
File Attributes  
Tag\_CPU\_name: “7-A”  
Tag\_CPU\_arch: v7  
Tag\_CPU\_arch\_profile: Application  
Tag\_ARM\_ISA\_use: Yes  
Tag\_THUMB\_ISA\_use: Thumb-2  
Tag\_FP\_arch: VFPv3  
Tag\_Advanced\_SIMD\_arch: NEONv1  
Tag\_ABI\_PCS\_wchar\_t: 4  
Tag\_ABI\_FP\_rounding: Needed  
Tag\_ABI\_FP\_denormal: Needed  
Tag\_ABI\_FP\_exceptions: Needed  
Tag\_ABI\_FP\_number\_model: IEEE 754  
Tag\_ABI\_align\_needed: 8-byte  
Tag\_ABI\_enum\_size: int  
Tag\_ABI\_VFP\_args: VFP registers  
Tag\_CPU\_unaligned\_access: v6

**$ file /usr/bin/mender**

/usr/bin/mender: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=f98599d13fd87825f50e6faa2991f4ceb0077c19, stripped

Its an issue with enabling GO binary. I have rectified it by enabling GO\_CROSS\_CGO\_ENABLED?=“1” in local.conf and used the version of go\_cross\_arm 1.8.1. The segmentation fault is now solved.

Thank you for the help.

---

_[View the full topic](https://hub.mender.io/t/segmentation-fault-while-executing-mender/396)._
