Bug 402505 - No debug symbols available for binary packages
Summary: No debug symbols available for binary packages
Status: RESOLVED FIXED
Alias: None
Product: Craft
Classification: Developer tools
Component: Core (show other bugs)
Version: stable
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks: 373980 404177
  Show dependency treegraph
 
Reported: 2018-12-23 16:53 UTC by Ralf Habacker
Modified: 2019-02-11 21:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2018-12-23 16:53:02 UTC
Binaries created at KDE binary factory does not provide any debug symbols in the opposite to the binaries generated from obs.

STEPS TO REPRODUCE
1. download the portable binary package from https://binary-factory.kde.org/job/Umbrello_Nightly_win64/
2. unpack it
3. inspect to see if there are any .pdb (msvc) or gcc related debug (.sym, .dbg) files

OBSERVED RESULT
There are no symbols files available, neither included or downloadable from the above mentioned website.

EXPECTED RESULT
It should be a way to get debug symbols for the related binary package to be able to get valid backtraces in crashing case. Otherwise it would not be possible to give developers detailed crash informations.

ADDITIONAL INFORMATIONS
Normally KDE applications uses drkonqi to report crash reports. Unfortunally drkonqi on Windows is not ready yet to take this task (see bug 396893, 396915 and 396909). In the meantime the debug symbols are usable by 3rdparty tools like windbg or cdb (for msvc builds) and gdb (for gcc builds) to get valid back traces.

Forcing end users to compile a local copy of the related application for getting back traces looks not to be an efficient way.
Comment 2 Ralf Habacker 2019-02-11 00:43:00 UTC
(In reply to Hannah von Reth from comment #1)
> Fixed in
> https://cgit.kde.org/craft.git/commit/
> ?id=d1ca78d5445d0849ee4106a0a5256543c5c22f89
Thanks for enabling this. 
> and
> https://cgit.kde.org/craft-blueprints-kde.git/commit/
> ?id=2f73393f5e4aea5b0990507f059cf2f6222f5b65
With build 319 the debug symbol file package is empty. Will check again tomorrow. 

Does this work for mingw builds also out of the box ?
Comment 3 Ralf Habacker 2019-02-11 00:48:08 UTC
(In reply to Ralf Habacker from comment #2)
> Does this work for mingw builds also out of the box ?
I'm asking because kmymoney uses msvc and mingw builds.
Comment 4 Hannah von Reth 2019-02-11 10:37:59 UTC
The build 319 was before the blacklist of pdbs was removed.

Since https://cgit.kde.org/craft.git/commit/?id=1361c1db20de316ac0f8177bce43903cd1e01782

we should have sym files for gcc.

For mac we need to generate them and adjust the dmg packager to create a dbg artifact.
Comment 5 Ralf Habacker 2019-02-11 11:58:53 UTC
> we should have sym files for gcc.
Can you enable mingw builds for umbrello too for inspecting ?
Comment 6 Hannah von Reth 2019-02-11 21:52:18 UTC
319 was before the blacklist fix.
Gcc builds should have sym files, might be broken.
Umbrello depends on kdevelop which depends on webengine which isnt supported on mingw.