maemo.org Bugzilla – Full Text Bug Listing |
Summary: | osso.Context causes segmentation fault | ||
---|---|---|---|
Product: | [Extras] PyMaemo | Reporter: | Andrew Flegg <andrew> |
Component: | General | Assignee: | Anderson Lizardo <anderson.lizardo> |
Status: | RESOLVED FIXED | QA Contact: | general |
Severity: | critical | ||
Priority: | Medium | CC: | anderson.lizardo, bruno.araujo, mvartiainen |
Version: | unspecified | ||
Target Milestone: | Fremantle | ||
Hardware: | x86 | ||
OS: | Linux |
SOFTWARE VERSION: 5.0-beta2 STEPS TO REPRODUCE THE PROBLEM: (may be Python specific) 1) apt-get install python-runtime 2) echo -e '[D-BUS Service]\nName=org.maemo.horizon\nExec=/usr/bin/horizon' >/usr/share/dbus-1/services/horizon.service 2) echo -e 'import osso\nosso.Context("org.maemo.horizon", "0.0.1", False)' | python2.5 EXPECTED OUTCOME: Python script exits normally. ACTUAL OUTCOME: Segmentation fault (core dumped) REPRODUCIBILITY: always EXTRA SOFTWARE INSTALLED: python-runtime: 1.0-11 OTHER COMMENTS: This may be a PyMaemo specific bug; I haven't yet tested with a small C program. Independent analysis welcome. FWIW, the same segfault occurred in the earlier Maemo 5 beta SDK, but does not occur in Scratchbox running Diablo. User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.11) Gecko/2009060309 Ubuntu/9.04 (jaunty) Firefox/3.0.11