[Issue 22025] Exception within a delegate can't be thrown.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 16 05:23:20 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22025
Mathias LANG <pro.mathias.lang at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pro.mathias.lang at gmail.com
--- Comment #1 from Mathias LANG <pro.mathias.lang at gmail.com> ---
Reproduced.
```
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=2, address=0x1003c7c00)
* frame #0: 0x00007fff2032f50c libsystem_pthread.dylib`___chkstk_darwin + 96
frame #1: 0x00007fff2032f4ac libsystem_pthread.dylib`thread_start + 20
frame #2: 0x00007fff2a4adb2d
libunwind.dylib`libunwind::UnwindCursor<libunwind::LocalAddressSpace,
libunwind::Registers_x86_64>::getInfoFromDwarfSection(unsigned long,
libunwind::UnwindInfoSections const&, unsigned int) + 191
frame #3: 0x00007fff2a4ada01
libunwind.dylib`libunwind::UnwindCursor<libunwind::LocalAddressSpace,
libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(bool) + 999
frame #4: 0x00007fff2a4afec9
libunwind.dylib`libunwind::UnwindCursor<libunwind::LocalAddressSpace,
libunwind::Registers_x86_64>::step() + 461
frame #5: 0x00007fff2a4b1a18 libunwind.dylib`_Unwind_RaiseException + 189
frame #6: 0x000000010005c0fd future`_d_throwdwarf + 185
frame #7: 0x0000000100001e9d
future`_D4mainQfFZ9__lambda3MFNaNfiZi(__capture=0x0000000100600000, x=30) at
object.d:2478
frame #8: 0x0000000100025aea
future`_D7toolkit7promise__T9asyncImplTDFNaNfiZiTiZQxFQpiZ9__lambda6MFZv(__capture=0x0000000100604030)
at promise.d:446
frame #9: 0x0000000100058d79
future`_D4core6thread7context8Callable6opCallMFZv + 41
frame #10: 0x0000000100055227 future`fiber_entryPoint + 99
```
I've been seeing this issue for a while:
https://github.com/dlang/dub/issues/2120
--
More information about the Digitalmars-d-bugs
mailing list