! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Segfault when using "open location" dialog
Status:
CLOSED: FIXED

Comments

Description Nick Schermer editbugs 2006-06-03 18:49:18 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060602 Firefox/1.5.0.4 (Swiftfox)
Build Identifier: Latest svn

The open location crashes when the new location is not 'completed'. If you goto /usr for example and there is no auto completed text in the typed location everything works fine, but when auto completion is still active, thunar crashed.

This only effects directories, when jumping to a file everything works fine.

Reproducible: Always

Steps to Reproduce:
1. Location selector: Pathbar style
2. Start typing: /u
3. The "open location" dialog pops-up with /u<highlight>sr/</highlight>
4. Press Enter
5. Segmentation fault




glibc 2.4
glib2 2.10.3
gtk 2.8.18
gcc 4.1.1
Comment 1 Nick Schermer editbugs 2006-06-03 18:49:48 CEST
Created attachment 590 
Backtrace
Comment 2 Benedikt Meurer editbugs 2006-06-06 11:45:36 CEST
Hm, looks like a GTK+ bug. Most probably GtkTreeView, maybe GtkEntryCompletion. Can you install GTK+ with debug and do the backtrace again? And please file a bug report to bugzilla.gnome.org.
Comment 3 Nick Schermer editbugs 2006-06-12 12:39:15 CEST
Created attachment 601 
Backtrace 2

Hopefully this backtrace will provide you some more information.
Comment 4 Benedikt Meurer editbugs 2006-06-12 12:53:45 CEST
Can you file a bug report to GNOME bugzilla with the backtrace attached?
Comment 5 Benedikt Meurer editbugs 2006-07-08 13:29:18 CEST
Any news?
Comment 6 Nick Schermer editbugs 2006-07-08 13:41:44 CEST
Reported the bug at the Gnome Bugzilla, but no news yet.
Comment 7 Benedikt Meurer editbugs 2006-07-09 21:23:33 CEST
Moving to 0.4.0rc1.
Comment 8 Nick Schermer editbugs 2006-07-10 05:26:10 CEST
Kristian Rietveld thinks this is not a GTK bug, but a bug in ThunarListModel. He also made a small patch for Thunar. I haven't tried it yet, but you can find everything here: http://bugzilla.gnome.org/show_bug.cgi?id=344659
Comment 9 Benedikt Meurer editbugs 2006-07-10 08:51:19 CEST
Created attachment 654 
Suggested fix

This patch should fix the issue then.
Comment 10 Nick Schermer editbugs 2006-07-10 17:09:20 CEST
Problem solved \o/. I can't reproduce the crash any more.
Comment 11 Benedikt Meurer editbugs 2006-07-10 19:19:52 CEST
Committed with revision 22398.

2006-07-10	Benedikt Meurer <benny@xfce.org>

	* thunar/thunar-list-model.c: Fix improper behaviour of ThunarListModel
	  with GtkEntryCompletion and GtkTreeView. Bug #1891.
Comment 12 Benedikt Meurer editbugs 2006-07-27 15:52:19 CEST
*** Bug 1834 has been marked as a duplicate of this bug. ***
Comment 13 Benedikt Meurer editbugs 2006-08-06 19:03:35 CEST
*** Bug 2111 has been marked as a duplicate of this bug. ***

Bug #1891

Reported by:
Nick Schermer
Reported on: 2006-06-03
Last modified on: 2009-07-17
Duplicates (2):
  • 1834 segfaults in the location entry dialog
  • 2111 seg fault when browsing into directories with larger number of sub directories

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

Backtrace (8.56 KB, text/plain)
2006-06-03 18:49 CEST , Nick Schermer
no flags
Backtrace 2 (14.75 KB, text/plain)
2006-06-12 12:39 CEST , Nick Schermer
no flags
Suggested fix (4.31 KB, patch)
2006-07-10 08:51 CEST , Benedikt Meurer
no flags

Additional information