From: Avinash H.M. on 22 May 2010 13:30 Hi All, I am using DSL [ damn small linux ] which is branched from debain. I am trying to use GCC, GDB. Able to install both of them. I am doing following - run a helloworld.c program whic has a while loop. So while running, its stuck in while. - another shell, "kill -11 PID" [ PID of the ./a.out ] After kill, i get Segmentation fault. But Core is not dumped. [ I expect a print ( Core dumped ) ] Anyone faced this ??? Please help. Thanks - Avinash -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/AANLkTimx6s-mqKKZx7ZnyC5xNIvc6STJHfrH7TS6rXUC(a)mail.gmail.com
From: Aioanei Rares on 22 May 2010 13:40 On 05/22/2010 08:10 PM, Avinash H.M. wrote: > Hi All, > > I am using DSL [ damn small linux ] which is branched from debain. > I am trying to use GCC, GDB. Able to install both of them. > > I am doing following > - run a helloworld.c program whic has a while loop. So while > running, its stuck in while. > - another shell, "kill -11 PID" [ PID of the ./a.out ] > After kill, i get Segmentation fault. But Core is not dumped. [ I > expect a print ( Core dumped ) ] > > Anyone faced this ??? Please help. > > Thanks > - Avinash > > > First, compile your program with -g, then take a look at man core. Not every program that has received a segfault signal dumps core. Look at gcore to see how to generate it. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BF81657.7060002(a)gmail.com
From: Anand Sivaram on 22 May 2010 21:10 On Sat, May 22, 2010 at 23:07, Aioanei Rares <debian.dev.list(a)gmail.com>wrote: > On 05/22/2010 08:10 PM, Avinash H.M. wrote: > >> Hi All, >> >> I am using DSL [ damn small linux ] which is branched from debain. >> I am trying to use GCC, GDB. Able to install both of them. >> >> I am doing following >> - run a helloworld.c program whic has a while loop. So while >> running, its stuck in while. >> - another shell, "kill -11 PID" [ PID of the ./a.out ] >> After kill, i get Segmentation fault. But Core is not dumped. [ I >> expect a print ( Core dumped ) ] >> >> Anyone faced this ??? Please help. >> >> Thanks >> - Avinash >> >> >> >> > First, compile your program with -g, then take a look at man core. Not > every program that has received > a segfault signal dumps core. Look at gcore to see how to generate it. > > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a > subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org > Archive: http://lists.debian.org/4BF81657.7060002(a)gmail.com > > Normally core dump is disabled. You could find the maximum size of core file created using "ulimit -a", normally that is 0. Increase it using ulimit -c <maximum size>
From: Chris Bannister on 23 May 2010 07:00 On Sat, May 22, 2010 at 10:40:53PM +0530, Avinash H.M. wrote: > Hi All, > > I am using DSL [ damn small linux ] which is branched from debain. > I am trying to use GCC, GDB. Able to install both of them. Although DSL is based on Debian, it is not Debian. There are numerous differences between them. Enough, in fact, as to make them quite different beasts and you would be better off asking on a DSL mailing list. -- "Religion is excellent stuff for keeping common people quiet." -- Napoleon Bonaparte -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100523120405.GB18258(a)fischer
From: Avinash H.M. on 23 May 2010 09:40 Thanks !!! this worked. I did ulimit -c unlimited. I tried tracking ulimit. If i do which ulimit, i am not getting anything. [ I expect the path of this binary ] Is it a built in bash command or something like that ???? On Sun, May 23, 2010 at 6:35 AM, Anand Sivaram <aspnair(a)gmail.com> wrote: > > > On Sat, May 22, 2010 at 23:07, Aioanei Rares <debian.dev.list(a)gmail.com> > wrote: >> >> On 05/22/2010 08:10 PM, Avinash H.M. wrote: >>> >>> Hi All, >>> >>> I am using DSL [ damn small linux ] which is branched from debain. >>> I am trying to use GCC, GDB. Able to install both of them. >>> >>> I am doing following >>> - run a helloworld.c program whic has a while loop. So while >>> running, its stuck in while. >>> - another shell, "kill -11 PID" [ PID of the ./a.out ] >>> After kill, i get Segmentation fault. But Core is not dumped. [ I >>> expect a print ( Core dumped ) ] >>> >>> Anyone faced this ??? Please help. >>> >>> Thanks >>> - Avinash >>> >>> >>> >> >> First, compile your program with -g, then take a look at man core. Not >> every program that has received >> a segfault signal dumps core. Look at gcore to see how to generate it.. >> >> >> -- >> To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a >> subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org >> Archive: http://lists.debian.org/4BF81657.7060002(a)gmail.com >> > > Normally core dump is disabled. You could find the maximum size of core > file created using "ulimit -a", normally that is 0. > Increase it using > ulimit -c <maximum size> > -- KNOWLEDGE IS POWER, SHARE IT. BIRTH IS JOYFUL, DEATH IS PLEASANT, BUT ITS THE TRANSITION WHICH IS TROUBLESOME. WITH WARM REGARDS, AVINASH -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/AANLkTinCxYjPXn2wQcmulghbiZiNBNKf8dm7Hz9XFgPf(a)mail.gmail.com
|
Next
|
Last
Pages: 1 2 Prev: ¡Ven y únete a REFERIDOS MULTINIVEL! Next: lilo removal in squeeze (or, "please test grub2") |