Re: meaningful backtraces for crashes

2015-02-01 Thread Nico Schlömer
Thanks Paul for the concise explanation. This helped me fixing the
error within minutes!

Cheers,
Nico

On Sun, Feb 1, 2015 at 4:37 AM, Paul Wise p...@debian.org wrote:
 On Sat, Jan 31, 2015 at 8:40 PM, Nico Schlömer wrote:

 For Mixxx [1], I would like for users to produce meaningful backtraces
 in case of crashes (see [2]). What build options are needed or useful
 for debugging purposes? What's the canonical way for adding them to
 the Debian packages?

 Until [1] gets implemented, you will need to use debhelper 9, add a
 mixxx-dbg package to debian/control and override dh_strip to include
 the --dbg-package parameter:

 debian/compat:

 9

 debian/rules:

 override_dh_strip:
 dh_strip --dbg-package=mixxx-dbg

 debian/control:

 Build-Depends: debhelper (= 9)

 Package: mixxx-dbg
 Section: debug
 Architecture: any
 Priority: extra
 Depends:
  mixxx (= ${binary:Version}),
  ${misc:Depends}
 Description: debug files for mixxx
  This package contains debug information for mixxx
  .
  It can be used to debug mixxx using a debugger if it crashes due to
 programming errors.

 1. https://wiki.debian.org/AutomaticDebugPackages

 --
 bye,
 pabs

 https://wiki.debian.org/PaulWise


 --
 To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 https://lists.debian.org/caktje6ggua9pdim8tbwp-be33+qf3gbb-mxf_+uxkkt5vh...@mail.gmail.com



--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cak6z60fhns1f58fat0fsg_7zh9ou80wwlgstjbg1sno3zkb...@mail.gmail.com



Re: meaningful backtraces for crashes

2015-01-31 Thread Paul Wise
On Sat, Jan 31, 2015 at 8:40 PM, Nico Schlömer wrote:

 For Mixxx [1], I would like for users to produce meaningful backtraces
 in case of crashes (see [2]). What build options are needed or useful
 for debugging purposes? What's the canonical way for adding them to
 the Debian packages?

Until [1] gets implemented, you will need to use debhelper 9, add a
mixxx-dbg package to debian/control and override dh_strip to include
the --dbg-package parameter:

debian/compat:

9

debian/rules:

override_dh_strip:
dh_strip --dbg-package=mixxx-dbg

debian/control:

Build-Depends: debhelper (= 9)

Package: mixxx-dbg
Section: debug
Architecture: any
Priority: extra
Depends:
 mixxx (= ${binary:Version}),
 ${misc:Depends}
Description: debug files for mixxx
 This package contains debug information for mixxx
 .
 It can be used to debug mixxx using a debugger if it crashes due to
programming errors.

1. https://wiki.debian.org/AutomaticDebugPackages

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAKTje6GgUA9Pd=im8tbwp-be33+qf3gbb-mxf_+uxkkt5vh...@mail.gmail.com



meaningful backtraces for crashes

2015-01-31 Thread Nico Schlömer
Hi all,

For Mixxx [1], I would like for users to produce meaningful backtraces
in case of crashes (see [2]). What build options are needed or useful
for debugging purposes? What's the canonical way for adding them to
the Debian packages?

Cheers,
Nico


[1] https://packages.debian.org/sid/sound/mixxx
[2] https://bugs.launchpad.net/mixxx/+bug/1097703


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cak6z60ei8m1gtwzgsjywmdyqcesjylnjgntesalkpmf39ag...@mail.gmail.com