https://bugzilla.novell.com/show_bug.cgi?id=876455
https://bugzilla.novell.com/show_bug.cgi?id=876455#c4
--- Comment #4 from Martin Vidner 2014-05-07 11:29:57 CEST ---
Created an attachment (id=588980)
--> (http://bugzilla.novell.com/attachment.cgi?id=588980)
valgrind.log
Commenting the errors found:
==3078== Conditional jump or move depends on uninitialised value(s)
==3078== at 0x2051684D: get_dvd_profile (in /usr/lib64/libhd.so.21.3)
==3078== by 0x20523CCA: ??? (in /usr/lib64/libhd.so.21.3)
==3078== by 0x205243EE: hd_scan_sysfs_block (in /usr/lib64/libhd.so.21.3)
==3078== by 0x204F5567: hd_scan (in /usr/lib64/libhd.so.21.3)
==3078== by 0x204F6104: hd_list (in /usr/lib64/libhd.so.21.3)
==3078== by 0x202BF738: HwProbe::byItem(hw_item, HwProbe::hwinfo_settings)
(in /mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x202A3A97: HwProbe::checkPath(YCPPath const&, YCPValue const&,
YCPValue const&, int) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x202A5640: HwProbe::Read(YCPPath const&, YCPValue const&,
YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x202C4CB5: Y2AgentComp<HwProbe>::evaluate(YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x55CB64E: Y2PluginComponent::evaluate(YCPValue const&) (in
/mounts/mp_0001/usr/lib64/liby2.so.4.0.0)
==3078== by 0x505629E: ScriptingAgent::executeSubagentCommand(char const*,
YCPPath const&, YCPValue const&, YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2scr.so.2.0.0)
==3078== by 0x5057182: ScriptingAgent::Read(YCPPath const&, YCPValue const&,
YCPValue const&) (in /mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2scr.so.2.0.0)
^ That looks like a libhd bug.
==3078== Warning: noted but unhandled ioctl 0x8946 with no size/direction hints
==3078== This could cause spurious value errors to appear.
==3078== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a
proper wrapper.
^ 0x8946 is SIOCETHTOOL. Looks harmless.
==3078== Invalid read of size 4
==3078== at 0x55C7F2A: Y2ProgramComponent::sendToExternal(std::string
const&) (in /mounts/mp_0001/usr/lib64/liby2.so.4.0.0)
==3078== by 0x55C8464: Y2ProgramComponent::sendToExternal(YCPValue const&)
(in /mounts/mp_0001/usr/lib64/liby2.so.4.0.0)
==3078== by 0x55C84FC: Y2ProgramComponent::evaluate(YCPValue const&) (in
/mounts/mp_0001/usr/lib64/liby2.so.4.0.0)
==3078== by 0x505629E: ScriptingAgent::executeSubagentCommand(char const*,
YCPPath const&, YCPValue const&, YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2scr.so.2.0.0)
==3078== by 0x5057182: ScriptingAgent::Read(YCPPath const&, YCPValue const&,
YCPValue const&) (in /mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2scr.so.2.0.0)
==3078== by 0x57E1693: ??? (in /mounts/mp_0001/usr/lib64/libscr.so.3.0.0)
==3078== by 0x57E1954: ??? (in /mounts/mp_0001/usr/lib64/libscr.so.3.0.0)
==3078== by 0x52D941F: YEBuiltin::evaluate(bool) (in
/mounts/mp_0001/usr/lib64/libycp.so.5.0.0)
==3078== by 0xA260EF2: ??? (in
/mounts/mp_0001/usr/lib64/ruby/vendor_ruby/2.1.0/x86_64-linux-gnu/yast/builtinx.so)
==3078== by 0xA261481: ??? (in
/mounts/mp_0001/usr/lib64/ruby/vendor_ruby/2.1.0/x86_64-linux-gnu/yast/builtinx.so)
==3078== by 0x81EAA53: ??? (in /mounts/mp_0001/usr/lib64/libruby.so.2.1.0)
==3078== by 0x81EEEE4: ??? (in /mounts/mp_0001/usr/lib64/libruby.so.2.1.0)
==3078== Address 0xb34ff0c is 12 bytes inside a block of size 13 alloc'd
==3078== at 0x4C28940: malloc (in
/mounts/mp_0005/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3078== by 0x717AD09: strdup (strdup.c:42)
==3078== by 0x55C7F23: Y2ProgramComponent::sendToExternal(std::string
const&) (in /mounts/mp_0001/usr/lib64/liby2.so.4.0.0)
==3078== by 0x55C8464: Y2ProgramComponent::sendToExternal(YCPValue const&)
(in /mounts/mp_0001/usr/lib64/liby2.so.4.0.0)
==3078== by 0x55C84FC: Y2ProgramComponent::evaluate(YCPValue const&) (in
/mounts/mp_0001/usr/lib64/liby2.so.4.0.0)
==3078== by 0x505629E: ScriptingAgent::executeSubagentCommand(char const*,
YCPPath const&, YCPValue const&, YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2scr.so.2.0.0)
==3078== by 0x5057182: ScriptingAgent::Read(YCPPath const&, YCPValue const&,
YCPValue const&) (in /mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2scr.so.2.0.0)
==3078== by 0x57E1693: ??? (in /mounts/mp_0001/usr/lib64/libscr.so.3.0.0)
==3078== by 0x57E1954: ??? (in /mounts/mp_0001/usr/lib64/libscr.so.3.0.0)
==3078== by 0x52D941F: YEBuiltin::evaluate(bool) (in
/mounts/mp_0001/usr/lib64/libycp.so.5.0.0)
==3078== by 0xA260EF2: ??? (in
/mounts/mp_0001/usr/lib64/ruby/vendor_ruby/2.1.0/x86_64-linux-gnu/yast/builtinx.so)
==3078== by 0xA261481: ??? (in
/mounts/mp_0001/usr/lib64/ruby/vendor_ruby/2.1.0/x86_64-linux-gnu/yast/builtinx.so)
==3078==
This twice. I cannot understand that, the code looks OK:
char *v = NULL;
if (is_non_y2) v = strdup(value.c_str()); // no brackets
else v = strdup(("(" + value + ")").c_str());
bool error = (write(to_external[1], v, strlen(v)) < 0);
==3078== Thread 3:
==3078== Syscall param writev(vector[...]) points to uninitialised byte(s)
==3078== at 0x71D7870: writev (writev.c:54)
==3078== by 0xE13857D: ??? (in /mounts/mp_0000/usr/lib64/libxcb.so.1.1.0)
==3078== by 0xE138910: ??? (in /mounts/mp_0000/usr/lib64/libxcb.so.1.1.0)
==3078== by 0xE139026: ??? (in /mounts/mp_0000/usr/lib64/libxcb.so.1.1.0)
==3078== by 0xE139C12: ??? (in /mounts/mp_0000/usr/lib64/libxcb.so.1.1.0)
==3078== by 0xE139C91: xcb_wait_for_reply (in
/mounts/mp_0000/usr/lib64/libxcb.so.1.1.0)
==3078== by 0x14F38A49: ??? (in
/mounts/mp_0001/usr/lib64/qt5/plugins/platforms/libqxcb.so)
==3078== by 0x14F4D17E: ??? (in
/mounts/mp_0001/usr/lib64/qt5/plugins/platforms/libqxcb.so)
==3078== by 0xD0DC20D: QWindow::requestActivate() (in
/mounts/mp_0001/usr/lib64/libQt5Gui.so.5.3.0)
==3078== by 0x14F4A7A8: ??? (in
/mounts/mp_0001/usr/lib64/qt5/plugins/platforms/libqxcb.so)
==3078== by 0x14F3B2A5: ??? (in
/mounts/mp_0001/usr/lib64/qt5/plugins/platforms/libqxcb.so)
==3078== by 0x14F3BF1A: ??? (in
/mounts/mp_0001/usr/lib64/qt5/plugins/platforms/libqxcb.so)
==3078== Address 0xbc0e666 is 4,550 bytes inside a block of size 21,144
alloc'd
==3078== at 0x4C2AA30: calloc (in
/mounts/mp_0005/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3078== by 0xE137F6B: xcb_connect_to_fd (in
/mounts/mp_0000/usr/lib64/libxcb.so.1.1.0)
==3078== by 0xE13B7A9: xcb_connect_to_display_with_auth_info (in
/mounts/mp_0000/usr/lib64/libxcb.so.1.1.0)
==3078== by 0xC3E90F9: _XConnectXCB (in
/mounts/mp_0000/usr/lib64/libX11.so.6.3.0)
==3078== by 0xC3DA59E: XOpenDisplay (in
/mounts/mp_0000/usr/lib64/libX11.so.6.3.0)
==3078== by 0x14F3CADA: ??? (in
/mounts/mp_0001/usr/lib64/qt5/plugins/platforms/libqxcb.so)
==3078== by 0x14F3EA0D: ??? (in
/mounts/mp_0001/usr/lib64/qt5/plugins/platforms/libqxcb.so)
==3078== by 0x14F4F33A: ??? (in
/mounts/mp_0001/usr/lib64/qt5/plugins/platforms/libqxcb.so)
==3078== by 0xD0C52A0: QPlatformIntegrationFactory::create(QString const&,
QStringList const&, int&, char**, QString const&) (in
/mounts/mp_0001/usr/lib64/libQt5Gui.so.5.3.0)
==3078== by 0xD0D0580: QGuiApplicationPrivate::createPlatformIntegration()
(in /mounts/mp_0001/usr/lib64/libQt5Gui.so.5.3.0)
==3078== by 0xD0D10CC: QGuiApplicationPrivate::createEventDispatcher() (in
/mounts/mp_0001/usr/lib64/libQt5Gui.so.5.3.0)
==3078== by 0xCBA7680: QCoreApplication::init() (in
/mounts/mp_0001/usr/lib64/libQt5Core.so.5.3.0)
==3078==
^ This could be relevant, but it was at the very beginning at the license/beta
popup, not sure if related to this bug.
==3078== Thread 1:
==3078== Conditional jump or move depends on uninitialised value(s)
==3078== at 0x205167E7: get_dvd_profile (in /usr/lib64/libhd.so.21.3)
==3078== by 0x20523CCA: ??? (in /usr/lib64/libhd.so.21.3)
==3078== by 0x205243EE: hd_scan_sysfs_block (in /usr/lib64/libhd.so.21.3)
==3078== by 0x204F5567: hd_scan (in /usr/lib64/libhd.so.21.3)
==3078== by 0x204F6104: hd_list (in /usr/lib64/libhd.so.21.3)
==3078== by 0x202BF738: HwProbe::byItem(hw_item, HwProbe::hwinfo_settings)
(in /mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x202A49A0: HwProbe::checkPath(YCPPath const&, YCPValue const&,
YCPValue const&, int) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x202A5640: HwProbe::Read(YCPPath const&, YCPValue const&,
YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x202C4CB5: Y2AgentComp<HwProbe>::evaluate(YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x55CB64E: Y2PluginComponent::evaluate(YCPValue const&) (in
/mounts/mp_0001/usr/lib64/liby2.so.4.0.0)
==3078== by 0x505629E: ScriptingAgent::executeSubagentCommand(char const*,
YCPPath const&, YCPValue const&, YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2scr.so.2.0.0)
==3078== by 0x5057182: ScriptingAgent::Read(YCPPath const&, YCPValue const&,
YCPValue const&) (in /mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2scr.so.2.0.0)
==3078==
==3078== Conditional jump or move depends on uninitialised value(s)
==3078== at 0x4C288ED: malloc (in
/mounts/mp_0005/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3078== by 0x205167F7: get_dvd_profile (in /usr/lib64/libhd.so.21.3)
==3078== by 0x20523CCA: ??? (in /usr/lib64/libhd.so.21.3)
==3078== by 0x205243EE: hd_scan_sysfs_block (in /usr/lib64/libhd.so.21.3)
==3078== by 0x204F5567: hd_scan (in /usr/lib64/libhd.so.21.3)
==3078== by 0x204F6104: hd_list (in /usr/lib64/libhd.so.21.3)
==3078== by 0x202BF738: HwProbe::byItem(hw_item, HwProbe::hwinfo_settings)
(in /mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x202A49A0: HwProbe::checkPath(YCPPath const&, YCPValue const&,
YCPValue const&, int) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x202A5640: HwProbe::Read(YCPPath const&, YCPValue const&,
YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x202C4CB5: Y2AgentComp<HwProbe>::evaluate(YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2ag_hwprobe.so.2.0.0)
==3078== by 0x55CB64E: Y2PluginComponent::evaluate(YCPValue const&) (in
/mounts/mp_0001/usr/lib64/liby2.so.4.0.0)
==3078== by 0x505629E: ScriptingAgent::executeSubagentCommand(char const*,
YCPPath const&, YCPValue const&, YCPValue const&) (in
/mounts/mp_0001/usr/lib64/YaST2/plugin/libpy2scr.so.2.0.0)
==3078==
libhd again
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.