Bug 11543 (RyanMG)

Summary: www2sms not started after maemo update
Product: [Extras] www2sms Reporter: Mario <m.grosse>
Component: GeneralAssignee: Bjoern Olausson <maemo>
Status: RESOLVED FIXED QA Contact: general
Severity: critical    
Priority: High CC: maemo
Version: unspecified   
Target Milestone: ---   
Hardware: N900   
OS: Maemo   
Attachments: python -v www2sms.py
strace log

Description Mario (reporter) 2010-11-06 15:42:11 UTC
SOFTWARE VERSION:
(Settings > General > About product)

EXACT STEPS LEADING TO PROBLEM: 
(Explain in detail what you do (e.g. tap on OK) and what you see (e.g. message
Connection Failed appears))
1. in Version 1.3 (o2online) sending is stoped on Step 5 (Open Email
Center)(old maemo Version)

2. after maemo software update www2sms does not work

3. 

EXPECTED OUTCOME:

ACTUAL OUTCOME:

REPRODUCIBILITY:
(always, less than 1/10, 5/10, 9/10)

EXTRA SOFTWARE INSTALLED:

OTHER COMMENTS:

User-Agent:       Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
Trident/5.0)
Comment 1 Bjoern Olausson 2010-11-06 16:47:56 UTC
Confirmed.

www2sms segfaults and I currently have no clue why....
Comment 2 Bjoern Olausson 2010-11-06 17:20:01 UTC
Created an attachment (id=3162) [details]
python -v www2sms.py

Python verbose output
Comment 3 Bjoern Olausson 2010-11-06 17:21:15 UTC
Created an attachment (id=3163) [details]
strace log

strace log

Still searching for the failure...

Anyone?

Cheers
Bjoern
Comment 4 Bjoern Olausson 2010-11-10 13:52:22 UTC
Okay, now this is getting weird.

In fact it has something to do with PyQt4 and not playing nice with some other
modules (so far I could track down gobject, glib, and evolution).

Here's a proof of concept for this bug:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#

import sys
from PyQt4.QtGui import QApplication

##NOTE: Uncommenting this import (even each on it's own) cause a segfault
##NOTE: Using the same import after initializing QApplication() works!
#import gobject, glib, evolution

print "hello1"
app = QApplication(sys.argv)
print "hello2"

##NOTE: This does not cause a segfault:
import gobject, glib, evolution
print "hello3"

Fixed in www2sms-1.1.4

Cheers
Bjoern