[Upstream] python2.7 crashed with SIGSEGV in IsInMain()

Bug #789891 reported by penalvch
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LibreOffice
Confirmed
High
OpenOffice
Unknown
Unknown
libreoffice (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: python2.7

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) 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

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.). Was triaging https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/251427 and trying to reproduce.

TESTCASE: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/938294
Reproducible in:
lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

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

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: python2.7-minimal 2.7.1-5ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Sun May 29 10:42:49 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/python2.7
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcCmdline: python test.py
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
SegvAnalysis:
 Segfault happened at: 0x21d0bb7 <IsInMain()+23>: movzbl 0x9a(%eax),%eax
 PC (0x021d0bb7) ok
 source "0x9a(%eax)" (0x0000009a) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: python2.7
StacktraceTop:
 IsInMain () from /usr/lib/libreoffice/program/../basis-link/program/libvclli.so
 VCLXToolkit () from /usr/lib/libreoffice/program/../basis-link/program/libtkli.so
 VCLXToolkit_CreateInstance () from /usr/lib/libreoffice/program/../basis-link/program/libtkli.so
 createInstanceEveryTime () from /usr/lib/libreoffice/basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
 createInstanceWithContext () from /usr/lib/libreoffice/basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
Title: python2.7 crashed with SIGSEGV in IsInMain()
UpgradeStatus: Upgraded to natty on 2011-05-14 (15 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Revision history for this message
penalvch (penalvch) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 IsInMain () from /usr/lib/libreoffice/program/../basis-link/program/libvclli.so
 VCLXToolkit () from /usr/lib/libreoffice/program/../basis-link/program/libtkli.so
 VCLXToolkit_CreateInstance () from /usr/lib/libreoffice/program/../basis-link/program/libtkli.so
 ?? () from /usr/lib/libreoffice/basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
 ?? () from /usr/lib/libreoffice/basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in python2.7 (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Matthias Klose (doko) wrote : Re: python2.7 crashed with SIGSEGV in IsInMain()

likely an issue with the uno bindings

affects: python2.7 (Ubuntu) → libreoffice (Ubuntu)
visibility: private → public
penalvch (penalvch)
description: updated
penalvch (penalvch)
description: updated
Revision history for this message
In , penalvch (penalvch) wrote :

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

summary: - python2.7 crashed with SIGSEGV in IsInMain()
+ [Upstream] python2.7 crashed with SIGSEGV in IsInMain()
Revision history for this message
In , penalvch (penalvch) wrote :

Created attachment 57448
test.py

Changed in df-libreoffice:
importance: Unknown → High
status: Unknown → Confirmed
Revision history for this message
In , julien2412 (serval2412-6) wrote :

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.

Revision history for this message
In , penalvch (penalvch) wrote :

Julien Nabet, please re-read description. ;)
Status -> New

penalvch (penalvch)
Changed in libreoffice (Ubuntu):
status: New → Triaged
tags: added: precise
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.