Comments (4)
-link-defaultlib-debug
links against unoptimized druntime/Phobos with debuginfos; I'd try that as first thing.
from ldc.
Any tips on how to debug this issue to be able to provide more information or come up with a reduced test case?
If it reproduces, you can use dustmite (you'll have to write a simple script) and then just let the PC do the work for you (walk away from the machine ;)).
from ldc.
After 16+ hours dustmite finished. Unfortunately the reduced test case is for another exception, but the result is still the same: uncaught exception reached top of stack
. It's still quite a large reduced test, which depends on libclang. The problem might be that it goes through a couple of C++ frames. If anyone wants to take a look at this, I've attached the result of dustmite as a zip file [1]. You need to link with libclang and the LLVM libraries. I've linked with the static libraries. Since the upstream releases don't ship with a static version of libclang I've compiled my own available here [2]. It should work to use the dynamic library as well. You need to either manually edit linker_flags.txt
or run the configure
script. Then to reproduce the actual issue run: dub --verror --config=test-unit
.
I'll try to manually reduce it further.
[1] dstep.zip
[2] https://github.com/jacob-carlborg/clang-builder/releases/tag/v15.0.7%2B0.0.2-rc2
from ldc.
I've managed to reduce it further, but it still depends on libclang.
from ldc.
Related Issues (20)
- ldc ignore mtriple when use with --fsanitize=address HOT 1
- libLTO-ldc.dylib missing in 1.36 Release for osx-arm64 HOT 2
- DWARF for static members are wrong HOT 2
- ICE on `&(foo[])[0]`
- 'Instruction does not dominate all uses' wrt. ternary expressions using array literals HOT 1
- undefined reference to `llvm::SampleContextTracker::getContextString[abi:cxx11](llvm::sampleprof::FunctionSamples const&) const' HOT 2
- LDC-src Build: C++ ABI broken HOT 4
- linkonce-templates bugs HOT 2
- llvm 18 HOT 6
- Tests fail on Gentoo HOT 1
- ASan regression on Windows with MSVC 14.38.33130 HOT 1
- LDC 1.37.0 is missing FreeBSD binaries HOT 6
- Possible memory corruption in GarbageCollect2Stack pass HOT 6
- Re-enable frame pointers for optimized code
- undefined symbol on hidden function: LDC should detect usage of symbols in inline assembly for LTO builds and keep them HOT 4
- [Feature Request] Non-constant static initialized nested delegate literal expression better error message HOT 13
- Test failures on linux aarch64 HOT 3
- [x86] segmentation fault with aligned struct parameters HOT 5
- GC Memory leak HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldc.