Public bug reported:

Binary package hint: gdc-4.2

Programs that are compiled with the Ubuntu build of GDC give a
segmentation fault whenever vararg functions, such as writef and
writefln are used. The following hello-world program, for instance, will
crash:

import std.stdio;
void main() {
    writefln("Hello %s!", "world");
}

This program compiles without errors, and the segfault happens when
running the program. I am running Ubuntu 8.04 with GDC build
0.25-4.2.3-2ubuntu2. This was never an issue for me with the 4.1 build.

This issue has been discussed on the official D forum, and it seems only the 
Ubuntu version has this problem:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=72162

** Affects: gdc-4.2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
D programs segfault when vararg functions are used
https://bugs.launchpad.net/bugs/235955
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to