dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pnet-developers] pnet on NetBSD2.0


From: Chris Bacon
Subject: Re: [Pnet-developers] pnet on NetBSD2.0
Date: Thu, 18 Nov 2004 15:15:57 -0000

gdb dump is:

(gdb) run test.exe
Starting program: /usr/local/bin/ilrun test.exe

Program received signal SIGSEGV, Segmentation fault.
0x080dd876 in GC_find_limit (p=0x810e590 "????", up=0) at os_dep.c:812
812                     GC_noop1((word)(*result));
(gdb) bt
#0  0x080dd876 in GC_find_limit (p=0x810e590 "????", up=0) at os_dep.c:812
#1  0x080dd716 in GC_init_netbsd_elf () at os_dep.c:398
#2  0x080dcb09 in GC_init_inner () at misc.c:663
#3  0x080d9db5 in GC_generic_malloc_inner (lb=175, k=2) at malloc.c:125
#4  0x080d9ea0 in GC_generic_malloc (lb=175, k=2) at malloc.c:192
#5  0x080da51b in GC_malloc_uncollectable (lb=176) at mallocx.c:572
#6  0x0806f9c5 in ILExecProcessCreate (stackSize=8192, cachePageSize=131072)
    at process.c:69
#7  0x0804abca in main (argc=2, argv=0xbfbffbd0) at ilrun.c:367
#8  0x0804a6c2 in ___start ()
(gdb)

Sorry for not doing this earlier.

Chris


----- Original Message ----- 
From: "Ilyak Kasnacheev" <address@hidden>
To: "Chris Bacon" <address@hidden>; <address@hidden>
Sent: Thursday, November 18, 2004 1:28 PM
Subject: Re: [Pnet-developers] pnet on NetBSD2.0


> Chris Bacon wrote:
>
> >Hi,
> >
> >I have recently installed pnet v0.6.10 on NetBSD2.0RC4.
> >cscc appears to work fine for a trivial program (which does nothing), but
> >ilrun always generates a segmentation fault when trying to execute this
> >trivial program.
> >If I move the .exe file generated by cscc to a Linux machine running mono
it
> >executes fine.
> >If I compile a program using mono's C# compiler and try to execute it
using
> >ilrun it segments.
> >
> >Any help would be appricated
> >
> It would surely be good if you do either:
> Show `strace ilrun trivialprogram.exe' output.
> Try `gdb ilrun'
>  > run trivialprogram.exe
>  > continue (i'm unsure this step is really needed, if program does not
> seems to start running, try it)
> when it will segfault, gdb will give access to you.
>  > bt
> and show us what bt will print.
>
> This is standard ways to circle problem with segfault.
> Even better if you will compile pnet with --enable-debug before trying
gdb.
>
> Thank you for listening :)
>
>
> _______________________________________________
> Pnet-developers mailing list
> address@hidden
> http://dotgnu.org/mailman/listinfo/pnet-developers
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]