apport cann't save a dump due UnicodeEncodeError

Bug #1820163 reported by Oleg Schelicalnov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've installed russian locale and have a Desktop folder named "Рабочий стол"

When I launch application from Desktop and it crash I got in /var/log/apport.log

ERROR: apport (pid 3469) Fri Mar 15 09:11:12 2019: called for pid 2436, signal 6, core limit 18446744073709551615, dump mode 1
ERROR: apport (pid 3469) Fri Mar 15 09:11:12 2019: ignoring implausibly big core limit, treating as unlimited
ERROR: ERROR: apport (pid 3469) Fri Mar 15 09:11:12 2019: Unhandled exception:
Traceback (most recent call last):
  File "/usr/share/apport/apport", line 521, in <module>
    (info['ExecutablePath'], info['ProcCmdline']))
  File "/usr/share/apport/apport", line 131, in error_log
    apport.error('apport (pid %s) %s: %s', os.getpid(), time.asctime(), msg)
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 44, in error
    sys.stderr.write(msg % args)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 139-140: ordinal not in range(128)
ERROR: apport (pid 3469) Fri Mar 15 09:11:12 2019: pid: 3469, uid: 1000, gid: 1000, euid: 0, egid: 0
ERROR: apport (pid 3469) Fri Mar 15 09:11:12 2019: environment: environ({})

instead of dump in /var/crash

Ubuntu version 18.04

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.