! 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 !
segfaults in the location entry dialog
Status:
CLOSED: DUPLICATE

Comments

Description Jani Monoses 2006-05-22 12:08:15 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060513 Ubuntu/dapper Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060513 Ubuntu/dapper Firefox/1.5.0.3

I can get a crash when using the pathbar popped up by / or CTRL-L
I enter /home/jani/ and on the last slash it invariably crashes.
If I press the last slash and something else quickly enough it survives. If I backspace and have the same /home/jani/ path is does not crash.

This is the function but could not get a backtrace as the dialog was modal so had to kill gdb.
gtk_tree_view_set_fixed_height_mode() not sure if directly called by thunar or via  other gtk functions.
Some other directories cause this as well but I don't see a pattern yet.
other warnings unrelated but which cause the completion box not being properly filled (no entries which should have been there as their prefix matched)

 Gtk-CRITICAL **: gtk_tree_view_scroll_to_cell: assertion `tree_view->priv->tree != NULL' failed



Reproducible: Always
Comment 1 Benedikt Meurer editbugs 2006-05-23 14:27:41 CEST
Sounds like GtkEntryCompletion crashing, as that's the only tree view used within the location dialog/entry. A backtrace would be helpful tho, to be sure.

BTW: If compiled with --enable-debug=minimum/no it shouldn't crash atleast, just print the warning. I'd suggest to build the release version for Xubuntu with --enable-debug=minimum.
Comment 2 Jani Monoses 2006-05-23 14:52:51 CEST
I could not get a BT because the dialog was modal when it crashed so the whole X was frozen until I killed gdb from the console.

Thunar is now built with minimum-debug (to prevent Werror causing failed builds)
And I was not clear enough, that warning was there but not related to the crash directly but probably they have a common cause. So the gtktree warning was there when the entry would not complete nicely (not reproducable I had a file starting with ',' and if I deleted it the directory would be completed ok). Weird.

When it crashed it just segfaulted with no warning at all.
Comment 3 Benedikt Meurer editbugs 2006-05-23 14:57:20 CEST
It's not because the dialog is modal, but because GtkEntry/GtkEntryCompletion grab the pointer.

If it crashes without warning (you posted the Gtk-CRITICAL warning earlier, so I thought it would spit out that warning prior to crashing), it's probably a bug in Thunar. Can you run Thunar with ulimit -c unlimited and examine the core file?
Comment 4 Jani Monoses 2006-05-23 15:02:03 CEST
ok, I'll try to gather some more data. In the original report I mentioned 'unrelated warnings' but yes, I know it's not good style to put too many issues in the same bug report ;)
Comment 5 Benedikt Meurer editbugs 2006-07-09 21:23:33 CEST
Moving to 0.4.0rc1.
Comment 6 Benedikt Meurer editbugs 2006-07-27 15:52:19 CEST

*** This bug has been marked as a duplicate of 1891 ***

Bug #1834

Reported by:
Jani Monoses
Reported on: 2006-05-22
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information