This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/14680] Crash by _libc_fatal. This is NOT glibc bug, the cause had been double close.


http://sourceware.org/bugzilla/show_bug.cgi?id=14680

--- Comment #2 from Naohiro Ooiwa <naohiro.ooiwa at miraclelinux dot com> 2012-10-07 09:40:43 UTC ---
Created attachment 6671
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6671
auto.sh

The attached file is wrapper shell script to execute closetest.c. 
It compiles closetest.c and run closetest.
The auto.sh will stop when core file is found.
It takes a few seconds in my environment.

$ ls
auto.sh  closetest.c
$ ./auto.sh
libgcc_s.so.1 must be installed for pthread_cancel to work
./auto.sh: line 12: 28731 Aborted                 (core dumped) ./closetest
core.28731

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]