Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Mobile
User Name
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site:


  Search this Thread
Old 01-13-2011, 04:13 PM   #1
Senior Member
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Maemo PyQt4+Gstreamer Segfault (Python)

I'm having a strange problem on my Nokia N900, running Maemo. The code I'm running is:


import sys
from PyQt4 import QtGui

import gst                          # ***
app = QtGui.QApplication(sys.argv)  # ***
When I run this, it prints "Segmentation Fault". However, if I comment out either of the two lines I marked, then it doesn't complain and terminates normally.

The fact I get a segmentation fault rather than a traceback implies to me that it's importing one or both of the libraries in compiled C/C++ form, which is then throwing the error. This means I have less of a meaningful traceback. Is there a way to use gdb (or another programme) to debug a module which I'm importing into python? Can anyone shed any light on this? This problem doesn't exist on my desktop - so I'm guessing it's something to do with the Maemo configuration (hence posting here and not in programming )


gstreamer, maemo, python, segmentation fault

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [gst-python] Python warning with gstreamer Snark1994 Programming 2 01-09-2011 09:56 AM
[SOLVED] Segfault in Python 3.x test script grail Programming 6 03-28-2010 01:18 AM
Nokia N900: Maemo vs. Android - what makes Maemo a winner? confidenceb General 3 01-06-2010 02:25 AM
Python/PyQt4 - Newbie Structure question ocularb0b Programming 0 01-28-2008 09:42 AM
Python giving SegFault Kumar Programming 2 02-16-2004 10:51 PM > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration