Summary: | Crash while handling many authz checks | ||
---|---|---|---|
Product: | PolicyKit | Reporter: | Mantas Mikulėnas <grawity> |
Component: | daemon | Assignee: | David Zeuthen (not reading bugmail) <zeuthen> |
Status: | RESOLVED FIXED | QA Contact: | David Zeuthen (not reading bugmail) <zeuthen> |
Severity: | normal | ||
Priority: | medium | CC: | leho, zdzichu |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Mantas Mikulėnas
2013-09-18 00:50:34 UTC
Lengthy discussion in https://bugzilla.redhat.com/show_bug.cgi?id=910262 which got pointed to this bug. But yeah, polkit-0.112 dies on me on the regular and it seems to be connected to NetworkManager operations. Seems more like memory corruption in libmozjs17: #0 js::ShapeTable::search (this=0x7f6896e25f80, id=id@entry=140087184634656, adding=adding@entry=false) at /usr/src/debug/mozjs17.0.0/js/src/jsscope.cpp:163 163 stored = *spp; (gdb) print spp $2 = (js::Shape **) 0x720065043a5d05 (gdb) print *spp Cannot access memory at address 0x720065043a5d05 (gdb) list 146 Shape ** 147 ShapeTable::search(jsid id, bool adding) 148 { 149 js::HashNumber hash0, hash1, hash2; 150 int sizeLog2; 151 Shape *stored, *shape, **spp, **firstRemoved; 152 uint32_t sizeMask; 153 154 JS_ASSERT(entries); 155 JS_ASSERT(!JSID_IS_EMPTY(id)); 156 157 /* Compute the primary hash address. */ 158 hash0 = HashId(id); 159 hash1 = HASH1(hash0, hashShift); 160 spp = entries + hash1; 161 162 /* Miss: return space for a new entry. */ 163 stored = *spp; (gdb) print entries $6 = (js::Shape **) 0x72006500730075 (gdb) print *entries Cannot access memory at address 0x72006500730075 Any way to run polkitd under valgrind? Thanks for your report. This should be fixed in polkit-0.113; please reopen if you can still reproduce (this specific crash). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.