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>

index | next in thread | previous in thread | raw e-mail

From: Darren Baginski <kickbsd@yandex.com>

To: Unga <unga888@yahoo.com> 
>Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> 
>Sent: Tuesday, May 1, 2012 7:04 PM
>Subject: Re: Segmentation fault in FreeBSD 9.0 flockfile ()
> 
>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.
>>
>
>Hi Thanks for the reply. I have mentioned in my original post that neither I nor SDL use the flockfile () in the source.
>
>Regards
>Unga
>


help

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