Optional install *.pdb file with debug symbols (Windows)

Bug #1456107 reported by Daniel Schürmann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
High
RJ Skerry-Ryan

Bug Description

Currently our windows builds are configured in a way that the debugging symbols are stored in a *.pdb file.
Unfortunately it is not distributed.
For debugging issues like Bug #1448630 it is required to access the pdb file.

This can be achieved by distribute it with the installer packages.

This bug is similar to Bug #1097703 on Linux. Is debugging on Mac possible or do we suffer a similar issue there?

Revision history for this message
Daniel Schürmann (daschuer) wrote :

This is critical, because it blocks a solution for Bug #1448630

Changed in mixxx:
milestone: none → 1.12.0
importance: Undecided → Critical
Revision history for this message
Daniel Schürmann (daschuer) wrote :

For bug #1458380 this will help as well

Revision history for this message
Owen Williams (ywwg) wrote :

not critical, but High because it makes debugging hard.

Changed in mixxx:
importance: Critical → High
Changed in mixxx:
status: New → Confirmed
Revision history for this message
Owen Williams (ywwg) wrote :

RJ is this an easy fix?

Changed in mixxx:
assignee: nobody → RJ Ryan (rryan)
Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

If the presence of the .pdb fies is all that's needed, we can just edit the NSIS script to include them if it's a debug build.

Revision history for this message
Owen Williams (ywwg) wrote :

can you try to do it, o future buildmaster? :)

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 1456107] Re: Optional install *.pdb file with debug symbols (Windows)

I already have a patch so I can try to revive that

On Thu, Nov 19, 2015, 6:45 AM Owen Williams <email address hidden> wrote:

> can you try to do it, o future buildmaster? :)
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1456107
>
> Title:
> Optional install *.pdb file with debug symbols (Windows)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1456107/+subscriptions
>

Revision history for this message
Owen Williams (ywwg) wrote :

I kicked off a debug build, we'll see if it works

Changed in mixxx:
status: Confirmed → Fix Committed
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Cool thank you.

What do you finally plan?

It would be great if we could provide the pdbs for release build.
I think of two separate downloads, one setup including the pdbs and one without since the pdbs are large.

An other option would be a separate pdbs only setup, but that's different project.

If we experience a crasher of the release somewhere out there we are able to generate a verbose backtrace of the release.

IMHO we do not need provide an unoptimized debug build with pdbs. This will behave different to the release.
This is only useful if you whant to single step though the code, but this happens only on a developer machine where
you have the source anyway.

Changed in mixxx:
status: Fix Committed → In Progress
Revision history for this message
Daniel Schürmann (daschuer) wrote :

I have to reopen this, because it is not entirely solved.
I have just tested it on Windows 10. I found these pdb files after install: (see below)
But not the most important mixxx.pdb

Debuginng the libraries works now like a charm. I have undated the wiki accordingly:
http://www.mixxx.org/wiki/doku.php/creating_backtraces?&#windows

Having the mixxx.pdb file for our final release would be helpful to debug things like
pending party stopper Bug #1523183.

12.11.2015 12:24 420.864 chromaprint.pdb
12.11.2015 12:23 2.796.544 libfftw-3.3.pdb
12.11.2015 12:21 1.936.384 libFLAC.pdb
12.11.2015 12:22 1.190.912 libHSS1394.pdb
12.11.2015 12:20 110.592 libid3tag.pdb
12.11.2015 12:20 94.208 libmad.pdb
12.11.2015 12:20 199.680 libogg.pdb
12.11.2015 12:20 1.936.384 libprotobuf-lite.pdb
19.11.2015 07:29 1.797.120 libshout.pdb
12.11.2015 12:22 945.152 libsndfile.pdb
12.11.2015 12:21 609.280 libvorbis.pdb
12.11.2015 12:21 240.640 libvorbisfile.pdb
12.11.2015 12:21 102.400 opus.pdb
12.11.2015 12:21 94.208 opusfile.pdb
12.11.2015 12:22 1.166.336 portaudio.pdb
12.11.2015 12:20 438.272 portmidi.pdb
12.11.2015 12:20 199.680 PortTime.pdb
12.11.2015 12:20 363.520 pthreadVC2.pdb
12.11.2015 12:22 2.690.048 rubberband.pdb
12.11.2015 12:19 1.199.104 sqlite3.pdb
17.11.2015 10:36 8.629.248 tag.pdb
12.11.2015 12:20 470.016 zlibwapi.pdb

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

This is fixed now:

http://builds.mixxx.org:8081/jenkins/job/1.12-release/247/architecture=i386,platform=windows/consoleFull

Install file: "win32_build\mixxx-test.pdb" as "dist32\mixxx-test.pdb"
Install file: "win32_build\mixxx.pdb" as "dist32\mixxx.pdb"

Changed in mixxx:
status: In Progress → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

We disabled bundling for the 2.0 final build. We have the PDBs for the 2.0 release saved though, so we can publish a "mixxx-2.0.0-pdbs.zip" or something on downloads.mixxx.org for diagnosing user reports in the wild.

Any 1.12 build that is 33M / 36M (x86/x64) should have the mixxx.pdb and mixxx-test.pdb included:
http://downloads.mixxx.org/builds/2.0/release/
Note the size jump with git5737 and then subsequent drop on git5772 (2.0 final).

master branch builds have bundled PDBs now as well starting with master-git5531.
http://downloads.mixxx.org/builds/master/release/

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Please do publish the ones for the release and put the link on the creating_backtraces wiki page. I already need it for a bug someone recently filed.

Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/8032

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.