Gramps : core dumped

Bug #135606 reported by Stéphane Marguet
8
Affects Status Importance Assigned to Milestone
Gramps
Fix Released
Unknown
gramps (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gramps

Gramps Version : 2.2.8-1ubuntu1

Segmentation Error (code dumped)

I can't get a backtrace, I can't find a -dbg deb and it's a python program.

Tags: gutsy
Revision history for this message
William Grant (wgrant) wrote :

Is an error report not created in /var/crash?

Changed in gramps:
status: New → Incomplete
Revision history for this message
Stéphane Marguet (stemp) wrote :

Yes there is a _usr_share_gramps_gramps.py.1000.crash
But it's a very big file, do I need to attach it or just some parts of it ?

Revision history for this message
Stéphane Marguet (stemp) wrote :

Here is the file without the core dump

Changed in gramps:
status: Incomplete → New
Revision history for this message
Stéphane Marguet (stemp) wrote :

Here is the valgrind log

Changed in gramps:
status: Unknown → New
Revision history for this message
Scott Kitterman (kitterman) wrote :

If you could run gramps from a console and reproduce the crash, that will generally produce a Python traceback that would be quite useful in understanding the bug.

Revision history for this message
Stéphane Marguet (stemp) wrote :

stemp@caderousse:~$ gramps
Erreur de segmentation (core dumped)
stemp@caderousse:~$

That's it, but I've made a mistake, gramps started and I add some output:

stemp@caderousse:~$ LANGUAGE=C gramps
Erreur de segmentation (core dumped)
stemp@caderousse:~$ LANG=C gramps
Spelling checker cannot be used without language set.
Set your locale appropriately to use spelling checker.
LPRDoc: Free true type fonts not found.
        Microsoft true type fonts not found.
        Using Gnome standard fonts.
        Non-ascii characters will appear garbled in the output.
        INSTALL Free true type fonts
        from http://www.nongnu.org/freefont/
Upgrading to DB version 8
25211: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/ViewManager.py", line 891, in open_activate
    (filename,filetype) = self.db_loader.open_file()
  File "/usr/share/gramps/DbLoader.py", line 114, in open_file
    self.read_file(filename,filetype)
  File "/usr/share/gramps/DbLoader.py", line 465, in read_file
    _("Could not open file: %s") % filename, msg )
  File "/usr/share/gramps/QuestionDialog.py", line 174, in __init__
    self.format_secondary_markup(msg2)
TypeError: GtkMessageDialog.format_secondary_markup() argument 1 must be string or None, not exceptions.ValueError

Revision history for this message
Tim Fuchs (tim-fuchs) wrote :

I'm experiencing the same bug so I confirmed it.

When I use my normal locale (german) Gramps crashes with a segmentation fault.

When I start Gramps with LANG=C it works and I get the following output:

Spelling checker cannot be used without language set.
Set your locale appropriately to use spelling checker.
LPRDoc: Free true type fonts not found.
        Microsoft true type fonts not found.
        Using Gnome standard fonts.
        Non-ascii characters will appear garbled in the output.
        INSTALL Free true type fonts
        from http://www.nongnu.org/freefont/
/usr/share/gramps/PageView.py:142: GtkWarning: Refusing to add non-unique action 'HomePerson' to action group 'People'
  self.action_group.add_actions(self.action_list)
/usr/share/gramps/PageView.py:142: GtkWarning: Refusing to add non-unique action 'FilterEdit' to action group 'People'
  self.action_group.add_actions(self.action_list)
/usr/share/gramps/DisplayState.py:204: GtkWarning: Refusing to add non-unique action 'RecentMenu0' to action group 'RecentFiles'
  self.action_group.add_actions(actions)

Changed in gramps:
status: New → Confirmed
Changed in gramps:
status: New → Fix Released
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.