PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 538 - Provide PySide version with debugging symbols
: Provide PySide version with debugging symbols
Status: NEW
Product: PySide
Classification: Unclassified
Component: packaging
: 1.0.0 beta1
: All MS Windows XP/Vista/7
: P4 enhancement
Assigned To: Roman Lacko
:
:
:
  Show dependency treegraph
 
Reported: 2010-12-09 07:30 EET by Vladimir Rutsky
Modified: 2012-03-08 16:57 EET (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Rutsky 2010-12-09 07:30:19 EET
Debugging symbols are critical for debugging when crashes inside PySide
emerges.
Comment 1 Matti Airas 2010-12-09 07:40:00 EET
Thanks for the bug.

Roman Lacko takes care of PySide Windows packaging. He apparently hasn't
registered to our Bugzilla yet--I'll request him to do that and then move the
bug over to him.
Comment 2 Hugo Parente Lima 2011-02-09 18:40:45 EET
I'm changing the priority to P4. Provide debug packages for windows requires a
huge effort because you need to have all dependencies compiled as debug or you
will have random crashes due to the use of two different msvcrt libraries in
the same process, so if the developer want to debug on Windows I think he's
capable of doing it by yourself.
Comment 3 Vladimir Rutsky 2011-02-10 06:23:11 EET
I agree, that building PySide and all dependencies in debug is a hard work.

But not always debug build is required for debugging. In this bug report I
meant to build PySide in release, but with debugging symbols. To do so on
Windows I changed CMakeLists.txt and added 
  set(CMAKE_BUILD_TYPE RelWithDebInfo)
to build configuration. So now I have *.pdb files for PySide dll's and at least
can see call stack when something crashes.
Comment 4 Hugo Parente Lima 2011-02-10 11:06:15 EET
(In reply to comment #3)
> I agree, that building PySide and all dependencies in debug is a hard work.
> 
> But not always debug build is required for debugging. In this bug report I
> meant to build PySide in release, but with debugging symbols. To do so on
> Windows I changed CMakeLists.txt and added 
>   set(CMAKE_BUILD_TYPE RelWithDebInfo)
> to build configuration. So now I have *.pdb files for PySide dll's and at least
> can see call stack when something crashes.

You are right, this is better than no debug at all, you can contact Roman Lacko
and help him with this, I don't want to push more work to Roman, he's already
doing a great job with the windows distribution.
Comment 5 Vladimir Rutsky 2011-02-11 15:51:11 EET
(In reply to comment #4)
> (In reply to comment #3)
> > I agree, that building PySide and all dependencies in debug is a hard work.
> > 
> > But not always debug build is required for debugging. In this bug report I
> > meant to build PySide in release, but with debugging symbols. To do so on
> > Windows I changed CMakeLists.txt and added 
> >   set(CMAKE_BUILD_TYPE RelWithDebInfo)
> > to build configuration. So now I have *.pdb files for PySide dll's and at least
> > can see call stack when something crashes.
> 
> You are right, this is better than no debug at all, you can contact Roman Lacko
> and help him with this, I don't want to push more work to Roman, he's already
> doing a great job with the windows distribution.

I'm off the project based on PySide, as soon as I'll be back working close to
PySide I'll try to contribute. One of the problems in build scripts for windows
is that they not published by Roman Lacko in any repository so developers can't
centrally contribute to they (actually I don't know what is the situation with
repository now, but I failed to found anything like it about two months ago).
Comment 6 Roman Lacko 2011-02-11 19:16:56 EET
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > I agree, that building PySide and all dependencies in debug is a hard work.
> > > 
> > > But not always debug build is required for debugging. In this bug report I
> > > meant to build PySide in release, but with debugging symbols. To do so on
> > > Windows I changed CMakeLists.txt and added 
> > >   set(CMAKE_BUILD_TYPE RelWithDebInfo)
> > > to build configuration. So now I have *.pdb files for PySide dll's and at least
> > > can see call stack when something crashes.
> > 
> > You are right, this is better than no debug at all, you can contact Roman Lacko
> > and help him with this, I don't want to push more work to Roman, he's already
> > doing a great job with the windows distribution.
> 
> I'm off the project based on PySide, as soon as I'll be back working close to
> PySide I'll try to contribute. One of the problems in build scripts for windows
> is that they not published by Roman Lacko in any repository so developers can't
> centrally contribute to they (actually I don't know what is the situation with
> repository now, but I failed to found anything like it about two months ago).

Hi,
I promise I will upload the buildscipts to PySide repository ASAP. Until then I
will try to create and upload distribution with debug symbols.
Comment 7 Vladimir Rutsky 2011-02-14 06:00:51 EET
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > (In reply to comment #3)
> > > > I agree, that building PySide and all dependencies in debug is a hard work.
> > > > 
> > > > But not always debug build is required for debugging. In this bug report I
> > > > meant to build PySide in release, but with debugging symbols. To do so on
> > > > Windows I changed CMakeLists.txt and added 
> > > >   set(CMAKE_BUILD_TYPE RelWithDebInfo)
> > > > to build configuration. So now I have *.pdb files for PySide dll's and at least
> > > > can see call stack when something crashes.
> > > 
> > > You are right, this is better than no debug at all, you can contact Roman Lacko
> > > and help him with this, I don't want to push more work to Roman, he's already
> > > doing a great job with the windows distribution.
> > 
> > I'm off the project based on PySide, as soon as I'll be back working close to
> > PySide I'll try to contribute. One of the problems in build scripts for windows
> > is that they not published by Roman Lacko in any repository so developers can't
> > centrally contribute to they (actually I don't know what is the situation with
> > repository now, but I failed to found anything like it about two months ago).
> 
> Hi,
> I promise I will upload the buildscipts to PySide repository ASAP. Until then I
> will try to create and upload distribution with debug symbols.

Roman, big thanks to you for work that you are doing for PySide and it's
community!
Comment 8 Hugo Parente Lima 2011-06-07 20:36:51 EEST
Changing the status to WAITING, as this will be feasible only when the Qt and
Python developers provide debug versions for MSVC of their products otherwise
generate debug packages will be a pain.

Roman, if you agree we can mark this bug as WONTFIX, as I believe that there
will not exist debug versions of those packages (Qt and Python) for MSVC soon
causing this bug can stay here forever.
Comment 9 Vladimir Rutsky 2011-06-07 20:50:00 EEST
Hugo,

I suggest to provide debug symbols only for PySide libraries as I noted in
comment 3 and you agreed comment 4, that this would be better solution that no
debugging symbols at all.
Comment 10 Hugo Parente Lima 2011-06-07 21:33:48 EEST
(In reply to comment #9)
> Hugo,
> 
> I suggest to provide debug symbols only for PySide libraries as I noted in
> comment 3 and you agreed comment 4, that this would be better solution that no
> debugging symbols at all.

Right, I tried to use my memory about this bug report instead of reading all
comments... duh!

Changing the status to NEW.
Comment 11 Matti Airas 2012-03-08 16:57:50 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!