Bug 989147

Summary: Crash when calling GC.collect()
Product: [Fedora] Fedora Reporter: Alex Puchades <alex94puchades>
Component: ldcAssignee: Christopher Meng <i>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: bioinfornatics
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-10 22:47:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Core dumped when executed none

Description Alex Puchades 2013-07-27 22:25:55 UTC
Created attachment 779239 [details]
Core dumped when executed

Description of problem:
A crash occurs within the _d_toObject function of the D runtime when calling GC.collect(), when compiling with the ldc2 compiler (the same does not occur when using the dmd compiler from DigitalMars)

Version-Release number of selected component (if applicable):
ldc2 (0.12.0 -- based on DMD v2.063.1 and LLVM 3.3) (x86_64)

How reproducible:
The following code triggers the crash:

  import core.memory;
  void main() {
    GC.collect();
  }

Steps to Reproduce:
1. $ ldc2 gcbug.d
2. $ ./gcbug

Actual results:
ViolaciĆ³n de segmento (`core' generado)

Expected results:
No crash =)

Additional info:
The crash does occur (according to gdb) inside the _d_toObject function (core attached)

Comment 1 MERCIER Jonathan 2013-07-28 21:56:04 UTC
Comment on attachment 779239 [details]
Core dumped when executed

Hi, could you use dustemite ( is into fedora repo to help us to uderstand what happen )

Howto -> https://github.com/CyberShadow/DustMite/wiki

thanks

Comment 2 MERCIER Jonathan 2013-07-28 21:58:04 UTC
oops skip my previous message i see the bug

Comment 3 Fedora Admin XMLRPC Client 2013-08-12 04:49:24 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.