apport-gtk crashes on GECOS phone number

Bug #1220267 reported by Peter Nagy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

Although on #985049 it saiys it is fixed, I can still reproduce it by having a phone num,ber with a "+" sign at the beginning in my /etc/passwd entry for my user. I was able to fix this and submit this patch by simply removing the "+" sign.
Without that step the below sympthom happens:

~$ apport-bug apport-gtk
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

And this is on a fully upgraded 13.04 Raring (upgraded 10 days ago).

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: apport-gtk 2.9.2-0ubuntu8.3
ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
Uname: Linux 3.8.0-29-generic x86_64
ApportLog:
 ERROR: apport (pid 25471) Tue Sep 3 15:59:03 2013: called for pid 8307, signal 11, core limit 0
 ERROR: apport (pid 25471) Tue Sep 3 15:59:03 2013: executable: /usr/bin/evolution (command line "evolution")
 ERROR: apport (pid 25471) Tue Sep 3 15:59:03 2013: debug: session gdbus call: (true,)

 ERROR: apport (pid 25471) Tue Sep 3 16:01:20 2013: wrote report /var/crash/_usr_bin_evolution.1000.crash
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Tue Sep 3 16:19:23 2013
MarkForUpload: True
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to raring on 2013-08-24 (10 days ago)

Revision history for this message
Peter Nagy (antronin) wrote :
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.