apport crashed with error in report.py in anonymize(): nothing to repeat - if GECOS field contains regular expression metacharacters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
TEST CASE:
1. Create a new user or change the gecos field of an existing user and set a phone number starting with a '+' in the Gecos field
2. File a new bug report with apport:
$ ubuntu-bug apport
RESULT
This crash
Traceback (most recent call last):
File "/usr/share/
app.run_argv()
File "/usr/lib/
return self.run_
File "/usr/lib/
self.
File "/usr/lib/
anonymize_
File "/usr/lib/
raise self._exception
File "/usr/lib/
self._retval = self.__
File "/usr/lib/
replacement
File "/usr/lib/
return _compile(pattern, flags)
File "/usr/lib/
p = sre_compile.
File "/usr/lib/
p = sre_parse.parse(p, flags)
File "/usr/lib/
p = _parse_sub(source, pattern, 0)
File "/usr/lib/
itemsappend
File "/usr/lib/
raise error("nothing to repeat")
sre_constants.
ORIGINAL REPORT
I'm getting this bug, actually in just one system and one user, I don't get it for instance in the "guest" account. I don't get it either if i run the apport comment with "sudo".
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: apport 2.0.1-0ubuntu4
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelMo
ApportLog:
ApportVersion: 2.0.1-0ubuntu4
Architecture: amd64
CrashCounter: 1
Date: Wed Apr 18 18:12:40 2012
ExecutablePath: /usr/bin/apport-cli
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/apport-cli -f -p cheese --save cheese.txt
ProcCwd: /home/wgarcia
PythonArgs: ['/usr/
SourcePackage: apport
Title: apport-cli crashed with error in _compile(): nothing to repeat
UpgradeStatus: Upgraded to precise on 2012-03-05 (44 days ago)
UserGroups: adm admin audio cdrom dialout lp lpadmin plugdev sambashare video
Related branches
tags: | removed: need-duplicate-check |
Changed in apport (Ubuntu): | |
importance: | Undecided → Medium |
Changed in apport (Ubuntu): | |
importance: | Medium → High |
status: | Confirmed → Triaged |
summary: |
- apport-cli crashed with error in _compile(): nothing to repeat + apport-cli crashed with error in _compile(): nothing to repeat - Escape + GECOS field in apport.report.anonymize() |
tags: | added: rls-r-incoming |
description: | updated |
description: | updated |
summary: |
- apport-cli crashed with error in _compile(): nothing to repeat - Escape - GECOS field in apport.report.anonymize() + apport crashed with error in report.py in anonymize(): nothing to repeat + - if GECOS field contains regular expression metacharacters |
Status changed to 'Confirmed' because the bug affects multiple users.