digitalmars.D.bugs - [Issue 1960] New: Thread Class Causes SEGV If Not Started
- d-bugmail puremagic.com (27/27) Mar 30 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1960
- d-bugmail puremagic.com (10/10) May 15 2010 http://d.puremagic.com/issues/show_bug.cgi?id=1960
- d-bugmail puremagic.com (15/15) Aug 13 2010 http://d.puremagic.com/issues/show_bug.cgi?id=1960
http://d.puremagic.com/issues/show_bug.cgi?id=1960
Summary: Thread Class Causes SEGV If Not Started
Product: D
Version: 2.012
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla digitalmars.com
ReportedBy: bcwhite pobox.com
Creating and destructing an instance of Thread will cause a SEGV if nothing is
done in between.
--------------------
import std.thread;
void main(char[][] argv)
{
scope Thread t = new Thread();
printf("never mind...\n");
}
--------------------
dragon:~/tmp> dmd dtest.d
dragon:~/tmp> ./dtest
never mind...
Segmentation fault
--
Mar 30 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1960 Created an attachment (id=630) Fix SEGV in std.thread This bug is present in the D1 Phobos library too. The fix is trivial in both cases, and attaching a patch. See also Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581700 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 15 2010
http://d.puremagic.com/issues/show_bug.cgi?id=1960
Lars T. Kyllingstad <bugzilla kyllingen.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |
CC| |bugzilla kyllingen.net
Version|2.012 |D1
04:14:15 PDT ---
This is now D1 only. D2 doesn't have std.thread anymore, and the problem
doesn't seem to exist in core.thread.
Also: There is no ICE (Internal Compiler Error) here, so I'm removing the
ice-on-valid-code keyword.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 13 2010









d-bugmail puremagic.com 