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

[linrad] Re: Linrad 02.05 part II, svgalib version.





Hi Leif,

Forgot to post the debugging "xz":


int lir_lock_mem(void)
{
int i,k;

xz("lir_lock_mem_1");


i= mlockall(MCL_CURRENT);

xz("lir_lock_mem_2");

if(i==0)return 0;
k=errno;
munlockall();
errno=k;
return i;

}


More information about the mlockall issue.

This "dirty" code modification removes the first crash and linrad screen appears and works well during some time, until it crashes again when I press "X".

The crash blocks all pure text consoles, but I can get GNOME with ctrl-alt-F7. I run "ps ax" and can not locate any linrad process running in order to kill them.





 int lir_lock_mem(void)
 {
 int i,k;




 //i= mlockall(MCL_CURRENT);
 i=0;


 if(i==0)return 0;
 k=errno;
 munlockall();
 errno=k;
 return i;

 }

I do not understand anything...  :-(


Regards.


Ramiro.
EA1ABZ

#############################################################
This message is sent to you because you are subscribed to
 the mailing list <linrad@xxxxxxxxxxxxxxxxxxxxx>.
To unsubscribe, E-mail to: <linrad-off@xxxxxxxxxxxxxxxxxxxxx>
To switch to the DIGEST mode, E-mail to <linrad-digest@xxxxxxxxxxxxxxxxxxxxx>
To switch to the INDEX mode, E-mail to <linrad-index@xxxxxxxxxxxxxxxxxxxxx>
Send administrative queries to  <linrad-request@xxxxxxxxxxxxxxxxxxxxx>

LINRADDARNIL