Shotwell crashes when moving pictures from one event to another

Bug #623029 reported by timbo
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Shotwell
Won't Fix
Unknown
shotwell (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: shotwell

Hi,

this bug affects shotwell 0.7.0 on my Lucid 64bit System.

It is pretty simple to reconstruct for me. If I merge all pictures from one event to another event, then on the next click in shotwell, the program crashes.

"(shotwell:9844): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed"

This happens every time I move pictures from one event to another event.

I hope this can be fixed.

Revision history for this message
Jim Nelson (yorba-jim) wrote :

Can you reproduce this every time, or was this a one-off?

If you can reproduce this, could you please do the following?

Run Shotwell from the console:

$ SHOTWELL_LOG=1 gdb shotwell 2>&1 | tee shotwell.txt

When the gdb prompt appears type this:

(gdb) run

When you reproduce the problem, the gdb prompt will reappear. Type this:

(gdb) backtrace full

This will produce a shotwell.txt file. If you could attach that to this ticket, that would help immensely.

Revision history for this message
Adam Dingle (adam-yorba) wrote :

I've created a ticket to track this upstream at http://trac.yorba.org/ticket/2477 .

I'm so far unable to reproduce this on my system (Ubuntu Lucid, 32 bit, Shotwell 0.7).

Revision history for this message
timbo (timbolino) wrote :

Hi,

thanks for the quick support.

Here the shotwell.txt.

Maybe it has something to do with the global-menu I use. But even if I turn off the global menu shotwell crashes everytime.

Revision history for this message
Adam Dingle (adam-yorba) wrote :

Timbo,

1) Where did you get the global menu plugin? Did you build it from source, or install a binary from somewhere? What version of it are you using?

2) You said the Shotwell crashes even if you turn off the global menu. How are you turning it off - through a preferences dialog, or by uninstalling it? Does the crash occur even if you uninstall the global menu plugin?

Revision history for this message
Adam Dingle (adam-yorba) wrote :

No need to answer my questions above. I can now reproduce this. I installed gnome-globalmenu 0.7.9 from the PPA at https://launchpad.net/~globalmenu-team/+archive/ppa . With the global menu running, I see the same crash you do. Even if I don't have the global menu active in any GNOME panel, I still see the crash:

(shotwell:28094): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(shotwell:28094): GlobalMenu:Plugin-CRITICAL **: serializer_to_string: assertion `menubar != NULL' failed
/home/adam/bin/s: line 1: 28094 Segmentation fault (core dumped) .

The global menu plugin is still in the GTK stack even if you're not displaying it in any panel.

If you go to the global menu home page (http://code.google.com/p/gnome2-globalmenu/), you'll see that there are many applications it doesn't work with (http://code.google.com/p/gnome2-globalmenu/wiki/ApplicationCompatibility). So I'm marking the upstream Shotwell bug invalid; if you want to track this down further you'll need to talk to the global menu team. As it says on the global menu home page:

THIS IS NON-WARRANTED SOFTWARE. USE AT YOUR OWN RISK. IT KILLS KITTENS AND COMPUTERS TOO

Revision history for this message
timbo (timbolino) wrote :

Hi Adam,

thanks for your help.

The GlobalMenu Development seems to be very slow. So I dont think that my problem will be solved in the near future. So lets see what the new UNE globla menu can do for me.

BTW: You guys are doing a great job!

Revision history for this message
timbo (timbolino) wrote :

I tried now the new Global Menu that is coming with 10.10 and it works perfect with Shotwell!

https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationMenu
http://www.webupd8.org/2010/05/application-menu-global-menu-for-ubuntu.html

Revision history for this message
Omer Akram (om26er) wrote :

the bug is rather in gnome2-global menu which is not seeing any active development. closing this bug as wontfix as done upstream.

Changed in shotwell (Ubuntu):
importance: Undecided → Low
status: New → Won't Fix
Changed in shotwell:
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.