Re: STRANGE SEGFAULT
- From: Paul Davis <pbd Op Net>
- To: Toni Moreno Gim nez <toni moreno gimenez wanadoo es>
- Cc: gtk-list gnome org
- Subject: Re: STRANGE SEGFAULT
- Date: Mon, 08 Apr 2002 19:27:15 -0400
>The code "seems" ok, so I have tested diferent solutions, in the last, I have
>decided to lock memory using mlockall(), when using it, application runs ok,
>I have no much experience on direct system call programming so I can't
>understand this segfault.
if you don't understand this segfault, i suggest you stay away from
mlockall() for a fairly long period of time (units of weeks or
months). mlockall() has absolutely *nothing* to do with your problem.
>The application is running 2 threads , the first for the gtk_main loop, and
>the second runs a sound writer to /dev/dsp loop.
did you read the FAQ entry about threads? www.gtk.org
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]