Wastebasket right click causes segmentation fault
Submitted by an unknown user
Assigned to Lucas Beeler
Link to original bug (#717608)
Description
---- Reported by shotwell-maint@gnome.bugs 2011-04-16 09:06:00 -0700 ----
Original Redmine bug id: 3507
Original URL: http://redmine.yorba.org/issues/3507
Searchable id: yorba-bug-3507
Original author: Mateusz Loskot
Original description:
I'm using Shotwell built from Git master r23a8a0ab on Ubuntu 10.10 x64 which is suffering of segmentation fault every time I try to activate context menu by right-click on Wastebasket node in the tree on the left sidebar.
Left-click on the Wastebasket node to see its content works well.
Here is full backtrace:
mloskot@dog:~/dev/shotwell/_git/shotwell$ gdb ./shotwell
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/mloskot/dev/shotwell/_git/shotwell/shotwell...done.
(gdb) run
Starting program: /home/mloskot/dev/shotwell/_git/shotwell/shotwell
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffdf1c1700 (LWP 15995)]
[New Thread 0x7fffde9c0700 (LWP 15996)]
[New Thread 0x7fffde1bf700 (LWP 15997)]
[New Thread 0x7fffdd9be700 (LWP 15998)]
[Thread 0x7fffdd9be700 (LWP 15998) exited]
[New Thread 0x7fffdd9be700 (LWP 15999)]
[New Thread 0x7fffd7c7c700 (LWP 16000)]
[New Thread 0x7fffd747b700 (LWP 16001)]
[New Thread 0x7fffd6c7a700 (LWP 16002)]
[New Thread 0x7fffd6479700 (LWP 16003)]
[Thread 0x7fffd6479700 (LWP 16003) exited]
[Thread 0x7fffd7c7c700 (LWP 16000) exited]
[Thread 0x7fffd747b700 (LWP 16001) exited]
[Thread 0x7fffd6c7a700 (LWP 16002) exited]
[Thread 0x7fffdd9be700 (LWP 15999) exited]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2022591 in g_type_interface_peek () from /usr/lib/libgobject-2.0.so.0
(gdb) bt
#0 0x00007ffff2022591 in g_type_interface_peek () from /usr/lib/libgobject-2.0.so.0
#1 0x000000000057cdb9 in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#2 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#3 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#4 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#5 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#6 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#7 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#8 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#9 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#10 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#11 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#12 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#13 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#14 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#15 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#16 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#17 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#18 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#19 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#20 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#21 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#22 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#23 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#24 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
#25 0x000000000057cdcd in sidebar_contextable_entry_get_sidebar_context_menu (self=0x7fffd8122b00, event=0x12c7640)
at src/sidebar/Entry.c:450
---Type `<return>` to continue, or q `<return>` to quit---
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:39:00 -0700 ----
History
Comment 1
Updated by Adam Dingle over 2 years ago
- Status changed from Open to Review
- Assignee changed from Anonymous to Lucas Beeler
- Target version set to 0.10
- Priority set to Urgent
Thanks for the bug report. When I try this Shotwell actually seems to hang rather than crash, but in any case we should fix this. :)
Fortunately this works fine in 0.9.2. I think this problem is probably a consequence of the large sidebar refactoring we did recently in trunk:
!http://trac.yorba.org/changeset/dd601ce7cefe0746ebdb50e400f7b4f9de567e09/shot well
Comment 2
Updated by Bruno Girin over 2 years ago
I can confirm the segmentation fault on Ubuntu 10.10 32bits.
Comment 3
Updated by Lucas Beeler over 2 years ago
- Status changed from Review to 5
- Resolution set to fixed
- % Done changed from 0 to 100
Fixed in 6f67991e
Comment 4
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Fixed
--- Bug imported by chaz@yorba.org 2013-11-25 21:52 UTC ---
This bug was previously known as bug 3507 at http://redmine.yorba.org/show_bug.cgi?id=3507
Unknown Component Using default product and component set in Parameters Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Version: 0.10
Resolution: RESOLVED FIXED