Bug 46440

Summary: SIGSEGV in Application::IsInMain()
Product: LibreOffice Reporter: Christopher M. Penalver <christopher.m.penalver>
Component: LibreofficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: major    
Priority: lowest CC: serval2412
Version: 3.3.4 release   
Hardware: x86 (IA32)   
OS: Linux (All)   
See Also: https://launchpad.net/bugs/251427
Whiteboard:
i915 platform: i915 features:
Attachments: test.py

Description Christopher M. Penalver 2012-02-22 03:25:32 UTC
Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/789891

1) lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

2) apt-cache policy python2.7
python2.7:
  Installed: 2.7.2-13ubuntu5
  Candidate: 2.7.2-13ubuntu5
  Version table:
 *** 2.7.2-13ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy libreoffice
libreoffice:
  Installed: 1:3.5.0-1ubuntu1
  Candidate: 1:3.5.0-1ubuntu1
  Version table:
 *** 1:3.5.0-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

3) What is (naively) expected to happen is running the attachment at the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/789891/+attachment/2146841/+files/test.py && python test.py

does not segfaults.

4) It segfaults. I do not know the purpose of the file or ramifications of it crashing (valid or deprecated syntax, etc.). I was triaging https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/251427 and trying to reproduce. 

First reproduced in:
lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

apt-cache policy python2.7
python2.7:
  Installed: 2.7.1-5ubuntu2
  Candidate: 2.7.1-5ubuntu2
  Version table:
 *** 2.7.1-5ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

LO 3.3.4
Comment 1 Christopher M. Penalver 2012-02-22 03:26:48 UTC
Created attachment 57448 [details]
test.py
Comment 2 Julien Nabet 2012-02-23 13:20:30 UTC
Could you try a newer version 3.4.5 or 3.5.0 and tell if you reproduce this problem ?
FYI, there won't be any 3.3.X LO version.
Comment 3 Christopher M. Penalver 2012-02-23 14:43:28 UTC
Julien Nabet, please re-read description. ;)
Status -> New
Comment 4 Julien Nabet 2013-01-05 15:11:07 UTC
Christopher: Any update about this?
BTW after having reread description I don't know what you meant in your previous comment.
Comment 5 Björn Michaelsen 2013-01-06 03:34:16 UTC
@Julien: description says it also is reproducable in 3.5.0
Comment 6 Christopher M. Penalver 2013-01-06 08:09:22 UTC
Reproducible in:
lsb_release -rd
Description:	Ubuntu 12.10
Release:	12.10

apt-cache policy libreoffice
libreoffice:
  Installed: 1:3.6.2~rc2-0ubuntu4
  Candidate: 1:3.6.2~rc2-0ubuntu4
  Version table:
 *** 1:3.6.2~rc2-0ubuntu4 0
        900 http://archive.ubuntu.com/ubuntu/ quantal-updates/universe i386 Packages
        100 /var/lib/dpkg/status
     1:3.6.2~rc2-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages

apt-cache policy python
python:
  Installed: 2.7.3-0ubuntu7
  Candidate: 2.7.3-0ubuntu7
  Version table:
 *** 2.7.3-0ubuntu7 0
        500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
        100 /var/lib/dpkg/status
Comment 7 Julien Nabet 2013-01-06 08:34:08 UTC
Bjoern/Christopher: ok I had missed 3.5 part last time and I see that it's reproduceable in 3.6 too. Sorry for the noise.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.