[Bug 225623] New: "yast2 sysconfig" dies from 'St9bad_alloc'
https://bugzilla.novell.com/show_bug.cgi?id=225623 Summary: "yast2 sysconfig" dies from 'St9bad_alloc' Product: openSUSE 10.2 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: neutrinoparticles@hotmail.com QAContact: jsrain@novell.com I'm using the x86_64 edition of openSUSE 10.2 RC1. I'm using an AMD64 system. When running "yast2 sysconfig" the output is: terminate called after throwing an instance of 'St9bad_alloc' what(): St9bad_alloc /sbin/yast2: line 274: 4207 Aborted $ybindir/y2base $module "$@" "$SELECTED_GUI" "$Y2_GEOMETRY" $Y2QT_ARGS When running "yast2 sw_single" the output is: terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc /sbin/yast2: line 274: 4674 Aborted $ybindir/y2base $module "$@" "$SELECTED_GUI" "$Y2_GEOMETRY" $Y2QT_ARGS This happens frequently in the Sysconfig utility and occasionally, the Software Management utility. I can sometimes reproduce it by going into Sysconfig, opening any category, for example "Applications" then "ispell" and quickly highlighting each option over and over with the cursor. Sometimes sw_single will just crash with that error message without any user action. I thought it could be a memory problem, so I ran memtest, and it had zero errors. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |neutrinoparticles@hotmail.com ------- Comment #1 from mhorvath@novell.com 2006-12-03 18:50 MST ------- Please attach your yast logs (http://en.opensuse.org/Bugs/YaST), output of the 'free' command after the yast's 'std::bad_alloc' failure and your /var/log/messages. Thank you. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Blocker |Normal -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 ------- Comment #2 from neutrinoparticles@hotmail.com 2006-12-03 19:04 MST ------- After the crash: linux-20sa:~ # free total used free shared buffers cached Mem: 188128 169268 18860 0 0 98056 -/+ buffers/cache: 71212 116916 Swap: 257000 108 256892 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 ------- Comment #3 from neutrinoparticles@hotmail.com 2006-12-03 19:15 MST ------- Created an attachment (id=108033) --> (https://bugzilla.novell.com/attachment.cgi?id=108033&action=view) /var/log/messages after the crash -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 neutrinoparticles@hotmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED ------- Comment #4 from neutrinoparticles@hotmail.com 2006-12-03 19:31 MST ------- Created an attachment (id=108034) --> (https://bugzilla.novell.com/attachment.cgi?id=108034&action=view) y2logs after the crash -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |lslezak@novell.com |screening@forge.provo.novell| |.com | Status|ASSIGNED |NEW -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |neutrinoparticles@hotmail.com ------- Comment #5 from lslezak@novell.com 2006-12-05 23:53 MST ------- I couldn't reproduce it on a 32bit machine, it might be 64-bit specific... Please, attach a backtrace of the crash. (Start the debugger using 'gdb /usr/lib/YaST2/bin/y2base' command, use 'run sysconfig qt' command to start the yast module. Then try to reproduce the problem. When yast crashes use 'bt' command and attach the output). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 ------- Comment #6 from neutrinoparticles@hotmail.com 2006-12-06 17:11 MST ------- Created an attachment (id=108610) --> (https://bugzilla.novell.com/attachment.cgi?id=108610&action=view) Output of gdb Done. Here is the output of the "bt" command in gdb after it crashes. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 neutrinoparticles@hotmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|neutrinoparticles@hotmail.co| |m | ------- Comment #7 from neutrinoparticles@hotmail.com 2006-12-06 17:15 MST ------- Oops. . . forgot to re-status it. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lslezak@novell.com |sh@novell.com Status|ASSIGNED |NEW ------- Comment #8 from lslezak@novell.com 2006-12-06 22:49 MST ------- The bug is in the Qt UI or in Qt library. -- 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, or are watching someone who is.
From that backtrace I am pretty sure this is in the Qt lib itself: From the Qt
https://bugzilla.novell.com/show_bug.cgi?id=225623 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sh@novell.com |kde-maintainers@suse.de Summary|"yast2 sysconfig" dies from |"yast2 sysconfig" dies from 'St9bad_alloc' |'St9bad_alloc' |during Qt tooltip operation ------- Comment #9 from sh@novell.com 2006-12-07 04:11 MST ------- main loop via the Qt tool tip handling directly to the crash site without any YaST2 specific code in between. The y2logs indicate that this did not happen upon program startup, but during normal program operation, if this is any help. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |llunak@novell.com AssignedTo|kde-maintainers@suse.de |sh@novell.com ------- Comment #10 from llunak@novell.com 2006-12-07 04:55 MST -------
From that backtrace I am pretty sure that you cannot be sure about anything. The failed allocation can come either from bogus allocation size, which seems very unlikely given that it's trying to allocate a copy of a hardcoded string, or it is a heap corruption coming from who knows where. Valgrind will come handy here. I myself cannot reproduce any problem.
Reporter: Install matching debuginfo packages, run "valgrind --tool=memcheck --num-callers=20 /usr/lib/YaST2/bin/y2base sysconfig qt" and attach the output. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 ------- Comment #11 from coolo@novell.com 2006-12-07 05:43 MST ------- matching debuginfo packages: yast2-qt-debuginfo qt3-debuginfo xorg-x11-libs-debuginfo -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 ------- Comment #15 from neutrinoparticles@hotmail.com 2006-12-07 06:30 MST ------- It's release day! I thank you all for your work openSUSE. Should I install the released version before I do anything else? If "no", then I don't have any packages that match the keyword "debuginfo" in the package manager. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 ------- Comment #16 from sh@novell.com 2006-12-07 06:34 MST ------- I don't think there will be many changes in that area from the version you used to the final version. So feel free to check with one or the other. Maybe the bug is simply gone in the final version - but I doubt that very much. ;-) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |neutrinoparticles@hotmail.com ------- Comment #17 from sh@novell.com 2006-12-19 06:53 MST ------- Any news on this? I cannot reproduce it. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 ------- Comment #18 from neutrinoparticles@hotmail.com 2006-12-19 11:36 MST ------- There are no debug packages, because the debug repository isn't up yet. I compiled MythTV on it and got the same error when trying to run mythfrontend. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sh@novell.com |kde-maintainers@suse.de Status|NEEDINFO |NEW Info Provider|neutrinoparticles@hotmail.co| |m | ------- Comment #19 from sh@novell.com 2006-12-20 04:29 MST ------- (In reply to comment #18)
There are no debug packages, because the debug repository isn't up yet. I compiled MythTV on it and got the same error when trying to run mythfrontend.
That's a really important detail. This confirms that this is below the yast2-qt layers -- in libqt or even deeper. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 ------- Comment #20 from neutrinoparticles@hotmail.com 2006-12-22 07:50 MST ------- Okay, debug packages are up. I'm going to install valgrind now. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |neutrinoparticles@hotmail.com -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 ------- Comment #21 from akennedy@marxmail.net 2007-02-28 17:49 MST ------- I've abandoned testing, but decided to post this to provide some closure. I did install valgrind with the debug packages . . . with no results. Under valgrind, using the suggested commands above, "yast2 sw_single" as well as "yast2 sysconfig" would continue to run without the error I described. I am not able to do any more testing, as I have switched to MythDora for my video recording. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623 rich@hq.vsaa.lv changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rich@hq.vsaa.lv ------- Comment #22 from rich@hq.vsaa.lv 2007-03-13 09:27 MST ------- this might be related and might not... 10.2, x86_64. whenever i add oss installation source (which is added without any problems) and subsequently attempt to launch software management, yast gives error "There was an error in installation source initialization.". then it opens software management, but without oss repository. if i have, for example, only non-oss repository added, i get no errors at all. after the error, y2log has : [susetags] PackagesParser.cc(parsePackagesDiskUsage):394 Starting to parse packages disk usage /var/lib/zypp/cache/Source.qZgb4V/DATA/descr/packages.DU [TagFileParser] TagFileParser.cc(parse):109 Started parsing /var/lib/zypp/cache/Source.qZgb4V/DATA/descr/packages.DU [wfm] PkgModuleFunctions.cc(evaluateCall):144 Caught an unhandled exception: St9bad_alloc [wfm] clients/sw_single.ycp:185 Pkg Builtin called: LastError this is console yast, so probably has no connection to qt. are there any tests that could be useful ? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225623#c23
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=225623#c24
--- Comment #24 from Aaron Kennedy
participants (1)
-
bugzilla_noreply@novell.com