GNOME Bugzilla – Bug 347679
aisleriot 2.15.14 incorrect version parameter to bug-buddy
Last modified: 2012-01-31 23:18:06 UTC
I experienced a crash with aisleriot, but instead of bug-buddy being invoked to report the crash, the following error appears in a terminal: Unknown option --package-version=2.15.4 According to bug-buddy --help (2.15.0), that should be: --package-ver=VERSION I don't know if this will happen with all gnome-games or just aisleriot.
Created attachment 69023 [details] [review] Proposed solution.
Hello Jose, Thanks for the bugreport. I can confirm that bug-buddy is being invoked with incorrect parameters. I wonder why this has not been detected before. This bug is specific to aisleriot. If you have access to the source code of gnome-games 2.15.4, could you apply the above patch to see if it solves it?
I'm on Gentoo so applying the patch is no problem. However, so far I haven't been able to get aisleriot to crash to test it. There is a crasher there somewhere (it crashed on me several times yesterday) so I should be able to let you know if this patch worked (and report the original bug if it does work) within a day or so.
Now I get a different error: "Both the --pid and --appname arguments are required." That's from memory as I foolishly closed the error message before commenting here. 8-p
Accepting Andreas's patch and added --pid. Commited. Closing.
Jason, you didn't include the correction for --package-ver! Further, the patch should be backported to the gnome-2-14 branch.
When the final patch is ready, please post it here so I can test it. Also, I have another crasher (that may have already been reported) that I would like to get a stack trace from, but this bug prevents me from getting a trace through gdb as well as bug-buddy. Alternatively, can you provide something I can break on in gdb that will let me get a trace, prior to the attempt to invoke bug-buddy which then exits before I can get the trace. Thanks.
Woops! Sorry about that, Andreas. I have corrected it in CVS. Also, it has been backported to 2.14 branch. Attaching patch. Closing.
Created attachment 69250 [details] [review] changed line in cscmi.c patch for testers
Sorry for the spam.
Was the intended fix to disable use of bug-buddy altogether? When it crashes now, this is what I get: The crashed application (aisleriot) does not provide a system where to send the debug information. Please, check the about box of the application to check how to report a bug.
The trouble with this bug is finding a way to cause aisleriot to intentionally crash. What would help would be if you know of some way that you can cause a crash every time.
(In reply to comment #12) > The trouble with this bug is finding a way to cause aisleriot to intentionally > crash. What would help would be if you know of some way that you can cause a > crash every time. > Not a problem. The crash seems to be related to drag-and-drop, so a game like Isabel that is all dnd will reliably crash in 1-2 minutes of play (but not in gdb where it takes *much* longer for this crash to happen). That's the one I've been trying to get a stack trace for, and unfortunately whatever bug is keeping bug-buddy from working is also keeping me from getting a gdb stack trace as the program exits. I'm sure a more knowledgable user of gdb could set a breakpoint that would stop the program before this exit.
What arch is your crash on? I have been trying to get it to crash for 30 minutes ...
(In reply to comment #14) > What arch is your crash on? I have been trying to get it to crash for 30 > minutes ... > I'm running x86-64.
Okay, honestly, I have looked all over GNOME CVS trying to figure out where your latest error message is coming from and I've had no luck. I resorted to Google and came up with this: https://linux.ee/pipermail/gnome-et-cvs/2006-June/001700.html What distro are you running? What bug-buddy version? Also, I will be happy to look at your -64 crash in another bug once we figure out what's going on with bug-buddy, here.
Gentoo 1.12.1, bug-buddy 2.15.0, Gnome 2.15.4. The Gnome dev packages are not part of Gentoo Portage, with the ebuilds coming from the break-my-gentoo repository and the source tarballs straight from Gnome, i.e. there's no distro-based patching of the source yet so whatever I have you must have in Gnome CVS/SVN.
Does your ~/.gnome2/bug-buddy.d/bugzilla/gnome/products have aisleriot in it? With version 2.15.x ?
(In reply to comment #18) > Does your ~/.gnome2/bug-buddy.d/bugzilla/gnome/products have aisleriot in it? > With version 2.15.x ? > Yes: <product disallownew="0" name="gnome-games" milestoneurl="http://www.gnome.org/projects/gnome-games/" description="The GNOME games collection"> <component value="aisleriot" description="A flexible, extensible solitaire game." /> ---snip--- <version value="2.15.x" />
Jose, Your latest error message from bug-buddy is part of a much larger problem with bug-buddy changing and not telling anyone. I need to close this bug an open a new one for bug-buddy compatibility. Thanks for your help. The new bug is #348275. Closing.
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component. Apologies for the mass email!