www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10261] New: Program segfaults on startup

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10261

           Summary: Program segfaults on startup
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: jlquinn optonline.net


--- Comment #0 from Jerry Quinn <jlquinn optonline.net> 2013-06-03 22:42:50 PDT
---
Ubuntu 12.10 x86_64

jlquinn wyvern:~/re/test$ cat junk.d
import std.stdio;
void main() {
  writeln("Hi");
}
jlquinn wyvern:~/re/test$ /home/jlquinn/dmd2/linux/bin64/dmd junk.d
jlquinn wyvern:~/re/test$ ./junk
Segmentation fault (core dumped)

I know this isn't a blocker, but I literally cannot use dmd at the moment.  In
gdb, I get the following backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000439288 in _d_dso_registry ()
(gdb) bt
#0  0x0000000000439288 in _d_dso_registry ()
#1  0x0000000000433d1f in ?? ()
#2  0x0000000000000001 in ?? ()
#3  0x000000000045b778 in
TypeInfo_PS3std5array17__T8AppenderTAxaZ8Appender4Data.__init() ()
#4  0x0000000000458c78 in ?? ()
#5  0x0000000000458e68 in ?? ()
#6  0x0000000000458750 in ?? ()
#7  0x0000000000458c78 in ?? ()
#8  0x0000000000000040 in ?? ()
#9  0x000000000045030d in __libc_csu_init ()
#10 0x00007ffff7617700 in __libc_start_main (main=0x436744 <main>, argc=1, 
    ubp_av=0x7fffffffe198, init=0x4502b0 <__libc_csu_init>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe188)
    at libc-start.c:185
#11 0x000000000042bcc9 in _start ()


Any suggestions?  Thanks!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 03 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10261



--- Comment #1 from Jerry Quinn <jlquinn optonline.net> 2013-06-03 22:44:11 PDT
---
I've verified that there are no other copies of dmd hiding anywhere.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 03 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10261


Jerry Quinn <jlquinn optonline.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #2 from Jerry Quinn <jlquinn optonline.net> 2013-06-05 12:31:36 PDT
---
Consolidating with 10274

*** This issue has been marked as a duplicate of issue 10274 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 05 2013