It doesn't save the selected profile between sessions

Bug #744397 reported by Juan Simón
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Shutter
Fix Released
Medium
Mario Kemper (Romario)

Bug Description

1) I open shutter
2) I select other profile.
3) I close shutter.
4) I open shutter and the selected profile isn't the last selected.

I attach one video.
---
Architecture: amd64
DistroRelease: Ubuntu 10.04
NonfreeKernelModules: nvidia
Package: shutter 0.87.2~ppa1
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=es_ES:en
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.38-7.38-core2 2.6.38
Tags: lucid
Uname: Linux 2.6.38-7-core2 x86_64
UnreportableReason: Este no es un paquete Ubuntu genuino
UserGroups: adm admin audio cdrom dialout lp lpadmin nopasswdlogin plugdev sambashare vboxusers

Revision history for this message
Juan Simón (simonbcn) wrote :
tags: added: apport-collected
description: updated
Revision history for this message
Juan Simón (simonbcn) wrote : Dependencies.txt

apport information

Revision history for this message
Juan Simón (simonbcn) wrote :

Please, can you fix this? It's very annoying this behavior.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Sorry, but my studies kept me busy. Unfortunately I cannot reproduce the problem. I have the created the same profiles and switched to Spanish, but it is working great here.
I have attached a video to demonstrate it. Would you mind sending me your settings folder (~/.shutter)?

Changed in shutter:
assignee: nobody → Mario Kemper (Romario) (mario-kemper)
importance: Undecided → Medium
milestone: none → 0.87.3
status: New → In Progress
Revision history for this message
Juan Simón (simonbcn) wrote :
Download full text (3.2 KiB)

My debug output:

$ shutter -d
INFO: gathering system information...
Linux ubuntu-desktop 2.6.38-7-core2 #38 SMP PREEMPT Wed Mar 23 22:02:34 CET 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS \n \l
Glib 1.222
Gtk2 1.221
Glib built for 2.22.2, running with 2.25.14
Gtk2 built for 2.20.0, running with 2.20.1

Reflejo 3D - /usr/share/shutter/resources/system/plugins/perl/sp3dreflection/sp3dreflection
rotación 3D - /usr/share/shutter/resources/system/plugins/perl/sp3drotate/sp3drotate
Distorsión de barril - /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion
Efectos de los bordes - /usr/share/shutter/resources/system/plugins/perl/spbordereffects/spbordereffects
Negativo - /usr/share/shutter/resources/system/plugins/perl/spnegate/spnegate
Polaroid - /usr/share/shutter/resources/system/plugins/perl/sppolaroid/sppolaroid
Redimensionar - /usr/share/shutter/resources/system/plugins/perl/spresize/spresize
Sepia - /usr/share/shutter/resources/system/plugins/perl/spsepia/spsepia
Sombra fuerte - /usr/share/shutter/resources/system/plugins/perl/spshadow/spshadow
Marca de agua - /usr/share/shutter/resources/system/plugins/perl/spwatermark/spwatermark
Identidad de marca Shutter - /usr/share/shutter/resources/system/plugins/shell/spaddlogo/spaddlogo
Escala de grises - /usr/share/shutter/resources/system/plugins/shell/spgrayscale/spgrayscale
Pieza del rompecabezas 1 - /usr/share/shutter/resources/system/plugins/shell/spjigsaw1/spjigsaw1
Pieza de rompecabezas 2 - /usr/share/shutter/resources/system/plugins/shell/spjigsaw2/spjigsaw2
Desplazamiento - /usr/share/shutter/resources/system/plugins/shell/spoffset/spoffset
Aumentar el borde - /usr/share/shutter/resources/system/plugins/shell/spraise/spraise
Bordes suaves - /usr/share/shutter/resources/system/plugins/shell/spsoftedges/spsoftedges
Borde hundido - /usr/share/shutter/resources/system/plugins/shell/spsunk/spsunk
Papel torneado - /usr/share/shutter/resources/system/plugins/shell/sptornedpaper/sptornedpaper
Autorrecortar - /usr/share/shutter/resources/system/plugins/shell/sptrim/sptrim
shutter_wrksp_direct_compiz0x0

type_changed was emitted by widget Gtk2::ComboBox=HASH(0x21e5248)
progname_toggled was emitted by widget Gtk2::CheckButton=HASH(0x56067d0)
im_colors_changed was emitted by widget Gtk2::ComboBox=HASH(0x37cdca0)
im_colors_toggled was emitted by widget Gtk2::CheckButton=HASH(0x5606f20)
thumbnail_changed was emitted by widget Gtk2::HScale=HASH(0x55fd748)
thumbnail_toggled was emitted by widget Gtk2::CheckButton=HASH(0x560a508)
bordereffect_toggled was emitted by widget Gtk2::CheckButton=HASH(0x55fef68)
bordereffect_changed was emitted by widget Gtk2::SpinButton=HASH(0x56074d8)
menu_delay_changed was emitted by widget Gtk2::SpinButton=HASH(0x21ca598)
keybinding_sel_toggled was emitted by widget Gtk2::CheckButton=HASH(0x56158f8)
hide_time_changed was emitted by widget Gtk2::SpinButton=HASH(0x5615c58)
ns_changed was emitted by widget Gtk2::ComboBox=HASH(0x5615eb0)
Gtk2::Gdk::Event=SCALAR(0x57fee68) was emitted by widget Gtk2::Window=HASH(0x4dbe100)
Violación de segmento

I think the problem is the last line: "Segmentation violation" (I think the error in english would be: "Segmen...

Read more...

Revision history for this message
Juan Simón (simonbcn) wrote :

I've tried to download the source package to compile and test but the 0.87.2 package (in http://shutter-project.org/wp-content/uploads/releases/tars/) isn't the source. It's a compiled version.

Revision history for this message
Juan Simón (simonbcn) wrote :

I've tested the bzr version (where is the real sources of this project?) and the same error.

Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 744397] Re: It doesn't save the selected profile between sessions

Shutter is written in Perl - there is no compilation involved.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote : Re: [Bug 744397] Re: It doesn't save the selected profile between sessions

Hm, it is definitely the segfault that is the root of the problem here. I will try to investigate tomorrow. Are you familiar with creating a backtrace: https://wiki.ubuntu.com/Backtrace ?

Revision history for this message
Juan Simón (simonbcn) wrote :

I have tested with "perl -d /usr/bin/shutter".

When I close the Shutter window with <ALT+F4> or the close button of window it shows the error:
$ LANG=C perl -d /usr/bin/shutter
Loading DB routines from perl5db.pl version 1.32
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(/usr/bin/shutter:38): Gnome2::AuthenticationManager->init;
  DB<1> c
Signal SEGV at /usr/bin/shutter line 3194
 main::__ANON__[/usr/bin/shutter:3207]() called at /usr/bin/shutter line 2802
 eval {...} called at /usr/bin/shutter line 2802
Aborted

Confirmed, the error occurs when I close shutter window (with <ALT+F4> or close button of window).

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Just groping in the dark, but your debug output made me curious. This is how my settings look like (Ubuntu 10.04):
Linux mario 2.6.32-29-generic #58-Ubuntu SMP Fri Feb 11 19:00:09 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.2 LTS \n \l
Glib 1.222
Gtk2 1.221
Glib built for 2.22.2, running with 2.24.1
Gtk2 built for 2.20.0, running with 2.20.1

Your's is:
Linux ubuntu-desktop 2.6.38-7-core2 #38 SMP PREEMPT Wed Mar 23 22:02:34 CET 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS \n \l
Glib 1.222
Gtk2 1.221
Glib built for 2.22.2, running with 2.25.14
Gtk2 built for 2.20.0, running with 2.20.1

Are you running a custom kernel and a custom version of Glib? I don't know if this makes any difference here, but could you please start you system with the standard kernel et cetera and see if that makes any difference?

Revision history for this message
Juan Simón (simonbcn) wrote :

Yes, I use a custom kernel based in Ubuntu kernel git.
The libglib installed from this PPA: http://ppa.launchpad.net/webupd8team/rhythmbox/ubuntu/

Revision history for this message
Juan Simón (simonbcn) wrote :
Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 744397] Re: It doesn't save the selected profile between sessions

I don't believe that this is a Shutter issue then that glib is crashing.

Revision history for this message
Juan Simón (simonbcn) wrote :

Are you sure?
I have downgraded the glib packages to Lucid ones but...

$ shutter -d
INFO: gathering system information...
Linux ubuntu-desktop 2.6.38-7-core2 #38 SMP PREEMPT Wed Mar 23 22:02:34 CET 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS \n \l

Glib 1.222
Gtk2 1.221
Glib built for 2.22.2, running with 2.24.1
Gtk2 built for 2.20.0, running with 2.20.1

Reflejo 3D - /usr/share/shutter/resources/system/plugins/perl/sp3dreflection/sp3dreflection
rotación 3D - /usr/share/shutter/resources/system/plugins/perl/sp3drotate/sp3drotate
Distorsión de barril - /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion
Efectos de los bordes - /usr/share/shutter/resources/system/plugins/perl/spbordereffects/spbordereffects
Negativo - /usr/share/shutter/resources/system/plugins/perl/spnegate/spnegate
Polaroid - /usr/share/shutter/resources/system/plugins/perl/sppolaroid/sppolaroid
Redimensionar - /usr/share/shutter/resources/system/plugins/perl/spresize/spresize
Sepia - /usr/share/shutter/resources/system/plugins/perl/spsepia/spsepia
Sombra fuerte - /usr/share/shutter/resources/system/plugins/perl/spshadow/spshadow
Marca de agua - /usr/share/shutter/resources/system/plugins/perl/spwatermark/spwatermark
Identidad de marca Shutter - /usr/share/shutter/resources/system/plugins/shell/spaddlogo/spaddlogo
Escala de grises - /usr/share/shutter/resources/system/plugins/shell/spgrayscale/spgrayscale
Pieza del rompecabezas 1 - /usr/share/shutter/resources/system/plugins/shell/spjigsaw1/spjigsaw1
Pieza de rompecabezas 2 - /usr/share/shutter/resources/system/plugins/shell/spjigsaw2/spjigsaw2
Desplazamiento - /usr/share/shutter/resources/system/plugins/shell/spoffset/spoffset
Aumentar el borde - /usr/share/shutter/resources/system/plugins/shell/spraise/spraise
Bordes suaves - /usr/share/shutter/resources/system/plugins/shell/spsoftedges/spsoftedges
Borde hundido - /usr/share/shutter/resources/system/plugins/shell/spsunk/spsunk
Papel torneado - /usr/share/shutter/resources/system/plugins/shell/sptornedpaper/sptornedpaper
Autorrecortar - /usr/share/shutter/resources/system/plugins/shell/sptrim/sptrim

shutter_wrksp_direct_compiz0x0
type_changed was emitted by widget Gtk2::ComboBox=HASH(0x1318b48)
progname_toggled was emitted by widget Gtk2::CheckButton=HASH(0x477d358)
im_colors_changed was emitted by widget Gtk2::ComboBox=HASH(0x29237d0)
im_colors_toggled was emitted by widget Gtk2::CheckButton=HASH(0x477dca0)
thumbnail_changed was emitted by widget Gtk2::HScale=HASH(0x4776510)
thumbnail_toggled was emitted by widget Gtk2::CheckButton=HASH(0x4781008)
bordereffect_toggled was emitted by widget Gtk2::CheckButton=HASH(0x477dd00)
bordereffect_changed was emitted by widget Gtk2::SpinButton=HASH(0x4776768)
menu_delay_changed was emitted by widget Gtk2::SpinButton=HASH(0x12fddf8)
keybinding_sel_toggled was emitted by widget Gtk2::CheckButton=HASH(0x477e620)
hide_time_changed was emitted by widget Gtk2::SpinButton=HASH(0x478c4c0)
ns_changed was emitted by widget Gtk2::ComboBox=HASH(0x478c6a0)
Gtk2::Gdk::Event=SCALAR(0x4991068) was emitted by widget Gtk2::Window=HASH(0x3f13c80)
Violación de segmento (Segment fault)

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

I still can't reproduce the problem, sorry.

Changed in shutter:
milestone: 0.87.3 → none
status: In Progress → Invalid
Revision history for this message
Juan Simón (simonbcn) wrote :
Download full text (3.2 KiB)

The problem still occurs:

$ shutter -d
INFO: gathering system information...
Linux ubuntu-desktop 2.6.38-10-core2 #44 SMP PREEMPT Mon Jun 6 16:06:45 CEST 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS \n \l

Glib 1.222
Gtk2 1.221

Glib built for 2.22.2, running with 2.25.14
Gtk2 built for 2.20.0, running with 2.20.1

Reflejo 3D - /usr/share/shutter/resources/system/plugins/perl/sp3dreflection/sp3dreflection
rotación 3D - /usr/share/shutter/resources/system/plugins/perl/sp3drotate/sp3drotate
Distorsión de barril - /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion
Efectos de los bordes - /usr/share/shutter/resources/system/plugins/perl/spbordereffects/spbordereffects
Negativo - /usr/share/shutter/resources/system/plugins/perl/spnegate/spnegate
Polaroid - /usr/share/shutter/resources/system/plugins/perl/sppolaroid/sppolaroid
Redimensionar - /usr/share/shutter/resources/system/plugins/perl/spresize/spresize
Sepia - /usr/share/shutter/resources/system/plugins/perl/spsepia/spsepia
Sombra fuerte - /usr/share/shutter/resources/system/plugins/perl/spshadow/spshadow
Marca de agua - /usr/share/shutter/resources/system/plugins/perl/spwatermark/spwatermark
Identidad de marca Shutter - /usr/share/shutter/resources/system/plugins/shell/spaddlogo/spaddlogo
Escala de grises - /usr/share/shutter/resources/system/plugins/shell/spgrayscale/spgrayscale
Pieza del rompecabezas 1 - /usr/share/shutter/resources/system/plugins/shell/spjigsaw1/spjigsaw1
Pieza de rompecabezas 2 - /usr/share/shutter/resources/system/plugins/shell/spjigsaw2/spjigsaw2
Desplazamiento - /usr/share/shutter/resources/system/plugins/shell/spoffset/spoffset
Aumentar el borde - /usr/share/shutter/resources/system/plugins/shell/spraise/spraise
Bordes suaves - /usr/share/shutter/resources/system/plugins/shell/spsoftedges/spsoftedges
Borde hundido - /usr/share/shutter/resources/system/plugins/shell/spsunk/spsunk
Papel torneado - /usr/share/shutter/resources/system/plugins/shell/sptornedpaper/sptornedpaper
Autorrecortar - /usr/share/shutter/resources/system/plugins/shell/sptrim/sptrim
shutter_wrksp_direct_compiz0x0

type_changed was emitted by widget Gtk2::ComboBox=HASH(0x20ca610)
progname_toggled was emitted by widget Gtk2::CheckButton=HASH(0x5467848)
im_colors_changed was emitted by widget Gtk2::ComboBox=HASH(0x53d37d8)
im_colors_toggled was emitted by widget Gtk2::CheckButton=HASH(0x54680d0)
thumbnail_changed was emitted by widget Gtk2::HScale=HASH(0x5467860)
thumbnail_toggled was emitted by widget Gtk2::CheckButton=HASH(0x53d3778)
bordereffect_toggled was emitted by widget Gtk2::CheckButton=HASH(0x52eb3e8)
bordereffect_changed was emitted by widget Gtk2::SpinButton=HASH(0x5468148)
menu_delay_changed was emitted by widget Gtk2::SpinButton=HASH(0x20af940)
keybinding_toggled was emitted by widget Gtk2::CheckButton=HASH(0x53d9ad0)
keybinding_sel_toggled was emitted by widget Gtk2::CheckButton=HASH(0x52ed528)
keybinding_sel_toggled was emitted by widget Gtk2::CheckButton=HASH(0x52ed528)
hide_time_changed was emitted by widget Gtk2::SpinButton=HASH(0x53d9c80)
ns_changed was emitted by widget Gtk2::ComboBox=HASH(0x53d9cb0)
Gtk2::Gdk::Event=SCALAR(0x5523328) was emitted by wid...

Read more...

Changed in shutter:
status: Invalid → New
Revision history for this message
Juan Simón (simonbcn) wrote :
Download full text (3.6 KiB)

It should be easy to reproduce.
I have done a fresh install of Ubuntu 10.04.2 64 bits with VirtualBox and I have updated all system. I've restarted and I've installed shutter. I execute it and:

$ shutter -d
WARNING: Net::DBus::GLib is missing --> Ubuntu One support will be disabled!
WARNING: Image::ExifTool is missing --> Writing Exif information will be disabled!
INFO: gathering system information...

Linux simon-desktop 2.6.32-33-generic #68-Ubuntu SMP Fri Jun 17 16:32:25 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS \n \l

Glib 1.222
Gtk2 1.221
Glib built for 2.22.2, running with 2.24.1
Gtk2 built for 2.20.0, running with 2.20.1

Reflejo 3D - /usr/share/shutter/resources/system/plugins/perl/sp3dreflection/sp3dreflection
rotación 3D - /usr/share/shutter/resources/system/plugins/perl/sp3drotate/sp3drotate
Distorsión de barril - /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion
Efectos de los bordes - /usr/share/shutter/resources/system/plugins/perl/spbordereffects/spbordereffects
Negativo - /usr/share/shutter/resources/system/plugins/perl/spnegate/spnegate
Polaroid - /usr/share/shutter/resources/system/plugins/perl/sppolaroid/sppolaroid
Redimensionar - /usr/share/shutter/resources/system/plugins/perl/spresize/spresize
Sepia - /usr/share/shutter/resources/system/plugins/perl/spsepia/spsepia
Sombra fuerte - /usr/share/shutter/resources/system/plugins/perl/spshadow/spshadow
Marca de agua - /usr/share/shutter/resources/system/plugins/perl/spwatermark/spwatermark
Identidad de marca Shutter - /usr/share/shutter/resources/system/plugins/shell/spaddlogo/spaddlogo
Escala de grises - /usr/share/shutter/resources/system/plugins/shell/spgrayscale/spgrayscale
Pieza del rompecabezas 1 - /usr/share/shutter/resources/system/plugins/shell/spjigsaw1/spjigsaw1
Pieza de rompecabezas 2 - /usr/share/shutter/resources/system/plugins/shell/spjigsaw2/spjigsaw2
Desplazamiento - /usr/share/shutter/resources/system/plugins/shell/spoffset/spoffset
Aumentar el borde - /usr/share/shutter/resources/system/plugins/shell/spraise/spraise
Bordes suaves - /usr/share/shutter/resources/system/plugins/shell/spsoftedges/spsoftedges
Borde hundido - /usr/share/shutter/resources/system/plugins/shell/spsunk/spsunk
Papel torneado - /usr/share/shutter/resources/system/plugins/shell/sptornedpaper/sptornedpaper
Autorrecortar - /usr/share/shutter/resources/system/plugins/shell/sptrim/sptrim
shutter_wrksp_direct_compiz0x0
shutter_wrksp_direct_compiz1280x0
shutter_wrksp_direct_compiz2560x0
shutter_wrksp_direct_compiz3840x0

type_changed was emitted by widget Gtk2::ComboBox=HASH(0x8bce40)
progname_toggled was emitted by widget Gtk2::CheckButton=HASH(0x3838d00)
im_colors_changed was emitted by widget Gtk2::ComboBox=HASH(0x3838ac0)
im_colors_toggled was emitted by widget Gtk2::CheckButton=HASH(0x3838be0)
thumbnail_changed was emitted by widget Gtk2::HScale=HASH(0x38386a0)
thumbnail_toggled was emitted by widget Gtk2::CheckButton=HASH(0x3838970)
bordereffect_toggled was emitted by widget Gtk2::CheckButton=HASH(0x3838e08)
bordereffect_changed was emitted by widget Gtk2::SpinButton=HASH(0x3838dd8)
menu_delay_changed was emitted by widget Gtk2::SpinButton=HASH(0x8b2...

Read more...

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Ok, I will try again when I am back home tonight. Thanks for your patience.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

I did exactly what you have described (I have also switched the language
to Spanish). I still cannot reproduce it.

I have installed the latest 10.04, updated it and installed Shutter.
Everything works as expected for me. Please see this video:
http://dl.dropbox.com/u/961086/Bug%20744397.ogv

Could you please send me your settings folder (~/.shutter)? Does it
crash on first start after installation? There is nothing else you have
installed? What language are you using?

Am Mittwoch, den 22.06.2011, 11:42 +0000 schrieb Simon:
> It should be easy to reproduce.
> I have done a fresh install of Ubuntu 10.04.2 64 bits with VirtualBox
> and I have updated all system. I've restarted and I've installed
> shutter.

Revision history for this message
Juan Simón (simonbcn) wrote :

The problem only occurs when I close the Shutter window with <ALT+F4> or the close button of window. If I select "Exit" (Salir) from menu, it works well.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Heureka!! You have unchecked the setting "Minimize to tray when closing main window" (Behavior), right? When I uncheck this option and close the main window Shutter segfaults. Great, now I can try to solve the problem.

Changed in shutter:
milestone: none → 0.87.3
status: New → Confirmed
Changed in shutter:
status: Confirmed → Fix Committed
Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Could you please check if the bug is really fixed. There are some updated packages in our testing repo:

sudo add-apt-repository ppa:shutter-testing-team/ppa
sudo apt-get update && sudo apt-get install shutter

Thanks.

Revision history for this message
Juan Simón (simonbcn) wrote :

Yes, now it works.
Thanks.

Changed in shutter:
status: Fix Committed → 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.