[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installation of Recommends by default on October 1st

On Thu, 02 Aug 2007, Loïc Minier wrote:
> On Thu, Aug 02, 2007, Don Armstrong wrote:
> > If they don't enable core dumps in the default config, the backtraces
> > aren't going to be terribly useful (or may not even exist), right?
> > Then the -dbg packages aren't going to help much either.
>  Do you suggest that running gdb on a core dumps makes backtraces
>  nicer?

I don't know actually; I've never used the libgnome SEGV handler.

>  Currently, most backtraces we get are either generated by running
>  the application from gdb and reproducing the bug or running a segv
>  handler such as libgnomeui's (which spawns bug-buddy or debreaper
>  IIRC).

It may be that the right thing to do is:

1) Segv handler saves the coredump if the user says to (or coredumps
   are on)

2) bug-buddy or debreaper (or whatever) 
   a) prompts to install appropriate -dbg packages if they're not
      already available;
   b) backtraces the coredump from the segv handler using gdb (or
   c) appends that to the bug report
   d) possibly stores the coredump somewhere for future

[With the caveat that I am not familiar with the gnome internals;
someone else can probably adapt the above more appropriately.]

Don Armstrong

"The trouble with you, Ibid" he said, "is that you think you're the
biggest bloody authority on everything"
 -- Terry Pratchet _Pyramids_ p146

http://www.donarmstrong.com              http://rzlab.ucr.edu

Reply to: