[Bug 509398] New: glibc's free() invalid pointer check
http://bugzilla.novell.com/show_bug.cgi?id=509398 Summary: glibc's free() invalid pointer check Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: pbaudis@novell.com ReportedBy: wolfgang@rosenauer.org QAContact: qa@suse.de Found By: Third Party Developer/Partner Since glibc 2.10 has been landed on Factory the mozilla-nss testsuite is failing in many places. (In Factory the testsuite is currently disabled because of that but it's still visible here: https://build.opensuse.org/package/live_build_log?arch=i586&package=mozilla-nss&project=mozilla&repository=SUSE_Factory ) It's always about *** glibc detected *** /usr/src/packages/BUILD/nss-3.12.3/mozilla/dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/bin/selfserv: free(): invalid pointer: 0x081f8f08 *** and *** glibc detected *** /usr/src/packages/BUILD/nss-3.12.3/mozilla/dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/bin/strsclnt: free(): invalid pointer: 0x0811f308 *** I'm not claiming that this must be a glibc issue but this is working everywhere else but Factory still. Apparently there is no issue known upstream as well. So I'd need some assistance to find the issue (if it's not glibc's fault). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=509398
User pbaudis@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c1
Petr Baudis
http://bugzilla.novell.com/show_bug.cgi?id=509398
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c2
--- Comment #2 from Wolfgang Rosenauer
(i) Is Mozilla's custom malloc/free override used at this point in the testsuite?
No. At least I couldn't find any reference to it. jemalloc is only used in mozilla's core and not in the security services. As the testsuite is free of non-NSS mozilla code there should be no custom malloc/free in place.
(ii) Does the override use glibc malloc/free as a backend?
I don't see an obvious override.
(iii) Can you paste some backtraces? Is there a pattern in them? (Always crashes in the same free(), or so.)
I had some backtraces which I could collect from the core files in the build environment. Unfortunately I haven't kept them so I need to recreate. I'll try to get some again. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=509398
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c3
Wolfgang Rosenauer
http://bugzilla.novell.com/show_bug.cgi?id=509398
User pbaudis@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c4
Petr Baudis
http://bugzilla.novell.com/show_bug.cgi?id=509398
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c5
Wolfgang Rosenauer
http://bugzilla.novell.com/show_bug.cgi?id=509398
User pbaudis@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c6
Petr Baudis
http://bugzilla.novell.com/show_bug.cgi?id=509398
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c7
Wolfgang Rosenauer
http://bugzilla.novell.com/show_bug.cgi?id=509398
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c8
--- Comment #8 from Wolfgang Rosenauer
MALLOC_CHECK_ unset:
actually I didn't unset it but haven't changed the env at all. Is that correct or do I need to do unset MALLOC_CHECK_? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=509398
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c9
Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=509398
User pbaudis@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c10
Petr Baudis
http://bugzilla.novell.com/show_bug.cgi?id=509398
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c11
Wolfgang Rosenauer
http://bugzilla.novell.com/show_bug.cgi?id=509398
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c12
--- Comment #12 from Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=509398
User pbaudis@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c13
Petr Baudis
http://bugzilla.novell.com/show_bug.cgi?id=509398
User pbaudis@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=509398#c14
Petr Baudis
participants (1)
-
bugzilla_noreply@novell.com