Bug 768566

Summary: plymouthd memory corruption
Product: [openSUSE] openSUSE 12.2 Reporter: Bernhard Wiedemann <bwiedemann>
Component: BasesystemAssignee: Forgotten User sM9JzehKpy <forgotten_sM9JzehKpy>
Status: RESOLVED NORESPONSE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bernhard Wiedemann 2012-06-24 13:12:16 UTC
when running plymouthd under sysvinit, it triggers a glibc corruption error.
Valgrind shows

==4758== Invalid read of size 1
==4758==    at 0x52E6BDE: __GI_memcpy (in /lib64/libc-2.15.so)
==4758==    by 0x40C967: check_for_consoles (main.c:2024)
==4758==    by 0x404C64: main (main.c:2134)
==4758==  Address 0x5f23cf0 is 0 bytes inside a block of size 9 free'd
==4758==    at 0x4C29D4E: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4758==    by 0x40C938: check_for_consoles (main.c:2016)
==4758==    by 0x404C64: main (main.c:2134)
==4758== 
==4758== Invalid read of size 8
==4758==    at 0x52E6C16: __GI_memcpy (in /lib64/libc-2.15.so)
==4758==    by 0x40C967: check_for_consoles (main.c:2024)
==4758==    by 0x404C64: main (main.c:2134)
==4758==  Address 0x5f23cf1 is 1 bytes inside a block of size 9 free'd
==4758==    at 0x4C29D4E: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4758==    by 0x40C938: check_for_consoles (main.c:2016)
==4758==    by 0x404C64: main (main.c:2134)
==4758== 
==4758== Invalid free() / delete / delete[] / realloc()
==4758==    at 0x4C29D4E: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4758==    by 0x4E3B202: ply_hashtable_foreach (in /usr/lib64/libply.so.2.0.0)
==4758==    by 0x40C988: check_for_consoles (main.c:2034)
==4758==    by 0x404C64: main (main.c:2134)
==4758==  Address 0x40efd5 is not stack'd, malloc'd or (recently) free'd
Comment 1 Forgotten User sM9JzehKpy 2012-06-24 20:57:03 UTC
Ludwig already submitted an update for Plymouth to prevent is from running under sysvinit. This was forwarded to Factory with SR#125662.
Comment 2 Forgotten User sM9JzehKpy 2012-07-30 12:52:14 UTC
Please let me know if this bug is still valid ?
Comment 3 Forgotten User sM9JzehKpy 2012-08-07 11:12:26 UTC
No feedback received