Date: Tue, 01 May 2012 23:04:25 +0400 From: Darren Baginski <kickbsd@yandex.com> To: Unga <unga888@yahoo.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Segmentation fault in FreeBSD 9.0 flockfile () Message-ID: <393231335899065@web5d.yandex.ru> In-Reply-To: <1335895711.57204.YahooMailNeo@web160104.mail.bf1.yahoo.com> References: <1335895711.57204.YahooMailNeo@web160104.mail.bf1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! Mind to share code snippet caused the problem? 01.05.2012, 22:08, "Unga" <unga888@yahoo.com>: > Hi all > > I'm getting aš Segmentation fault in FreeBSD 9.0 as follows for myprog.c: > > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0š 0x28ebb062 in flockfile () from /lib/libc.so.7 > [New Thread 29c04900 (LWP 100575/SDLTimer)] > [New Thread 29c04300 (LWP 100416/myprog)] > (gdb) > (gdb) info threads > * 2 Thread 29c04300 (LWP 100416/myprog)š 0x28ebb062 in flockfile () > šš from /lib/libc.so.7 > š 1 Thread 29c04900 (LWP 100575/SDLTimer)š 0x28e1527b in _umtx_op () > šš from /lib/libc.so.7 > (gdb) > > I don't use flockfile () directly in my program. > > I use -lpthread. > > Same program runs without any issue on FreeBSD 8.1. > > Any idea what's going on? > > Best regards > Unga > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393231335899065>