Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » 2024rc
Re: 2024rc3 [message #61128 is a reply to message #61109] Wed, 20 November 2024 20:42 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1430
Registered: December 2006
Ultimate Contributor
Latest src.
$ cat /etc/os-release 
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.12.12
PRETTY_NAME="Alpine Linux v3.12"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"

$ clang --version
Alpine clang version 10.0.0 (https://gitlab.alpinelinux.org/alpine/aports.git 7445adce501f8473efdb93b17b5eaf2f1445ed4c)
Target: x86_64-alpine-linux-musl
Thread model: posix
InstalledDir: /usr/bin

Application: CParser (.cache/upp.out/CLANG.Debug.Debug_Full.Shared/CParser)
$ ./CParser 
Segmentation fault

$ gdb ./CParser
#0  0x00005555555f34c8 in std::atomic<bool>::load (this=<error reading variable: Cannot access memory at address 0x7fffff7feff0>, 
    __m=<error reading variable: Cannot access memory at address 0x7fffff7fefec>)
    at /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../include/c++/9.3.0/atomic:113
#1  0x000055555560fcbf in Upp::StaticPrimitive_<Upp::Mutex>::Get (this=0x555555779a80 <Upp::Heap::mutex>) at Mt.h:326
#2  0x00005555556476d8 in Upp::StaticMutex::Enter (this=0x555555779a80 <Upp::Heap::mutex>) at Mt.h:333
#3  0x000055555564e4f0 in Upp::EnterHeapMutex () at sheap.cpp:377
#4  0x000055555564f9a4 in Upp::CurrentHeap::CurrentHeap (this=0x7fffff7ff0f8) at sheap.cpp:421
#5  0x000055555564e7a9 in Upp::MemoryAllocSz_ (sz=@0x7fffff7ff190: 60) at sheap.cpp:458
#6  0x00005555556534ad in Upp::MemoryAllocSz (size=@0x7fffff7ff190: 60) at heapdbg.cpp:142
#7  0x0000555555653572 in Upp::MemoryAlloc (size=60) at heapdbg.cpp:155
#8  0x0000555555652d39 in operator new (size=24) at heap.cpp:295
#9  0x00007ffff7e71440 in __cxa_thread_atexit () from /usr/lib/libstdc++.so.6
#10 0x000055555564e57b in Upp::MakeHeap () at sheap.cpp:403
#11 0x000055555564f9b0 in Upp::CurrentHeap::CurrentHeap (this=0x7fffff7ff288) at sheap.cpp:423
#12 0x000055555564e7a9 in Upp::MemoryAllocSz_ (sz=@0x7fffff7ff320: 60) at sheap.cpp:458
#13 0x00005555556534ad in Upp::MemoryAllocSz (size=@0x7fffff7ff320: 60) at heapdbg.cpp:142
#14 0x0000555555653572 in Upp::MemoryAlloc (size=60) at heapdbg.cpp:155
#15 0x0000555555652d39 in operator new (size=24) at heap.cpp:295
#16 0x00007ffff7e71440 in __cxa_thread_atexit () from /usr/lib/libstdc++.so.6
#17 0x000055555564e57b in Upp::MakeHeap () at sheap.cpp:403
#18 0x000055555564f9b0 in Upp::CurrentHeap::CurrentHeap (this=0x7fffff7ff418) at sheap.cpp:423
#19 0x000055555564e7a9 in Upp::MemoryAllocSz_ (sz=@0x7fffff7ff4b0: 60) at sheap.cpp:458
#20 0x00005555556534ad in Upp::MemoryAllocSz (size=@0x7fffff7ff4b0: 60) at heapdbg.cpp:142
#21 0x0000555555653572 in Upp::MemoryAlloc (size=60) at heapdbg.cpp:155
#22 0x0000555555652d39 in operator new (size=24) at heap.cpp:295
#23 0x00007ffff7e71440 in __cxa_thread_atexit () from /usr/lib/libstdc++.so.6
#24 0x000055555564e57b in Upp::MakeHeap () at sheap.cpp:403
#25 0x000055555564f9b0 in Upp::CurrentHeap::CurrentHeap (this=0x7fffff7ff5a8) at sheap.cpp:423
#26 0x000055555564e7a9 in Upp::MemoryAllocSz_ (sz=@0x7fffff7ff640: 60) at sheap.cpp:458
#27 0x00005555556534ad in Upp::MemoryAllocSz (size=@0x7fffff7ff640: 60) at heapdbg.cpp:142
#28 0x0000555555653572 in Upp::MemoryAlloc (size=60) at heapdbg.cpp:155
#29 0x0000555555652d39 in operator new (size=24) at heap.cpp:295
#30 0x00007ffff7e71440 in __cxa_thread_atexit () from /usr/lib/libstdc++.so.6
#31 0x000055555564e57b in Upp::MakeHeap () at sheap.cpp:403
#32 0x000055555564f9b0 in Upp::CurrentHeap::CurrentHeap (this=0x7fffff7ff738) at sheap.cpp:423
#33 0x000055555564e7a9 in Upp::MemoryAllocSz_ (sz=@0x7fffff7ff7d0: 60) at sheap.cpp:458
#34 0x00005555556534ad in Upp::MemoryAllocSz (size=@0x7fffff7ff7d0: 60) at heapdbg.cpp:142
#35 0x0000555555653572 in Upp::MemoryAlloc (size=60) at heapdbg.cpp:155
#36 0x0000555555652d39 in operator new (size=24) at heap.cpp:295
#37 0x00007ffff7e71440 in __cxa_thread_atexit () from /usr/lib/libstdc++.so.6
#38 0x000055555564e57b in Upp::MakeHeap () at sheap.cpp:403
#39 0x000055555564f9b0 in Upp::CurrentHeap::CurrentHeap (this=0x7fffff7ff8c8) at sheap.cpp:423
#40 0x000055555564e7a9 in Upp::MemoryAllocSz_ (sz=@0x7fffff7ff960: 60) at sheap.cpp:458
#41 0x00005555556534ad in Upp::MemoryAllocSz (size=@0x7fffff7ff960: 60) at heapdbg.cpp:142
#42 0x0000555555653572 in Upp::MemoryAlloc (size=60) at heapdbg.cpp:155
#43 0x0000555555652d39 in operator new (size=24) at heap.cpp:295
#44 0x00007ffff7e71440 in __cxa_thread_atexit () from /usr/lib/libstdc++.so.6

I understand that this is an old version of a compiler. But if I roll back Upp source code approximately four years back, then everything works just fine.


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DarkTheme function parameters changed
Next Topic: 2024rc5
Goto Forum:
  


Current Time: Thu Aug 14 18:48:45 CEST 2025

Total time taken to generate the page: 0.17919 seconds