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)
- Cross-compilation targets aren't respected when preprocessing C files with `clang-cl` (on Windows). HOT 1
- LDC sets both never-inline and always-inline on inline functions containing DMD-style inline assembly. HOT 3
- Assertion failure when a struct contains a struct which contains bit fields spanning [17, 25) or [33, 57) bits. HOT 2
- Bad codegen for comparison with postfix HOT 5
- ld: Assertion failed: (0 && "lto symbol should not be in layout"), function symbolForAtom, file Layout.cpp, line 1381. HOT 3
- LDC bug (regression) in 1.37.0 when attempting to use std.net.curl.HTTP.responseHeaders HOT 3
- `--x86-asm-syntax=intel` option not documented HOT 2
- Memory sanitizer doesn't appear to be compiled with -fPIC on linux HOT 1
- LDC 1.38.0 crash on default parameter with `new` HOT 2
- WebAssembly: doesn't support emscripten data layout HOT 1
- lit test broken for Python >= 3.12 HOT 2
- core.stdc.stdlib.d is missing some type definitions for wasm32-unknown-unknown-wasm target HOT 5
- Memory leak in rt.minfo according to ASAN HOT 3
- Time trace large amounts of time spent in writing of files HOT 8
- stat_t has wrong size for Android armv7a HOT 2
- Struct with constructor in member returned using pointer on Windows x64 HOT 1
- Segmentation fault: ldc2 compiled tinyscheme-1.42 (DMD works fine) HOT 1
- No error when using params in @naked functions HOT 4
- Shadowed static assert error in the compiler output HOT 8
- musl libc requires `-link-defaultlib-debug -frame-pointer=all` to show line information in backtrace
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.