public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13594] New: Crash if nscd is not running in __nscd_get_mapping
@ 2012-01-13 16:39 aj at suse dot de
  2012-01-13 21:13 ` [Bug libc/13594] " idoenmez at suse dot de
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: aj at suse dot de @ 2012-01-13 16:39 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 13594
           Summary: Crash if nscd is not running in __nscd_get_mapping
           Product: glibc
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: aj@suse.de
    Classification: Unclassified


I have seen some reports where glibc crashes if nscd is not running, especially
with chromium but also with ktorrent. This is not always reproduceable, so
there's some kind of race or random memory corruption.

valgrind reports:
==16750== Process terminating with default action of signal 11 (SIGSEGV)
==16750==  Access not within mapped region at address 0x17
==16750==    at 0xC63DC1E: __nscd_get_mapping (in /lib64/libc-2.15.so)
==16750==    by 0xC63DDE3: __nscd_get_map_ref (in /lib64/libc-2.15.so)
==16750==    by 0xC63B2E1: nscd_gethst_r (in /lib64/libc-2.15.so)
==16750==    by 0xC63BB96: __nscd_gethostbyname2_r (in /lib64/libc-2.15.so)
==16750==    by 0xC6213F0: gethostbyname2_r@@GLIBC_2.2.5 (in
/lib64/libc-2.15.so)
==16750==    by 0xC5F5D8F: gaih_inet (in /lib64/libc-2.15.so)
==16750==    by 0xC5F6ED2: getaddrinfo (in /lib64/libc-2.15.so)
==16750==    by 0x140E7BD: net::SystemHostResolverProc(std::string const&,
net::AddressFamily, int, net::AddressList*, int*) (in
/usr/lib64/chromium/chromium)
==16750==    by 0x1407C57: net::HostResolverImpl::Job::DoLookup(base::TimeTicks
const&, unsigned int) (in /usr/lib64/chromium/chromium)
==16750==    by 0x2B5B2FA: base::(anonymous
namespace)::WorkerThread::ThreadMain() (in /usr/lib64/chromium/chromium)
==16750==    by 0x11753C1: base::(anonymous namespace)::ThreadFunc(void*) (in
/usr/lib64/chromium/chromium)
==16750==    by 0x919FF65: start_thread (in /lib64/libpthread-2.15.so)

gdb gives a similar backtrace.

After reverting commit 3a2c02424d9824f5cdea4ebd32ff929b2b1f49c6, the problem
does not appear anymore.

I can't reproduce it yet on my system - so no further information.

Reports:
https://bugzilla.novell.com/show_bug.cgi?id=741021
https://bbs.archlinux.org/viewtopic.php?id=133021

-- 
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.


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-06-27 11:12 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 16:39 [Bug libc/13594] New: Crash if nscd is not running in __nscd_get_mapping aj at suse dot de
2012-01-13 21:13 ` [Bug libc/13594] " idoenmez at suse dot de
2012-01-21 23:13 ` allan at archlinux dot org
2012-01-22 23:34 ` turn3r.tr3v0r at gmail dot com
2012-01-29 10:30 ` jk4736 at gmail dot com
2012-02-07 16:45 ` ajaxas at gmail dot com
2012-02-11 22:53 ` pcpa at mandriva dot com.br
2012-02-11 23:02 ` pcpa at mandriva dot com.br
2012-02-12  4:26 ` ajaxas at gmail dot com
2012-02-12  4:35 ` allan at archlinux dot org
2012-02-12  4:40 ` ajaxas at gmail dot com
2012-02-21  2:32 ` [Bug nscd/13594] " jsm28 at gcc dot gnu.org
2012-03-27 18:48 ` law at redhat dot com
2012-03-27 19:09 ` pcpa at mandriva dot com.br
2012-03-28  9:35 ` aj at suse dot de
2012-03-28 19:13 ` law at redhat dot com
2012-03-29 17:25 ` law at redhat dot com
2012-04-16 15:06 ` adconrad at 0c3 dot net
2012-05-07 20:30 ` carlos_odonell at mentor dot com
2012-05-15 18:39 ` aj at suse dot de
2012-05-16  4:24 ` law at redhat dot com
2014-02-16 19:42 ` jackie.rosen at hushmail dot com
2014-05-28 19:45 ` schwab at sourceware dot org
2014-06-27 11:12 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).