On Fri, Feb 19, 2010 at 09:13:01AM +0100, Martin Pitt wrote: > Hello Bryce, > > Bryce Harrington [2010-02-18 18:55 -0800]: > > I synthetically created an X freeze to test the apport freeze collector, > > and here's the bug that got filed: > > > > https://bugs.edge.launchpad.net/ubuntu/+bug/524211 > > Congrats! It's great to see this working. > > One suggestion: The hook should create a default report['Title'] which > includes the chipset version, perhaps a text "GPU hang", and (if > that's appropriate) something like the last line of the GPU dump. This > would cause those bug reports to have a more common format, and will > be much more likely to get caught by Launchpad's proposed duplicates. > Is that possible?
I've coded up something to set a default title. I don't think that there is a single line in the dump which would definitively identify duplicate freezes. The dump isn't like a trace where the last line is the last thing executed, it's more like the contents of a range of memory addresses at the point of freeze. So it would not be unusual to find two different crashes with the same value on a given line in the file, and it looks like there's only a small handful of possible values so chance of incorrect duping would probably be high. Anyway, instead I've just done an md5 hash of the whole file and stuck that in the title, since if two people give identical dumps then at least in that case we can be 100% sure the bugs should be set as dupes. Bryce -- Ubuntu-x mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-x
