← Back to team overview

desktop-packages team mailing list archive

[Bug 669849] Re: Regex Find & Replace causes Writer to become unresponsive

 

** Description changed:

  Binary package hint: openoffice.org
  
- While toying with OOo posix expressions I discovered I can crash any
- document by simply starting a regex search for something like
+ 1)  lsb_release -rd
+ Description:	Ubuntu 11.10
+ Release:	11.10
  
- foo[^\[:alpha:\]]
+ 2)  apt-cache policy libreoffice-writer
+ libreoffice-writer:
+   Installed: 1:3.4.3-3ubuntu2
+   Candidate: 1:3.4.3-3ubuntu2
+   Version table:
+  *** 1:3.4.3-3ubuntu2 0
+         500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
+         100 /var/lib/dpkg/status
  
- Steps to reproduce:
+ 3) What is expected to happen in LibreOffice Writer via the Terminal:
  
- 1. Create new writer document (may remain empty)
- 2. Hit Ctrl+F, check "Regular expressions", search for the above foo[^\[:alpha:\]]
+ cd ~/Desktop && lowriter -nologo
  
- On my system this will reliably crash soffice.bin. I realize the example
- regex is probably not a good idea in the first place, but that shouldn't
- crash the application.
+ Ctrl+F -> Search bar box foo[^\[:alpha:\]] -> click More Options button
+ -> checked Regular expressions checkbox -> clicked Find button
+ 
+ and it fails quickly and gracefully.
+ 
+ 4) What happens instead is Writer becomes and remains unresponsive.
+ 
+ ORIGINAL REPORTER COMMENTS: On my system this will reliably crash
+ soffice.bin. I realize the example regex is probably not a good idea in
+ the first place, but that shouldn't crash the application.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: openoffice.org-core 1:3.2.0-7ubuntu4.1
  Uname: Linux 2.6.35-020635-generic x86_64
  Architecture: amd64
  Date: Tue Nov  2 11:10:23 2010
  ExecutablePath: /usr/lib/openoffice/program/soffice.bin
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
   LANGUAGE=de:de_DE:en_GB:en
   PATH=(custom, no user)
   LANG=de_DE.utf8
   SHELL=/bin/bash
  SourcePackage: openoffice.org

** Changed in: libreoffice (Ubuntu)
   Importance: Undecided => Medium

** Changed in: libreoffice (Ubuntu)
       Status: New => Triaged

** Summary changed:

- Regex Find & Replace causes Writer to become unresponsive
+ Regex Find & Replace foo[^\[:alpha:\]] causes Writer to become unresponsive

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/669849

Title:
  [Upstream] Regex Find & Replace foo[^\[:alpha:\]] causes Writer to
  become unresponsive

Status in LibreOffice Productivity Suite:
  Unknown
Status in “libreoffice” package in Ubuntu:
  Triaged
Status in “openoffice.org” package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: openoffice.org

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

  2)  apt-cache policy libreoffice-writer
  libreoffice-writer:
    Installed: 1:3.4.3-3ubuntu2
    Candidate: 1:3.4.3-3ubuntu2
    Version table:
   *** 1:3.4.3-3ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
          100 /var/lib/dpkg/status

  3) What is expected to happen in LibreOffice Writer via the Terminal:

  cd ~/Desktop && lowriter -nologo

  Ctrl+F -> Search bar box foo[^\[:alpha:\]] -> click More Options
  button -> checked Regular expressions checkbox -> clicked Find button

  and it fails quickly and gracefully.

  4) What happens instead is Writer becomes and remains unresponsive.

  ORIGINAL REPORTER COMMENTS: On my system this will reliably crash
  soffice.bin. I realize the example regex is probably not a good idea
  in the first place, but that shouldn't crash the application.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: openoffice.org-core 1:3.2.0-7ubuntu4.1
  Uname: Linux 2.6.35-020635-generic x86_64
  Architecture: amd64
  Date: Tue Nov  2 11:10:23 2010
  ExecutablePath: /usr/lib/openoffice/program/soffice.bin
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
   LANGUAGE=de:de_DE:en_GB:en
   PATH=(custom, no user)
   LANG=de_DE.utf8
   SHELL=/bin/bash
  SourcePackage: openoffice.org

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/669849/+subscriptions