Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2012 21:15:18 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        Darren Baginski <kickbsd@yandex.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Segmentation fault in FreeBSD 9.0 flockfile ()
Message-ID:  <1335932118.29543.YahooMailNeo@web160102.mail.bf1.yahoo.com>
In-Reply-To: <393231335899065@web5d.yandex.ru>
References:  <1335895711.57204.YahooMailNeo@web160104.mail.bf1.yahoo.com> <393231335899065@web5d.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Darren Baginski <kickbsd@yandex.com>=0A=0ATo: Unga <unga888@yahoo.com=
> =0A>Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> =
=0A>Sent: Tuesday, May 1, 2012 7:04 PM=0A>Subject: Re: Segmentation fault i=
n FreeBSD 9.0 flockfile ()=0A> =0A>Hi!=0A>=0A>Mind to share code snippet ca=
used the problem?=0A>=0A>01.05.2012, 22:08, "Unga" <unga888@yahoo.com>:=0A>=
> Hi all=0A>>=0A>> I'm getting a=A0 Segmentation fault in FreeBSD 9.0 as fo=
llows for myprog.c:=0A>>=0A>> Reading symbols from /libexec/ld-elf.so.1...d=
one.=0A>> Loaded symbols for /libexec/ld-elf.so.1=0A>> #0=A0 0x28ebb062 in =
flockfile () from /lib/libc.so.7=0A>> [New Thread 29c04900 (LWP 100575/SDLT=
imer)]=0A>> [New Thread 29c04300 (LWP 100416/myprog)]=0A>> (gdb)=0A>> (gdb)=
 info threads=0A>> * 2 Thread 29c04300 (LWP 100416/myprog)=A0 0x28ebb062 in=
 flockfile ()=0A>> =A0=A0 from /lib/libc.so.7=0A>> =A0 1 Thread 29c04900 (L=
WP 100575/SDLTimer)=A0 0x28e1527b in _umtx_op ()=0A>> =A0=A0 from /lib/libc=
.so.7=0A>> (gdb)=0A>>=0A>> I don't use flockfile () directly in my program.=
=0A>>=0A>=0A>Hi Thanks for the reply. I have mentioned in my original post =
that neither I nor SDL use the flockfile () in the source.=0A>=0A>Regards=
=0A>Unga=0A>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1335932118.29543.YahooMailNeo>