[valgrind] [Bug 435375] New: Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s) (Multicast API)
https://bugs.kde.org/show_bug.cgi?id=435375 Bug ID: 435375 Summary: Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s) (Multicast API) Product: valgrind Version: 3.14.0 Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: uglymo...@wizdom.nu Target Milestone: --- Seems that Valgrind is not recognizing padding in struct group_req and or struct sockaddr_in/storage. Code to reproduce: struct group_req GrpReq; struct sockaddr_in Grp = { AF_INET, 0, {mcastaddr}, {0} }; GrpReq.gr_interface = IfDp ? if_nametoindex(IfDp->Name) : 0; memcpy(&GrpReq.gr_group, &Grp, sizeof(Grp)); setsockopt(mrouterFD, IPPROTO_IP, MCAST_JOIN_GROUP, &GrpReq, sizeof(GrpReq)) Valgrind is erroring on: ==30163== Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s) ==30163==at 0x4935CD8: setsockopt (syscall-template.S:78) ==30163==by 0x112177: k_joinleave (kern.c:108) ==30163== Address 0x1ffe2c is on thread 1's stack ==30163== in frame #1, created by k_joinleave (kern.c:92) Examaning stack frame #1 shows the data used to call setsockopt is perfectly fine: #1 0x00112178 in k_joinleave (Cmd=106, IfDp=0x49e3fa0, mcastaddr=33554656) at kern.c:112 GrpReq = {gr_interface = 6, gr_group = {ss_family = 2, __ss_padding = "\000\000\340\000\000\002", '\000' , "hZ\215\004\000\000\000\000\320\377\377\376\037\000\000\000\224\357\020\000\000\000\000\000\240?\236\004\000\000\000\000p\000\000\377\037\000\000\000X\343\022", '\000' , "\320\022\000\000\000\000\000\003\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\003\000\000\000\000\000\000", __ss_align = 1146280}} Grp = {sin_family = 2, sin_port = 0, sin_addr = {s_addr = 33554656}, sin_zero = "\000\000\000\000\000\000\000"} ... __ss_padding = "\000\000\340\000\000\002" is port 0, and multicast address 224.0.0.2 (mcastaddr=33554656 / 0xE002) All requirements for this setsockopt API are thus satisfied and the error is a false positive. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 435375] Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s) (Multicast API)
https://bugs.kde.org/show_bug.cgi?id=435375 Sietse changed: What|Removed |Added OS|Other |Linux Platform|Other |Debian stable CC||uglymo...@wizdom.nu --- Comment #1 from Sietse --- This is on debian (armbian) arm64 -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 448060] New: All menu icons missing when not running in KDE PLasma desktop
https://bugs.kde.org/show_bug.cgi?id=448060 Bug ID: 448060 Summary: All menu icons missing when not running in KDE PLasma desktop Product: kdevelop Version: 5.6.2 Platform: Ubuntu Packages OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: UI: general Assignee: kdevelop-bugs-n...@kde.org Reporter: sie...@wizdom.nu Target Milestone: --- SUMMARY All menu icons missing when not running in KDE PLasma desktop STEPS TO REPRODUCE 1. Start kdevelop from any other desktop like DDE or Gnome 2. Icon thems with .svg only will not have icons shown. 3. OBSERVED RESULT All the small menu icons are missing. EXPECTED RESULT All icons present SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 21.10 (available in About System) KDE Plasma Version: 5.22.5 KDE Frameworks Version: Qt Version: 5 ADDITIONAL INFORMATION Problem caused by incorrect linkink / opening of libdsvg QT plugin by kdevelop: dtk.dpluginloader: "The shared library was not found." strace shows: statx(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/based-dtk/libdsvgicon.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff35563810) = -1 ENOENT (No such file or directory) statx(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/based-dtk/libdsvgicon.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff35563810) = -1 ENOENT (No such file or directory) statx(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/based-dtk/libdsvgicon.so.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff35563810) = -1 ENOENT (No such file or directory) statx(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/based-dtk/liblibdsvgicon.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff35563810) = -1 ENOENT (No such file or directory) statx(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/based-dtk/liblibdsvgicon.so.so", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff35563810) = -1 ENOENT (No such file or directory) write(2, "dtk.dpluginloader: \"The shared l"..., 55) = 55 root@retropc:/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/based-dtk# ls -la total 240 drwxr-xr-x 2 root root 4096 jan 7 13:56 . drwxr-xr-x 3 root root 4096 jan 3 15:14 .. -rw-r--r-- 1 root root 85864 okt 4 17:56 libdsvgicon5.5.so -rw-r--r-- 1 root root 60800 okt 4 17:56 libdtkbuiltin5.5.so -rw-r--r-- 1 root root 40104 jan 7 13:32 libqsvgicon.so -rw-r--r-- 1 root root 48472 okt 4 17:56 libxdgicon5.5.so root@retropc:/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/based-dtk# Fixed by: ln -s libdsvgicon5.5.so libdsvgicon.so Is this qt / distro or kdevelop issue? -- You are receiving this mail because: You are watching all bug changes.