After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 347679 - aisleriot 2.15.14 incorrect version parameter to bug-buddy
aisleriot 2.15.14 incorrect version parameter to bug-buddy
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
2.15.x
Other Linux
: Normal normal
: ---
Assigned To: Jason Clinton
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-16 15:27 UTC by Jose M. daLuz
Modified: 2012-01-31 23:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed solution. (451 bytes, patch)
2006-07-17 09:03 UTC, Andreas Røsdal
none Details | Review
changed line in cscmi.c (782 bytes, patch)
2006-07-20 13:24 UTC, Jason Clinton
none Details | Review

Description Jose M. daLuz 2006-07-16 15:27:56 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.
Comment 1 Andreas Røsdal 2006-07-17 09:03:28 UTC
Created attachment 69023 [details] [review]
Proposed solution.
Comment 2 Andreas Røsdal 2006-07-17 09:06:46 UTC
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?
Comment 3 Jose M. daLuz 2006-07-17 13:21:32 UTC
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.
Comment 4 Jose M. daLuz 2006-07-17 14:33:01 UTC
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
Comment 5 Jason Clinton 2006-07-18 22:19:12 UTC
Accepting Andreas's patch and added --pid. Commited. Closing.
Comment 6 Andreas Røsdal 2006-07-20 08:50:23 UTC
Jason, you didn't include the correction for --package-ver! Further, the patch should be backported to the gnome-2-14 branch.
Comment 7 Jose M. daLuz 2006-07-20 12:20:33 UTC
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.
Comment 8 Jason Clinton 2006-07-20 13:23:19 UTC
Woops! Sorry about that, Andreas. I have corrected it in CVS. Also, it has been backported to 2.14 branch.

Attaching patch. Closing.
Comment 9 Jason Clinton 2006-07-20 13:24:42 UTC
Created attachment 69250 [details] [review]
changed line in cscmi.c

patch for testers
Comment 10 Jason Clinton 2006-07-20 13:27:54 UTC
Sorry for the spam.
Comment 11 Jose M. daLuz 2006-07-20 14:03:05 UTC
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.
Comment 12 Jason Clinton 2006-07-20 14:24:18 UTC
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.
Comment 13 Jose M. daLuz 2006-07-20 14:35:48 UTC
(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.
Comment 14 Jason Clinton 2006-07-20 16:30:48 UTC
What arch is your crash on? I have been trying to get it to crash for 30 minutes ...
Comment 15 Jose M. daLuz 2006-07-20 16:38:17 UTC
(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.
Comment 16 Jason Clinton 2006-07-20 17:33:30 UTC
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.
Comment 17 Jose M. daLuz 2006-07-20 17:43:44 UTC
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.
Comment 18 Jason Clinton 2006-07-20 18:32:17 UTC
Does your ~/.gnome2/bug-buddy.d/bugzilla/gnome/products have aisleriot in it? With version 2.15.x ?
Comment 19 Jose M. daLuz 2006-07-20 18:54:26 UTC
(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" />

Comment 20 Jason Clinton 2006-07-21 18:38:45 UTC
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.
Comment 21 Robert Ancell 2012-01-31 23:18:06 UTC
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component.  Apologies for the mass email!