Good morning, 

I have an issue that I don't understand with a compiled go binary I am 
developing. 

I have compiled the binary correctly in my dev machine. It's working in a 
lot of other systems (linux i386, x86_64) except in this one [1] (sadly the 
prod one...) 

I think the problem is related to the production server, an OpenStack Nova 
KVM instance or something...

When I try to launch my binary (compiled with `go build ... `) inside this 
machine I get this response:

# ./UFWAnalyzer 
Trace/breakpoint trap (core dumped)

This is the "file" of the binary

# file UFWAnalyzer 
main: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically 
linked, stripped

And this is what I got when I try to debug the core dump:

# gdb UFWAnalyzer core 
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from UFWAnalyzer...(no debugging symbols found)...done.
[New LWP 2984]
Core was generated by `./UFWAnalyzer'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  0x00000000004532d3 in ?? ()
(gdb)

Any ideas why this is not working... ?  :-(
thanks in advance!
AAR



[1] SYSTEM information:

# uname -a
Linux hostname 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 
2018 x86_64 x86_64 x86_64 GNU/Linux


# lshw -class system
    description: Computer
    product: OpenStack Nova
    vendor: OpenStack Foundation
    version: 14.0.10
    serial: ##########...
    width: 64 bits
    capabilities: smbios-2.8 dmi-2.8 vsyscall32
    configuration: boot=normal family=Virtual Machine uuid=######...


# lscpu 
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             2
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 60
Model name:            Intel Core Processor (Haswell, no TSX)
Stepping:              1
CPU MHz:               2399.990
BogoMIPS:              4799.98
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
NUMA node0 CPU(s):     0,1
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm 
constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid 
sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c 
rdrand hypervisor lahf_lm abm invpcid_single kaiser fsgsbase bmi1 avx2 smep 
bmi2 erms invpcid xsaveopt arat





-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to