[so] [Tema1][Linux] Testul 8 si Testul 12
Adrian Sendroiu
molecula2788 at gmail.com
Wed Mar 27 10:08:00 EET 2013
oana niculaescu <oana.niculaescu at gmail.com> writes:
> Salut,
>
> Am incercat sa reproduc ce ai facut tu mai sus dar la mine apare
> corect, adica nu imi intoarce segfaul-ul:
>
>>root at spook:/home/student/tema1-checker-lin (2)# ./mini-shell
>>> a=3
>>> exit
>
> si in gdb la fel:
>>root at spook:/home/student/tema1-checker-lin (2)# gdb ./mini-shell
>>(gdb) run
>>Starting program: /home/student/tema1-checker-lin (2)/mini-shell
>>> a=3
>>> exit
>
>>Program exited normally.
>
> Deci tot nu imi dau seama de la ce ar putea fi. Repet pe masinile
> locale trece toate testele, pe vmchecker testarea variabilelor de
> mediu pica.
>
> Multumesc inca o data,
> Oana
Salut,
Nu-ti apare din cauza ca segfault-ul este intr-un proces copil:
(gdb) set follow-fork-mode child
(gdb) r
Starting program: /root/test/mini-shell
> a=3
[New process 6680]
Program received signal SIGSEGV, Segmentation fault.
Adrian
More information about the so
mailing list