cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE keeps crashing --EXC_BAD_ACCESS (SIGABRT)

x13000000tiy
Associate

I'm a complete beginner and I started off importing some projects with some problems with .settings (see picture. setting_error.png

Then, it crashed several times when I tried to compile /Build Project.
What's going on? The error message exceeds 20,000 characters and I can't post it all. I've deleted the binary images from the error.

Thank you for the help.

ERROR:

Process: STM32CubeIDE [70879]
Path: /Applications/STM32CubeIDE.app/Contents/MacOS/STM32CubeIDE
Identifier: STM32CubeIDE
Version: 1.15.0 (1.15.0)
Code Type: X86-64 (Native)
Parent Process: STM32CubeIDE [69196]
Responsible: STM32CubeIDE [69196]
User ID: 501

Date/Time: 2024-03-22 18:41:44.170 +0100
OS Version: Mac OS X 10.15.7 (19H2026)
Report Version: 12
Anonymous UUID: F8FA68BC-0843-D351-4076-DF3AD89551F6

Sleep/Wake UUID: CD0992E0-3CBF-46B0-A010-C1E0AC946A9D

Time Awake Since Boot: 23000 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x18:
-->
__TEXT 000000000acc7000-000000000accb000 [ 16K] r-x/r-x SM=COW /Applications/STM32CubeIDE.app/Contents/MacOS/STM32CubeIDE

Application Specific Information:
crashed on child side of fork pre-exec

Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00007fff67c9432a __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff67d50e60 pthread_kill + 430
2 libsystem_c.dylib 0x00007fff67c1b808 abort + 120
3 libjvm.dylib 0x000000000e42d391 os::abort(bool, void*, void const*) + 49
4 libjvm.dylib 0x000000000e695ac8 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 2984
5 libjvm.dylib 0x000000000e694eec VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 156
6 libjvm.dylib 0x000000000e695b71 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
7 libsystem_platform.dylib 0x00007fff67d455fd _sigtramp + 29
8 ??? 000000000000000000 0 + 0
9 libsystem_malloc.dylib 0x00007fff67d02cf5 malloc + 21
10 libsystem_c.dylib 0x00007fff67bba6a0 __Balloc_D2A + 127
11 libsystem_c.dylib 0x00007fff67bbaefd __d2b_D2A + 44
12 libsystem_c.dylib 0x00007fff67bb7b62 __dtoa + 294
13 libsystem_c.dylib 0x00007fff67bde2de __vfprintf + 3920
14 libsystem_c.dylib 0x00007fff67c04ad3 __v2printf + 475
15 libsystem_c.dylib 0x00007fff67beaee7 _vsnprintf + 417
16 libsystem_c.dylib 0x00007fff67beaf90 vsnprintf + 68
17 libjvm.dylib 0x000000000e42a8c2 os::vsnprintf(char*, unsigned long, char const*, __va_list_tag*) + 18
18 libjvm.dylib 0x000000000e42d968 outputStream::print(char const*, ...) + 248
19 libjvm.dylib 0x000000000e42a95b os::Posix::print_load_average(outputStream*) + 91
20 libjvm.dylib 0x000000000e425f32 os::print_os_info(outputStream*) + 162
21 libjvm.dylib 0x000000000e69469f VMError::report(outputStream*, bool) + 8207
22 libjvm.dylib 0x000000000e6955e5 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 1733
23 libjvm.dylib 0x000000000e694eec VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 156
24 libjvm.dylib 0x000000000e695b71 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
25 libsystem_platform.dylib 0x00007fff67d455fd _sigtramp + 29
26 ??? 000000000000000000 0 + 0
27 libsystem_malloc.dylib 0x00007fff67d02cf5 malloc + 21
28 libjvm.dylib 0x000000000e420961 os::malloc(unsigned long, MEMFLAGS, NativeCallStack const&) + 241
29 libjvm.dylib 0x000000000dcc8d37 AllocateHeap(unsigned long, MEMFLAGS, AllocFailStrategy::AllocFailEnum) + 103
30 libjvm.dylib 0x000000000dedca40 Decoder::demangle(char const*, char*, int) + 64
31 libjvm.dylib 0x000000000e4257e8 os::dll_address_to_function_name(unsigned char*, char*, int, int*, bool) + 120
32 libjvm.dylib 0x000000000e420f58 os::print_function_and_library_name(outputStream*, unsigned char*, char*, int, bool, bool, bool) + 104
33 libjvm.dylib 0x000000000e55b72d print_single_signal_handler(outputStream*, sigaction const*, char*, unsigned long) + 109
34 libjvm.dylib 0x000000000e55b55b PosixSignals::print_signal_handler(outputStream*, int, char*, unsigned long) + 107
35 libjvm.dylib 0x000000000e55bb34 os::print_signal_handlers(outputStream*, char*, unsigned long) + 52
36 libjvm.dylib 0x000000000e6945af VMError::report(outputStream*, bool) + 7967
37 libjvm.dylib 0x000000000e6955e5 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 1733
38 libjvm.dylib 0x000000000e694eec VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 156
39 libjvm.dylib 0x000000000e695b71 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
40 libsystem_platform.dylib 0x00007fff67d455fd _sigtramp + 29
41 ??? 000000000000000000 0 + 0
42 libsystem_malloc.dylib 0x00007fff67d02cf5 malloc + 21
43 libjvm.dylib 0x000000000e420961 os::malloc(unsigned long, MEMFLAGS, NativeCallStack const&) + 241
44 libjvm.dylib 0x000000000dcc8d37 AllocateHeap(unsigned long, MEMFLAGS, AllocFailStrategy::AllocFailEnum) + 103
45 libjvm.dylib 0x000000000e145397 JVMFlag::printFlags(outputStream*, bool, bool, bool) + 87
46 libjvm.dylib 0x000000000e6943fa VMError::report(outputStream*, bool) + 7530
47 libjvm.dylib 0x000000000e6955e5 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 1733
48 libjvm.dylib 0x000000000e694eec VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 156
49 libjvm.dylib 0x000000000e695b71 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
50 libsystem_platform.dylib 0x00007fff67d455fd _sigtramp + 29
51 ??? 000000000000000000 0 + 0
52 libsystem_malloc.dylib 0x00007fff67d02cf5 malloc + 21
53 libsystem_c.dylib 0x00007fff67bba6a0 __Balloc_D2A + 127
54 libsystem_c.dylib 0x00007fff67bbaefd __d2b_D2A + 44
55 libsystem_c.dylib 0x00007fff67bb7b62 __dtoa + 294
56 libsystem_c.dylib 0x00007fff67bde2de __vfprintf + 3920
57 libsystem_c.dylib 0x00007fff67c04ad3 __v2printf + 475
58 libsystem_c.dylib 0x00007fff67beaee7 _vsnprintf + 417
59 libsystem_c.dylib 0x00007fff67beaf90 vsnprintf + 68
60 libjvm.dylib 0x000000000e42a8c2 os::vsnprintf(char*, unsigned long, char const*, __va_list_tag*) + 18
61 libjvm.dylib 0x000000000e42d968 outputStream::print(char const*, ...) + 248
62 libjvm.dylib 0x000000000deb198c EventLogBase<FormatStringLogMessage<256ul> >::print_log_impl(outputStream*, int) + 668
63 libjvm.dylib 0x000000000deb166e EventLogBase<FormatStringLogMessage<256ul> >::print_log_on(outputStream*, int) + 158
64 libjvm.dylib 0x000000000df6aa9e Events::print_all(outputStream*, int) + 46
65 libjvm.dylib 0x000000000e6942ba VMError::report(outputStream*, bool) + 7210
66 libjvm.dylib 0x000000000e6955e5 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 1733
67 libjvm.dylib 0x000000000e694eec VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 156
68 libjvm.dylib 0x000000000e695b71 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
69 libsystem_platform.dylib 0x00007fff67d455fd _sigtramp + 29
70 ??? 000000000000000000 0 + 0
71 libsystem_malloc.dylib 0x00007fff67d02cf5 malloc + 21
72 libsystem_c.dylib 0x00007fff67bba6a0 __Balloc_D2A + 127
73 libsystem_c.dylib 0x00007fff67bbaefd __d2b_D2A + 44
74 libsystem_c.dylib 0x00007fff67bb7b62 __dtoa + 294
75 libsystem_c.dylib 0x00007fff67bde2de __vfprintf + 3920
76 libsystem_c.dylib 0x00007fff67c04ad3 __v2printf + 475
77 libsystem_c.dylib 0x00007fff67beaee7 _vsnprintf + 417
78 libsystem_c.dylib 0x00007fff67beaf90 vsnprintf + 68
79 libjvm.dylib 0x000000000e42a8c2 os::vsnprintf(char*, unsigned long, char const*, __va_list_tag*) + 18
80 libjvm.dylib 0x000000000e42d968 outputStream::print(char const*, ...) + 248
81 libjvm.dylib 0x000000000e3be239 metaspace::MetaspaceReporter::print_basic_report(outputStream*, unsigned long) + 121
82 libjvm.dylib 0x000000000e694212 VMError::report(outputStream*, bool) + 7042
83 libjvm.dylib 0x000000000e6955e5 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 1733
84 libjvm.dylib 0x000000000e694eec VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 156
85 libjvm.dylib 0x000000000e695b71 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
86 libsystem_platform.dylib 0x00007fff67d455fd _sigtramp + 29
87 ??? 0x000070000e64f5a0 0 + 123145543808416
88 libsystem_malloc.dylib 0x00007fff67d02cf5 malloc + 21
89 libjvm.dylib 0x000000000e420961 os::malloc(unsigned long, MEMFLAGS, NativeCallStack const&) + 241
90 libjvm.dylib 0x000000000e420701 os::strdup(char const*, MEMFLAGS) + 113
91 libjvm.dylib 0x000000000e5ce6a8 Symbol::print_symbol_on(outputStream*) const + 152
92 libjvm.dylib 0x000000000e3c87c2 Method::print_short_name(outputStream*) + 130
93 libjvm.dylib 0x000000000deb36ce CompileTask::print_impl(outputStream*, Method*, int, int, bool, int, bool, char const*, bool, bool, long, long) + 334
94 libjvm.dylib 0x000000000deb34c7 CompileTask::print(outputStream*, char const*, bool, bool) + 135
95 libjvm.dylib 0x000000000e624032 Threads::print_on_error(outputStream*, Thread*, char*, int) + 1106
96 libjvm.dylib 0x000000000e693ebc VMError::report(outputStream*, bool) + 6188
97 libjvm.dylib 0x000000000e6955e5 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 1733
98 libjvm.dylib 0x000000000e694eec VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 156
99 libjvm.dylib 0x000000000e695b71 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
[...]

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000070000e659000 rcx: 0x000070000e648ac8 rdx: 0x0000000000000000
rdi: 0x0000000000000303 rsi: 0x0000000000000006 rbp: 0x000070000e648af0 rsp: 0x000070000e648ac8
r8: 0x00000000000130a8 r9: 0x0000000000000000 r10: 0x000070000e659000 r11: 0x0000000000000246
r12: 0x0000000000000303 r13: 0x0000000000000000 r14: 0x0000000000000006 r15: 0x0000000000000016
rip: 0x00007fff67c9432a rfl: 0x0000000000000246 cr2: 0x00007fff8e672d28

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133



External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 14273
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=776.9M resident=0K(0%) swapped_out_or_unallocated=776.9M(100%)
Writable regions: Total=4.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=4.1G(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 1408K 11
CG backing stores 1104K 2
CG image 10.8M 385
CoreAnimation 368.5M 214
CoreGraphics 8K 1
CoreImage 304K 59
CoreUI image data 5148K 42
Foundation 28K 2
Image IO 9596K 110
JS JIT generated code 8K 2
JS VM Isolated Heap 604K 14
Kernel Alloc Once 8K 1
MALLOC 786.8M 129
MALLOC guard page 72K 13
MALLOC_MEDIUM (reserved) 1.7G 16 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 256.0M 1 reserved VM address space (unallocated)
Memory Tag 253 64.0G 5719
SQLite page cache 128K 2
STACK GUARD 16K 1
Stack 100.6M 108
Stack Guard 57.3M 163
VM_ALLOCATE 2.2G 2899
VM_ALLOCATE (reserved) 32.0M 2 reserved VM address space (unallocated)
WebKit Malloc 12.2M 22
__DATA 63.1M 511
__DATA_CONST 149K 10
__FONT_DATA 4K 1
__GLSLBUILTINS 5176K 1
__LINKEDIT 395.0M 44
__OBJC_RO 32.3M 1
__OBJC_RW 1908K 2
__TEXT 381.9M 482
__UNICODE 564K 1
libnetwork 1536K 16
mapped file 2.3G 931
shared memory 14.4M 48
=========== ======= =======
TOTAL 72.7G 11966
TOTAL, minus reserved VM space 70.7G 11966

Model: iMac19,1, BootROM 1731.140.1.0.0, 8 processors, 8-Core Intel Core i9, 3,6 GHz, 40 GB, SMC 2.46f13
Graphics: kHW_AMDRadeonPro575XItem, Radeon Pro 575X, spdisplays_pcie_device, 4 GB
Memory Module: BANK 0/ChannelA-DIMM0, 4 GB, DDR4, 2667 MHz, SK Hynix, HMA851S6CJR6N-VK
Memory Module: BANK 1/ChannelA-DIMM1, 16 GB, DDR4, 2667 MHz, 859B, CT16G4S266M.M16FJ
Memory Module: BANK 2/ChannelB-DIMM0, 4 GB, DDR4, 2667 MHz, SK Hynix, HMA851S6CJR6N-VK
Memory Module: BANK 3/ChannelB-DIMM1, 16 GB, DDR4, 2667 MHz, 859B, CT16G4S266M.M16FJ
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Oct 28 2020 13:06:41 version 9.30.357.42.32.5.48 FWID 01-4f9e2d7c
Bluetooth: Version 7.0.6f8, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD ST1000DM003, 1 TB
USB Device: USB 3.1 Bus
USB Device: Intuos S
USB Device: FaceTime HD Camera (Built-in)
Thunderbolt Bus: iMac, Apple Inc., 47.4




1 REPLY 1
Pavel A.
Evangelist III

The .settings usually is a folder created and used by Eclipse (that's, CubeIDE).

Normally it is not copied by project/example import operation (Import example... etc).

This means you're doing something unusual or in a wrong way. Please review instructions that you're following, or provide more details about "some projects with some problems".