This bug was fixed in the package apport - 2.10-0ubuntu1
---------------
apport (2.10-0ubuntu1) saucy; urgency=low
[ Martin Pitt ]
* New upstream release. Changes since our previous snapshot:
- Support retracing foreign powerpc reports, thanks Steve Langasek.
- apport/report.py: Generate a crash signature for suspend/resume failures.
- hookutils.py: Add attach_upstart_logs(), thanks Steve Langasek.
- hookutils.py, in_session_of_problem(): Port from ConsoleKit to logind.
- apport/report.py: Handle the case where the user has been removed from
the system, but one of its still-running binaries crashes (LP: #1163453).
- Fix anonymization of user/GECOS fields with regexp control characters
like '+'. (LP: #985049)
- Run tests under LC_CTYPE=C and unset LANG as well, to discover
assumptions about UTF-8 locales. Fix the two failing tests.
- Fix UnicodeDecodeError when apport encounters non-ASCII environment
variables. (LP: #1172638)
* debian/control: Update Vcs-* for saucy branch.
* data/general-hooks/cloud_archive.py: Fix PEP-8 error.
[ Steve Langasek ]
* data/general-hooks/ubuntu.py: Call attach_upstart_logs(), to attach the
logs for any upstart user jobs shipped by the binary package.
-- Martin Pitt <[email protected]> Tue, 30 Apr 2013 14:49:42 -0700
** Changed in: apport (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/985049
Title:
apport crashed with error in report.py in anonymize(): nothing to
repeat - if GECOS field contains regular expression metacharacters
Status in “apport” package in Ubuntu:
Fix Released
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/apport/apport-gtk", line 590, in <module>
app.run_argv()
File "/usr/lib/python3/dist-packages/apport/ui.py", line 656, in run_argv
return self.run_report_bug()
File "/usr/lib/python3/dist-packages/apport/ui.py", line 458, in
run_report_bug
self.collect_info(symptom_script)
File "/usr/lib/python3/dist-packages/apport/ui.py", line 1060, in
collect_info
anonymize_thread.exc_raise()
File "/usr/lib/python3/dist-packages/apport/REThread.py", line 63, in
exc_raise
raise self._exception[1].with_traceback(self._exception[2])
File "/usr/lib/python3/dist-packages/apport/REThread.py", line 33, in run
self._retval = self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python3/dist-packages/apport/report.py", line 1395, in
anonymize
replacements.append((re.compile('\\b%s\\b' % s), 'User Name'))
File "/usr/lib/python3.3/re.py", line 214, in compile
return _compile(pattern, flags)
File "/usr/lib/python3.3/re.py", line 281, in _compile
p = sre_compile.compile(pattern, flags)
File "/usr/lib/python3.3/sre_compile.py", line 494, in compile
p = sre_parse.parse(p, flags)
File "/usr/lib/python3.3/sre_parse.py", line 735, in parse
p = _parse_sub(source, pattern, 0)
File "/usr/lib/python3.3/sre_parse.py", line 348, in _parse_sub
itemsappend(_parse(source, state))
File "/usr/lib/python3.3/sre_parse.py", line 557, in _parse
raise error("nothing to repeat")
sre_constants.error: nothing to repeat
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
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: nvidia
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
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/apport-cli -f -p cheese --save
cheese.txt
ProcCwd: /home/wgarcia
PythonArgs: ['/usr/bin/apport-cli', '-f', '-p', 'cheese', '--save',
'cheese.txt']
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/985049/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp