[so] [Tema3][Linux] faild test
Bogdan Cap-Bun
capbunbogdan at yahoo.com
Sat May 9 23:11:35 EEST 2009
Da, am avut si eu exact aceeasi problema si de la asta era.
________________________________
From: Irina Stanescu <ironmissy at gmail.com>
To: Sisteme de Operare <so at cursuri.cs.pub.ro>
Sent: Saturday, May 9, 2009 3:54:55 PM
Subject: Re: [so] [Tema3][Linux] faild test
ce faci cu o zona dupa o ce demapezi (cand o scoti din ram) ?
programul de test mai face niste malloc-uri la un moment dat si s-ar putea sa primeasca spatiu tocmai din zona asta. de aceea trebuie sa o protejezi cumva. eu am realocat-o anonim, ca sa o pastrez in "posesia" librariei.
poate e de la asta.
Irina
2009/5/9 alexandrujuncu at gmail.com <alexandrujuncu at gmail.com>
strace ciclează la
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigreturn(0xb7edaff4) = 67032
am assert-uri şi la intrări şi la ieşiri din funcţie şi funcţiile
intră şi ies ok
2009/5/9 alexandrujuncu at gmail.com <alexandrujuncu at gmail.com>:
> 2009/5/9 Daniel Baluta <daniel.baluta at gmail.com>:
>> On Sat, May 9, 2009 at 1:36 PM, Catalin <catalin.me at gmail.com> wrote:
>>> alexandrujuncu at gmail.com wrote:
>>>>>
>>>>> Ai incercat gdb , strace :)?
>>>>> Pune tema pe site.
>>
>> Creaza-ti o functie care-ti printeaza starea paginilor tale si
>> apeleaz-o in diferite momente.
>> Probabil ca nu marchezi corespunzator o pagina cand o muti in swap.
> did that...looked ok...
>>
>> Daniel.
>> _______________________________________________
>> so mailing list
>> so at cursuri.cs.pub.ro
>> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
>>
>
_______________________________________________
so mailing list
so at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090509/5d3c7dfe/attachment.htm>
More information about the so
mailing list