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 948 - SEGFAULT
: SEGFAULT
Status: REOPENED
Product: PySide Mobility
Classification: Unclassified
Component: Location
: 0.2.0
: N900 Linux
: P3 major
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-07-28 12:35 EEST by dom
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 dom 2011-07-28 12:35:22 EEST
After upgrading to python-pyside 1.0.5-1maemo1 trying to import PySide
QtMobility modules lead to a segfault. 

Python 2.5.4 (r254:67916, May 17 2010, 21:00:32) 
[GCC 4.2.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from QtMobility import Location
Segmentation fault

I guess that the problem is that pyside-mobility must be updated as well. But
shouldn't a PySide update automatically install the updated pyside-mobility
package as well?
Comment 1 dom 2011-07-28 16:56:15 EEST
Guess that might have to do with http://bugs.pyside.org/show_bug.cgi?id=818#c10
?
Comment 2 Hugo Parente Lima 2011-07-28 20:17:41 EEST
This is probably related to bug 878, a rebuild should solve the issue.
Comment 3 dom 2011-08-16 01:43:33 EEST
Just wanted to ask if there will be a new binary version of python-qtmobility
anytime soon. We are using N900s for the Caruso project http://www.caruso.mobi
and ATM updates (apt-get update; apt-get-upgrade) lead to an unusable system as
all python-qtmobility modules fail. 

Thanks a lot,
Dominik

p.s. I know I should probably 'limit the damage' but currently there are about
20 devices out 'in the wild' and it will take time to add the preference file:
http://wiki.maemo.org/Extras-devel#How_to_activate_Extras-devel
Comment 4 Bruno Araujo 2011-08-16 16:41:24 EEST
Please use the Python QtMobility 1.2 packages [1], released some time ago, for
a more updated version of QtMobility bindings.

[1] https://garage.maemo.org/pipermail/pymaemo-developers/2011-July/001547.html
Comment 5 Hugo Parente Lima 2011-08-17 00:35:47 EEST
This bug still valid? i.e. the package update solved the issue?
Comment 6 dom 2011-08-17 11:33:53 EEST
Thanks for your hints! After updating to QtMobility 1.2 and *manually* setting
the PYTHONPATH, the problem is solved. 

Suggestion: Shouldn't PySide 1.0.5 have python-qtmobility12 as dependency?
Otherwise automatic upgrades lead to a broken PySide-QtMobility module. 

Greetings,
Dominik
Comment 7 Bruno Araujo 2011-08-17 17:35:46 EEST
(In reply to comment #6)

> Suggestion: Shouldn't PySide 1.0.5 have python-qtmobility12 as dependency?
> Otherwise automatic upgrades lead to a broken PySide-QtMobility module. 

Unfortunately this can't be done, or else everyone wanting to install PySide
bindings would be forced to install PySide-QtMobility even if they don't want
or need it. Every time that a new PySide version is released all bindings that
use it must be recompiled; I don't really know if we can avoid this.

Based on Dominik's comments, I'll mark this bug as RESOLVED FIXED.
Comment 8 Hugo Parente Lima 2011-08-17 20:18:16 EEST
(In reply to comment #7)
> (In reply to comment #6)
> 
> > Suggestion: Shouldn't PySide 1.0.5 have python-qtmobility12 as dependency?
> > Otherwise automatic upgrades lead to a broken PySide-QtMobility module. 
> 
> Unfortunately this can't be done, or else everyone wanting to install PySide
> bindings would be forced to install PySide-QtMobility even if they don't want
> or need it. Every time that a new PySide version is released all bindings that
> use it must be recompiled; I don't really know if we can avoid this.

After the fix of bug 878 the modules depending on PySide still working after
PySide gets recompiled.

> Based on Dominik's comments, I'll mark this bug as RESOLVED FIXED.
Comment 9 tmp001 2011-10-12 15:34:07 EEST
Hi,
I have tried to install QtMultimedia 1.2 from Extras-devel. After an upgrade of
all qt relate packages I could think of, I am still getting the same error:

$ python -c "import QtMobility.Sensors"
Segmentation fault

If I do
PYTHONPATH=/opt/qtm12/lib/python2.5/site-packages:${PYTHONPATH} python -c
"import QtMobility.Sensors"

that works, but that's not useful for other software.

My QT-related packages:

ii  libpyside0.3                                        0.3.2-1maemo7          
         Python bindings for Qt 4 (base files)
ii  libpyside1.0                                        1.0.5-1maemo1          
         Python bindings for Qt 4 (base files)
ii  libqt4-bearer-hotfix                               
4.7.0~git20101112-0maemo1        Qt 4 Bearer Hotfix
ii  libqt4-core                                        
4.7.0~git20100909-0maemo1+0m5    Qt 4 core module
ii  libqt4-dbus                                        
4.7.0~git20100909-0maemo1+0m5    Qt 4 D-Bus module
ii  libqt4-declarative                                 
4.7.0~git20100909-0maemo1+0m5    Qt 4 declarative module
ii  libqt4-gui                                         
4.7.0~git20100909-0maemo1+0m5    Qt 4 GUI module
ii  libqt4-maemo5                                      
4.7.0~git20100909-0maemo1+0m5    Qt 4 Maemo5 module
ii  libqt4-multimedia                                  
4.7.0~git20100909-0maemo1+0m5    Qt 4 Multimedia Libraries
ii  libqt4-network                                     
4.7.0~git20100909-0maemo1+0m5    Qt 4 network module
ii  libqt4-opengl                                      
4.7.0~git20100909-0maemo1+0m5    Qt 4 OpenGL module
ii  libqt4-phonon                                      
4.7.0~git20100909-0maemo1+0m5    Qt 4 Phonon Libraries
ii  libqt4-script                                      
4.7.0~git20100909-0maemo1+0m5    Qt 4 script module
ii  libqt4-sql                                         
4.7.0~git20100909-0maemo1+0m5    Qt 4 SQL module
ii  libqt4-sql-sqlite                                  
4.7.0~git20100909-0maemo1+0m5    Qt 4 SQLite plugin
ii  libqt4-svg                                         
4.7.0~git20100909-0maemo1+0m5    Qt 4 SVG module
ii  libqt4-test                                        
4.7.0~git20100909-0maemo1+0m5    Qt 4 test module
ii  libqt4-translations                                
4.7.0~git20100909-0maemo1+0m5    Qt 4 translations
ii  libqt4-webkit                                      
4.7.0~git20100909-0maemo1+0m5    Qt 4 WebKit module
ii  libqt4-xml                                         
4.7.0~git20100909-0maemo1+0m5    Qt 4 XML module
ii  libqt4-xmlpatterns                                 
4.7.0~git20100909-0maemo1+0m5    Qt 4 XML Patterns module
ri  libqtm-11-location                                  1:1.1.4-0fn~fremantle1 
         Qt Mobility location module
rc  libqtm-11-multimedia                                1:1.1.4-0fn~fremantle1 
         Qt Mobility multimedia module
ri  libqtm-11-sensors                                   1:1.1.4-0fn~fremantle1 
         Qt Mobility service framework module
ri  libqtm-11-systeminfo                                1:1.1.4-0fn~fremantle1 
         Qt Mobility system information module
ii  libqtm-12-connectivity                              1:1.2.0-0fn~fremantle3 
         Qt Mobility Connectivity module
ii  libqtm-12-contacts                                  1:1.2.0-0fn~fremantle3 
         Qt Mobility contacts module
ii  libqtm-12-declarative                               1:1.2.0-0fn~fremantle3 
         Qt Mobility Declarative module
ii  libqtm-12-feedback                                  1:1.2.0-0fn~fremantle3 
         Qt Mobility Feedback module
ii  libqtm-12-gallery                                   1:1.2.0-0fn~fremantle3 
         Qt Mobility Document Gallery module
ii  libqtm-12-location                                  1:1.2.0-0fn~fremantle3 
         Qt Mobility location module
ii  libqtm-12-messaging                                 1:1.2.0-0fn~fremantle3 
         Qt Mobility messaging module
ii  libqtm-12-multimedia                                1:1.2.0-0fn~fremantle3 
         Qt Mobility multimedia module
ii  libqtm-12-organizer                                 1:1.2.0-0fn~fremantle3 
         Qt Mobility Organizer module
ii  libqtm-12-publishsubscribe                          1:1.2.0-0fn~fremantle3 
         Qt Mobility publish and subscribe module
ii  libqtm-12-sensors                                   1:1.2.0-0fn~fremantle3 
         Qt Mobility service framework module
ii  libqtm-12-serviceframework                          1:1.2.0-0fn~fremantle3 
         Qt Mobility service framework module
ii  libqtm-12-systeminfo                                1:1.2.0-0fn~fremantle3 
         Qt Mobility system information module
ii  libqtm-12-versit                                    1:1.2.0-0fn~fremantle3 
         Qt Mobility versit module
ii  libqtm-bearer                                       1:1.0.2-maemo4+0m5     
         Qt Mobility Bearer module
ii  libqtm-contacts                                     1:1.0.2-maemo4+0m5     
         Qt Mobility contacts module
ii  libqtm-location                                     1:1.0.2-maemo4+0m5     
         Qt Mobility location module
ii  libqtm-messaging                                    1:1.0.2-maemo4+0m5     
         Qt Mobility messaging module
ii  libqtm-multimedia                                   1:1.0.2-maemo4+0m5     
         Qt Mobility multimedia module
ii  libqtm-publishsubscribe                             1:1.0.2-maemo4+0m5     
         Qt Mobility publish and subscribe module
ii  libqtm-sensors                                      1:1.0.2-maemo4+0m5     
         Qt Mobility sensors framework module
ii  libqtm-serviceframework                             1:1.0.2-maemo4+0m5     
         Qt Mobility service framework module
ii  libqtm-systeminfo                                   1:1.0.2-maemo4+0m5     
         Qt Mobility system information module
ii  libqtm-versit                                       1:1.0.2-maemo4+0m5     
         Qt Mobility versit module
ii  pyside-mobility                                     0.2-0maemo1            
         Python bindings for Qt Mobility (big metapac
ii  pyside-qt4-core                                     1.0.5-1maemo1          
         Transitional package for python-pyside.qtcor
ii  pyside-qt4-gui                                      1.0.5-1maemo1          
         Transitional package for python-pyside.qtgui
ii  pyside-qt4-maemo5                                   1.0.5-1maemo1          
         Transitional package for python-pyside.qtmae
ii  pyside-qt4-multimedia                               1.0.5-1maemo1          
         Transitional package for python-pyside.qtmul
ii  python-pyside                                       1.0.5-1maemo1          
         Python bindings for Qt4 (big metapackage)
ii  python-pyside.phonon                                1.0.5-1maemo1          
         Qt 4 Phonon module - Python bindings
ii  python-pyside.qtcore                                1.0.5-1maemo1          
         Qt 4 core module - Python bindings
ii  python-pyside.qtdeclarative                         1.0.5-1maemo1          
         Qt 4 Declarative module - Python bindings
ii  python-pyside.qtgui                                 1.0.5-1maemo1          
         Qt 4 GUI module - Python bindings
ii  python-pyside.qtmaemo5                              1.0.5-1maemo1          
         Qt 4 Maemo5 module - Python bindings
ii  python-pyside.qtmultimedia                          1.0.5-1maemo1          
         Qt 4 Multimedia module - Python bindings
ii  python-pyside.qtnetwork                             1.0.5-1maemo1          
         Qt 4 network module - Python bindings
ii  python-pyside.qtopengl                              1.0.5-1maemo1          
         Qt 4 OpenGL module - Python bindings
ii  python-pyside.qtscript                              1.0.5-1maemo1          
         Qt 4 script module - Python bindings
ii  python-pyside.qtsql                                 1.0.5-1maemo1          
         Qt 4 SQL module - Python bindings
ii  python-pyside.qtsvg                                 1.0.5-1maemo1          
         Qt 4 SVG module - Python bindings
ii  python-pyside.qttest                                1.0.5-1maemo1          
         Qt 4 test module - Python bindings
ii  python-pyside.qtwebkit                              1.0.5-1maemo1          
         Qt 4 WebKit module - Python bindings
ii  python-pyside.qtxml                                 1.0.5-1maemo1          
         Qt 4 XML module - Python bindings
ii  python-pyside.qtxmlpatterns                         1.0.5-1maemo1          
         Qt 4 XML patterns module - Python bindings
ii  python-qtmobility                                   0.2.0-0maemo11         
         Python bindings for Qt Mobility (big metapac
ii  python-qtmobility.contacts                          0.2.0-0maemo11         
         Qt Mobility Contacts module - Python binding
ii  python-qtmobility.location                          0.2.0-0maemo11         
         Qt Mobility Location module - Python binding
ii  python-qtmobility.messaging                         0.2.0-0maemo11         
         Qt Mobility Messaging module - Python bindin
ii  python-qtmobility.publishsubscribe                  0.2.0-0maemo11         
         Qt Mobility Publish and Subscribe module - P
ii  python-qtmobility.sensors                           0.2.0-0maemo11         
         Qt Mobility Sensors module - Python bindings
ii  python-qtmobility.serviceframework                  0.2.0-0maemo11         
         Qt Mobility Service Framework module - Pytho
ii  python-qtmobility.systeminfo                        0.2.0-0maemo11         
         Qt Mobility SystemInfo module - Python bindi
ii  python-qtmobility.versit                            0.2.0-0maemo11         
         Qt Mobility Versit module - Python bindings
ii  python-qtmobility12                                 0.2.2-0maemo1          
         Python bindings for Qt Mobility (big metapac
ii  python-qtmobility12.connectivity                    0.2.2-0maemo1          
         Qt Mobility Connectivity module - Python bin
ii  python-qtmobility12.contacts                        0.2.2-0maemo1          
         Qt Mobility Contacts module - Python binding
ii  python-qtmobility12.feedback                        0.2.2-0maemo1          
         Qt Mobility Feedback module - Python binding
ii  python-qtmobility12.gallery                         0.2.2-0maemo1          
         Qt Mobility Gallery module - Python bindings
ii  python-qtmobility12.location                        0.2.2-0maemo1          
         Qt Mobility Location module - Python binding
ii  python-qtmobility12.messaging                       0.2.2-0maemo1          
         Qt Mobility Messaging module - Python bindin
ii  python-qtmobility12.multimediakit                   0.2.2-0maemo1          
         Qt Mobility MultimediaKit module - Python bi
ii  python-qtmobility12.organizer                       0.2.2-0maemo1          
         Qt Mobility Organizer module - Python bindin
ii  python-qtmobility12.publishsubscribe                0.2.2-0maemo1          
         Qt Mobility Publish and Subscribe module - P
ii  python-qtmobility12.sensors                         0.2.2-0maemo1          
         Qt Mobility Sensors module - Python bindings
ii  python-qtmobility12.serviceframework                0.2.2-0maemo1          
         Qt Mobility Service Framework module - Pytho
ii  python-qtmobility12.systeminfo                      0.2.2-0maemo1          
         Qt Mobility SystemInfo module - Python bindi
ii  python-qtmobility12.versit                          0.2.2-0maemo1          
         Qt Mobility Versit module - Python bindings
ii  python2.5-qt4-common                                4.7.5-maemo2           
         Shared files for PyQt4
ii  python2.5-qt4-core                                  4.7.5-maemo2           
         Python bindings for Qt4 Core components.
ii  python2.5-qt4-dbus                                  4.7.5-maemo2           
         Python bindings for Qt dbus mainloop.
ii  python2.5-qt4-gui                                   4.7.5-maemo2           
         Python bindings for Qt4 Core components.
ii  python2.5-qt4-maemo5                                4.7.5-maemo2           
         Python bindings for Qt4 Core components.
ii  python2.5-qt4-network                               4.7.5-maemo2           
         Python bindings for Qt4 Core components.
ii  python2.5-qt4-phonon                                4.7.5-maemo2           
         Python bindings for Qt4 Core components.
ii  python2.5-qt4-webkit                                4.7.5-maemo2           
         Python bindings for Qt4 Core components.
ii  qtm-maemo-metapackage                               1.3-2+0m5              
         Qt Mobility meta package update for Maemo
Comment 10 Matti Airas 2012-03-08 16:57:35 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!