Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trace/breakpoint trap (core dumped) on Ubuntu 22 #12305

Closed
DanielRuf opened this issue Mar 24, 2024 · 6 comments
Closed

Trace/breakpoint trap (core dumped) on Ubuntu 22 #12305

DanielRuf opened this issue Mar 24, 2024 · 6 comments

Comments

@DanielRuf
Copy link

I get the mentioned error on a server with Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-89-generic x86_64) and the following CPU:

Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         46 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  20
  On-line CPU(s) list:   0-19
Vendor ID:               GenuineIntel
  Model name:            13th Gen Intel(R) Core(TM) i5-13500
    CPU family:          6
    Model:               191
    Thread(s) per core:  2
    Core(s) per socket:  14
    Socket(s):           1
    Stepping:            2
    CPU max MHz:         4800,0000
    CPU min MHz:         800,0000
    BogoMIPS:            4992.00
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_
                         tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sd
                         bg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb 
                         stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt
                          sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req umip pku ospke wai
                         tpkg gfni vaes vpclmulqdq tme rdpid movdiri movdir64b fsrm md_clear serialize pconfig arch_lbr flush_l1d arch_capabilities
Virtualization features: 
  Virtualization:        VT-x
Caches (sum of all):     
  L1d:                   544 KiB (14 instances)
  L1i:                   704 KiB (14 instances)
  L2:                    11,5 MiB (8 instances)
  L3:                    24 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-19
Vulnerabilities:         
  Gather data sampling:  Not affected
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Not affected
  Spec rstack overflow:  Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Not affected
  Tsx async abort:       Not affected

What version of Hugo are you using (hugo version)?

$ hugo version
0.124.1

Does this issue reproduce with the latest release?

yes

@jmooring
Copy link
Member

Do you have a reproducible example? From the above, it looks like hugo version doesn't error. I've built many sites with v0.124.1 on Ubuntu 22.04.4 LTS without any trouble.

@DanielRuf
Copy link
Author

The hugo version command was run on my laptop (also Ubuntu 22 LTS but AMD CPU), on the server (Ubuntu 22 LTS, Intel CPU) any hugo command throws the error.

@DanielRuf
Copy link
Author

On the server ./hugo version (the binary for x64) results in Trace/breakpoint trap (core dumped). No other output is shown.

@jmooring
Copy link
Member

jmooring commented Mar 25, 2024

This appears to be something unique to your environment.

I created an Ubuntu Server (minimal) 22.04.4 LTS virtual machine using VMware Workstation Player, then installed:

https://github.com/gohugoio/hugo/releases/download/v0.124.1/hugo_extended_0.124.1_linux-amd64.tar.gz

Hugo runs without error.

I have not tested this with a bare metal install, but with ~100K Linux downloads I suspect we would have heard about this before now.

image

@DanielRuf
Copy link
Author

Ok, thanks for investigating this and letting me know, that it is nor reproducible.

I will close here, since I have now switched to the snap package and use the absolute path to the hugo binary from it.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants