← Back to index
|
Original Bugzilla link
Bug 19282 – hashOf segfaults for non-null C++ objects
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-10-01T21:05:59Z
Last change time
2018-10-06T17:13:53Z
Assigned to
No Owner
Creator
Nathan S.
Comments
Comment #0
by n8sh.secondary — 2018-10-01T21:05:59Z
The following code crashes: --- extern(C++) { class C {} } void main() { C c = new C(); size_t h = .hashOf(c); } ---
Comment #1
by n8sh.secondary — 2018-10-01T21:20:19Z
Pull request:
https://github.com/dlang/druntime/pull/2318
Comment #2
by github-bugzilla — 2018-10-06T17:13:52Z
Commits pushed to master at
https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/702e0c1720d59479e669ef38800238ef070166d7
Fix Issue 19282 - hashOf segfaults for non-null C++ objects
https://github.com/dlang/druntime/commit/565690adbbbf57fc8ee29a6d8556f14008143008
Merge pull request #2318 from n8sh/issue-19282 Fix Issue 19282 - hashOf segfaults for non-null C++ objects merged-on-behalf-of: Nathan Sashihara <
[email protected]
>