After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 310270 - crash in file selector while open a directory
crash in file selector while open a directory
Status: RESOLVED FIXED
Product: libgnomeui
Classification: Deprecated
Component: file-chooser
CVS HEAD
Other Linux
: High normal
: future
Assigned To: Alexander Larsson
Alexander Larsson
: 311859 312074 312148 312372 312571 312923 312933 313190 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-13 21:05 UTC by Diego González
Modified: 2005-12-18 22:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
gtk-bookmarks file (196 bytes, text/plain)
2005-07-15 01:30 UTC, Diego González
  Details
Another backtrace (118.98 KB, text/plain)
2005-07-30 21:03 UTC, Luca Ferretti
  Details
more preconditions ... (1.54 KB, patch)
2005-08-11 21:44 UTC, Michael Meeks
none Details | Review
Gtk+ patch to handle base_path being null in more places. (1.57 KB, patch)
2005-09-01 12:26 UTC, Alexander Larsson
committed Details | Review

Description Diego González 2005-07-13 21:05:51 UTC
If I remove the libgnome-vfs.so from the gtk+/2.4.0/filesystem subdirectory the
crash does not happend. The weired thing is that it happends only in some
directories, here is the backtrace:

  • #0 strcmp
    from /lib/tls/libc.so.6
  • #1 shortcut_find_position
    at gtkfilechooserdefault.c line 1941
  • #2 bookmarks_check_add_sensitivity
    at gtkfilechooserdefault.c line 2249
  • #3 list_selection_changed
    at gtkfilechooserdefault.c line 6383
  • #4 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #5 IA__g_closure_invoke
    at gclosure.c line 437
  • #6 signal_emit_unlocked_R
    at gsignal.c line 2488
  • #7 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #8 IA__g_signal_emit
    at gsignal.c line 2291
  • #9 _gtk_tree_selection_internal_select_node
    at gtktreeselection.c line 1511
  • #10 gtk_tree_view_real_set_cursor
    at gtktreeview.c line 11233
  • #11 gtk_tree_view_button_press
    at gtktreeview.c line 2396
  • #12 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #13 g_type_class_meta_marshal
    at gclosure.c line 514
  • #14 IA__g_closure_invoke
    at gclosure.c line 437
  • #15 signal_emit_unlocked_R
    at gsignal.c line 2526
  • #16 IA__g_signal_emit_valist
    at gsignal.c line 2257
  • #17 IA__g_signal_emit
    at gsignal.c line 2291
  • #18 gtk_widget_event_internal
    at gtkwidget.c line 3734
  • #19 IA__gtk_widget_event
    at gtkwidget.c line 3537
  • #20 IA__gtk_propagate_event
    at gtkmain.c line 2157
  • #21 IA__gtk_main_do_event
    at gtkmain.c line 1380
  • #22 gdk_event_dispatch
    at gdkevents-x11.c line 2265
  • #23 g_main_dispatch
    at gmain.c line 1934
  • #24 IA__g_main_context_dispatch
    at gmain.c line 2484
  • #25 g_main_context_iterate
    at gmain.c line 2565
  • #26 IA__g_main_loop_run
    at gmain.c line 2769
  • #27 IA__gtk_dialog_run
    at gtkdialog.c line 1019
  • #28 eog_window_get_type
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 ??
  • #33 ??
  • #34 ??
  • #35 ??
  • #36 ??
    from /usr/lib/libgobject-2.0.so.0
  • #37 ??
  • #38 ??
  • #39 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #40 IA__g_closure_invoke
    at gclosure.c line 437
  • #41 signal_emit_unlocked_R
    at gsignal.c line 2488
  • #42 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #43 IA__g_signal_emit
    at gsignal.c line 2291
  • #44 _gtk_action_emit_activate
    at gtkaction.c line 1038
  • #45 IA__gtk_action_activate
    at gtkaction.c line 1065
  • #46 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #47 IA__g_closure_invoke
    at gclosure.c line 437
  • #48 signal_emit_unlocked_R
    at gsignal.c line 2488
  • #49 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #50 IA__g_signal_emit
    at gsignal.c line 2291
  • #51 IA__gtk_widget_activate
    at gtkwidget.c line 3765
  • #52 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1057
  • #53 gtk_menu_shell_button_release
    at gtkmenushell.c line 663
  • #54 gtk_menu_button_release
    at gtkmenu.c line 2571
  • #55 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #56 g_type_class_meta_marshal
    at gclosure.c line 514
  • #57 IA__g_closure_invoke
    at gclosure.c line 437
  • #58 signal_emit_unlocked_R
    at gsignal.c line 2526
  • #59 IA__g_signal_emit_valist
    at gsignal.c line 2257
  • #60 IA__g_signal_emit
    at gsignal.c line 2291
  • #61 gtk_widget_event_internal
    at gtkwidget.c line 3734
  • #62 IA__gtk_widget_event
    at gtkwidget.c line 3537
  • #63 IA__gtk_propagate_event
    at gtkmain.c line 2157
  • #64 IA__gtk_main_do_event
    at gtkmain.c line 1395
  • #65 gdk_event_dispatch
    at gdkevents-x11.c line 2265
  • #66 g_main_dispatch
    at gmain.c line 1934
  • #67 IA__g_main_context_dispatch
    at gmain.c line 2484
  • #68 g_main_context_iterate
    at gmain.c line 2565
  • #69 IA__g_main_loop_run
    at gmain.c line 2769
  • #70 IA__gtk_main
    at gtkmain.c line 974
  • #71 main

Comment 1 Teppo Turtiainen 2005-07-14 06:52:43 UTC
According to simple-dup-finder this is a unique stack trace.
Comment 2 Federico Mena Quintero 2005-07-15 00:55:46 UTC
Could you please attach your ~/.gtk-bookmarks?

When the crash happens inside gdb, could you go up to frame 1 (in
shortcut_find_position) and do this:

  p (char *) path
  p (char *) base_path
  p volume

I need the output from those three commands.
Comment 3 Diego González 2005-07-15 01:30:31 UTC
Created attachment 49200 [details]
gtk-bookmarks file
Comment 4 Diego González 2005-07-15 01:36:33 UTC
I forgot to say that this happends when I select open directory from the menu,
if i select open a file eog crashesh inmediately, and shows this in the console
(eog also shows this when opening a directory):

(eog:7101): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path !=
NULL' failed

(eog:7101): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path !=
NULL' failed

-------------------------
I'm not sure how to go to frame 1. This is what i did, i put a break point at
shortcut_find_position and then ran the program. This is what i got:

Breakpoint 1, shortcut_find_position (impl=0x81e1020, path=0x824cd10)
    at gtkfilechooserdefault.c:1915
1915      if (!gtk_tree_model_get_iter_first (GTK_TREE_MODEL (impl->shortcuts_mo
del), &iter))
(gdb) p (char *) path
$1 = 0x824cd10 "file:///home/diego/Desktop/My%20Photos"
(gdb) p (char *) base_path
No symbol "base_path" in current context.
(gdb) p volume
No symbol "volume" in current context.
Comment 5 Diego González 2005-07-15 01:38:34 UTC
Ok, i just learned how to do this:

(gdb) frame 1
  • #1 shortcut_find_position
    at gtkfilechooserdefault.c line 1941
$1 = 0x81ff208 "file:///home/diego/Desktop/My%20Photos"
(gdb) p (char *) base_path
$2 = 0x0
(gdb) p volume
$3 = (GtkFileSystemVolume *) 0x81e8190
Comment 6 Federico Mena Quintero 2005-07-15 05:42:46 UTC
base_path is null!?  This indicates that gnome-vfs returned a NULL activation
uri for a volume or a drive.  Alex, do you know why this may happen?
Comment 7 Alexander Larsson 2005-07-15 08:12:55 UTC
That is strange. With the recent HAL patch we do generate drives for devices
where we don't yet know the mountpoint (not in fstab). However, these should
return "" as the activation uri.
Comment 8 Diego González 2005-07-15 09:57:14 UTC
I'm using HAL and gnome-vfs from CVS HEAD, if that helps. I'm also seeing some
strange things after updating. For example, the computer window has this label
for the CD writer: "CD-RW(null) Drive" and the CD reader has something like that
also. I don't know if it is related.
Comment 9 Sebastien Bacher 2005-07-15 10:35:53 UTC
the label issue is #310296
Comment 10 Diego González 2005-07-15 23:44:59 UTC
I have found the source of all my problems and crashes, it was some stale fdi
files that where causing all the problems. Even those (null) string in the
middle of the device names. Now everything is back to normal.

Sorry for the time I made you spend on this issue.
Comment 11 Federico Mena Quintero 2005-07-16 02:20:34 UTC
No problem :)
Comment 12 Sebastien Bacher 2005-07-16 10:25:53 UTC
I've the same crash here, and even if there is an incorrect hal file the
fileselector should not crash, reopening
Comment 13 Diego González 2005-07-17 12:09:07 UTC
Today, when i turned on the computer everything started crashing again, I don't
really know what the difference is. Because i don't remember changing anything.
Comment 14 Sebastien Bacher 2005-07-17 12:38:41 UTC
setting the milestone to 2.12, gedit crashes as soon as I click on "open" here
Comment 15 Diego González 2005-07-17 15:39:29 UTC
Eog also crashes, I have been trying several programs. The only difference that
i can see between the programs that crash and the ones that don't crash when
opening a file is that the ones that crash have both of my CD drives (reader and
writer) and the floppy in them. The crash happends after this is shown and
before the GtkTreeView on the right side is filled (there is nothing in there).

Other programs like epiphany or abiword, don't crash but also show in the
console this warning three times:

(gedit:4792): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path !=
NULL' failed

Don't know if this is of help.
Comment 16 Ross Burton 2005-07-28 14:28:19 UTC
*** Bug 311859 has been marked as a duplicate of this bug. ***
Comment 17 Luca Ferretti 2005-07-30 20:50:46 UTC
I've this crash too. Just to sommarize my experience:

* the crash is related to gnome-vfs+hal - compiling gnome-vfs using
--enable-hal=no or killing haldaemon while session is running, everithing works fine
* the crash occurs only in some applications (eog, gedit)
* other applications (gnome-search-tool, epiphany) don't crash, but in bookmark
list are showed only "Home" "Desktop" and "File system" entries. There are no
entries for removable devices
* instead connected server are showed #-|
* the Gtk-CRITICAL message is printed for both crashing and not-crashing apps
* the save dialog for gedit and eog shows only Home, Desktop and FS entries, but
don't crash
* the open dialog for gedit and eog crash while loading the list of files in
home; meanwile (well in 1/100 of sec before crashing) all entries in bookmark
list are showed
* oh, my .gtk-bookmarks is empty
* "Program terminated with signal 11"
Comment 18 Luca Ferretti 2005-07-30 21:03:42 UTC
Created attachment 49991 [details]
Another backtrace

This bactrace come from gedit. Please note the different odd string at #19
(I will away until september. Happy hacking and fixing. And happy holidays to
me :-P)
Comment 19 Luca Ferretti 2005-07-31 09:06:52 UTC
* gnome-screenshooter seems to work: the list on location on chooser-button is
still Home, Desktop and File system, but choosing "Other..." the chooser dialog
shows removable drives provided by HAL

* Drive names provided by libhal are no translated (using it-IT locale, and,
yes, it.po exist in hal): could be related or it's another bug?
Comment 20 Sebastien Bacher 2005-07-31 11:02:10 UTC
*** Bug 312074 has been marked as a duplicate of this bug. ***
Comment 21 Luca Ferretti 2005-07-31 19:24:46 UTC
just to finish my notes:

* evince is the third application to crash opening files: note that evince,
gedit and eog have the ability to open non local files via gnome-vfs
* with HAL enabled (at compile time or with haldaemon running) trahs:// location
don't work: both the item on desktop and the applet stay "empty" when you move a
file to trash (via d'n'd or nautilus command). The files are physically moved to
$HOME/.Trash directory, but trash:// seems disconnected.

PS: yeah, I know this latest entry is not related to file selector, but, as I
said, disablig HAL all those issues disappear. I really suppose it's a
gnome-vfs+HAL issue. 
Comment 22 Sebastien Bacher 2005-07-31 21:40:15 UTC
file-chooser/gtkfilesystemgnomevfs.c:

gtk_file_system_gnome_vfs_volume_get_base_path () returns a NULL uri for
non-mounted volume. Example:

(gedit:5552): Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path !=
NULL' failed
gnome_vfs_drive_get_display_name: CD-ROM/DVD-ROM Drive
gnome_vfs_drive_get_device_path: /dev/hdd
uri: (null)

gnome_vfs_drive_get_display_name: Floppy Drive
gnome_vfs_drive_get_device_path: /dev/fd0
uri: (null)

that's because "uri = gnome_vfs_drive_get_activation_uri (GNOME_VFS_DRIVE
(volume));" is used, and according to the gnome-vfs sources:

"                } else {
                        /* This sucks but it doesn't make sense to talk about
the activation_uri if we're not mounted!
                         * So just set it to the empty string
                         */
                        drive->priv->activation_uri = g_strdup ("");
                }"

maybe gnome_vfs_drive_get_device_path () should be used here?
Comment 23 Sebastien Bacher 2005-07-31 22:30:31 UTC
I've opened #312171, on gnome-vfs, about gnome_vfs_drive_get_activation_uri()
beeing not coherent.
Comment 24 David Zeuthen (not reading bugmail) 2005-08-01 01:05:32 UTC
Does the patch in bug 308475 fix this problem?
Comment 25 Teppo Turtiainen 2005-08-01 05:24:27 UTC
*** Bug 312148 has been marked as a duplicate of this bug. ***
Comment 26 Sebastien Bacher 2005-08-01 07:38:51 UTC
no, libgnomeui 2.11.1 has this patch, the issue is with the 

"    else
      {
        uri = gnome_vfs_drive_get_activation_uri (GNOME_VFS_DRIVE (volume));
"
case
Comment 27 Seph M. Soliman 2005-08-02 10:30:42 UTC
I confirm that this bug is due to incorrect handling of non-browsable devices.
Apparently I had my swap partition in /etc/fstab as mount point "none", but
until i figured this out i wondered why I had a device named "none" in
computer:/// - well now I can confirm it. after a change of this and a reboot
the device is gone and gedit doesn't crash.
I can do fine without a my swap parition for now, but I can only agree with the
issue severety rating "critical".
Comment 28 Paolo Maggi 2005-08-04 12:39:21 UTC
*** Bug 312571 has been marked as a duplicate of this bug. ***
Comment 29 Guillaume Desmottes 2005-08-08 22:01:32 UTC
*** Bug 312933 has been marked as a duplicate of this bug. ***
Comment 30 Matthias Clasen 2005-08-09 14:01:34 UTC
*** Bug 312372 has been marked as a duplicate of this bug. ***
Comment 31 Matthias Clasen 2005-08-10 15:05:49 UTC
*** Bug 312923 has been marked as a duplicate of this bug. ***
Comment 32 Michael Meeks 2005-08-11 15:33:46 UTC
OK - this is an interesting bug - and it just knackered OO.o too ;-)
From a brief glance - here is what is happening:

a) a Gnome 2.8 gnome-vfs daemon is running on the desktop somehow,
   + that daemon has a difference in the IDL to 2.0:
       + adding a 'boolean must_eject_at_unmount'

b) we have 2 people compiled with different views of the same interface => what
is on the wire doesn't match what we should de-marshal. Bear in mind that in
this case - CORBA can do nothing, there is no way of knowing what to do here
since the types of the arguments are not marshalled -just the data. [ this is 1
strength of D/BUS IMHO - although it's not in fact taken advantage of there (yet);-]

c) The ORB *should* fail gracefully when what is on the wire doesn't match what
it is expecting. To some extent we already do this: we find we don't have enough
data to de-marshal [ remember the 2.8 version is going to send 1 octet too few
], and so we return TRUE from corba-any.c (ORBit_demarshal_value) line ~686 - we
 also NULL the ->_buffer - *but* we don't clobber the length of the sequence.
I've added that fix.

Unfortunately ORBit_demarshal_arg ignores the error value - so we don't get the
exception we should after the stub completes - I'll fix that: now we'll get an
exception inside the gnome-vfs code.

FWIW - I'd -strongly- recommend creating a new / parallel sub-classed structure:
struct Drive2 {
   Drive parent;
   ... extra data ...
   any expansionIsGood;
};
and a new method to return that to be more safe / fool-proof.

HTH.
   
Comment 33 Michael Meeks 2005-08-11 15:44:35 UTC
Committed:

+2005-08-11  Michael Meeks  <michael.meeks@novell.com>
+
+	* src/orb/orb-core/corba-any.c (ORBit_demarshal_arg):
+	propagate the error condition we laboured hard to get right
+	to our caller.
+	(ORBit_demarshal_value): when sequence de-marshalling
+	dies, nail the length as well as freeing the buffer.
+	Fixes #310270#

Now - of course, it's a mystery as to why this was causing grief in a homogenous
Gnome-2.12 setup.
Comment 34 Teppo Turtiainen 2005-08-11 17:56:33 UTC
*** Bug 313190 has been marked as a duplicate of this bug. ***
Comment 35 Michael Meeks 2005-08-11 21:42:56 UTC
So - more information - removing:
    gtk_file_chooser_set_local_only (chooser, FALSE);
stops the crash - so clearly it's isolated in the libgnomeui piece.

The proximate crash is just a trivial NULL strcmp, in more depth we get a NULL
base_path pointer back from:

	      base_path = gtk_file_system_volume_get_base_path 
                                  (impl->file_system, volume);

	      exists = strcmp (gtk_file_path_get_string (path),
			       gtk_file_path_get_string (base_path)) == 0;

and segv the next line. Trivial patch attached - also adds some other probably
useful preconditions.

Still spews warnings of course - but appears to function without crashing.

Comment 36 Michael Meeks 2005-08-11 21:44:09 UTC
Created attachment 50596 [details] [review]
more preconditions ...
Comment 37 David Zeuthen (not reading bugmail) 2005-08-11 22:38:58 UTC
This patch fixes the bug for me too.
Comment 38 Matthias Clasen 2005-08-12 03:04:15 UTC
Thanks Michael. I've committed your workaround.
Comment 39 Michael Meeks 2005-08-17 08:42:05 UTC
David - when you say fixes it - I still get loads of warning spew - and am
suspiciously missing any network places type icons in my shortcuts - indeed, any
way to use non-local file-systems - which ( I believe ) is prolly part of the
problem. ie. this is very much a non-fix ;-)
Thanks for committing that Matthias.
Comment 40 Alexander Larsson 2005-09-01 12:26:00 UTC
If base_path really can be NULL, then we need to cover more cases. Attaching patch.
Comment 41 Alexander Larsson 2005-09-01 12:26:55 UTC
Created attachment 51656 [details] [review]
Gtk+ patch to handle base_path being null in more places.
Comment 42 Alexander Larsson 2005-09-02 13:34:43 UTC
commited that.
Comment 43 Victor Osadci (Vic) 2005-09-05 20:21:22 UTC
I can still reproduce this. The crash happens in every app, with or without HAL
running, when opening any directory, except for home (home==desktop). 

Interestingly, only selecting a directory and adding it to the bookmarks, then
opening it from there works OK.
Comment 44 Elijah Newren 2005-09-05 21:55:07 UTC
Victor: With what version of gtk+? (As far as I can tell from the ChangeLog,
Alex's patch was committed last Friday and isn't part of an official gtk+
release yet)
Comment 45 Elijah Newren 2005-09-05 22:04:15 UTC
(Bumping up priority/severity, because this seems to be the only issue left on
the showstoppers list--it might be fixed or worked around sufficiently from the
above patches, but I can't tell just from reading the bug.)
Comment 46 Federico Mena Quintero 2005-09-05 23:43:10 UTC
I don't have time to work on this; there's a deadline for Suse 10 at work and
it's keeping me busy.
Comment 47 Victor Osadci (Vic) 2005-09-06 09:27:32 UTC
Elijah: gtk+ from jhbuild, (-r gtk-2-8), it has the second part of Alex's patch,
and I've merged the first one too.

Still no luck.

PS: just to make sure, we are talking about the patch in comment #41, right?
Comment 48 Alexander Larsson 2005-09-06 09:38:44 UTC
victor: How does your ~/.gtk-bookmarks file look?
Comment 49 Alexander Larsson 2005-09-06 09:57:31 UTC
Also, do you get an identical backtrace to the one at the top of the bug?
Comment 50 Alexander Larsson 2005-09-06 10:14:23 UTC
If someone who can reproduce this could get a backtrace at the first warning
before the crash that would be interesting. Set a breakpoint in g_log, or run
with --g-fatal-warnings.
Comment 51 Victor Osadci (Vic) 2005-09-06 10:53:42 UTC
Alex: My '.gtk-bookmarks' is empty. Adding bookmarks or removing the file makes
no difference.

Starting program: /usr/local/opt/gnome2/bin/eog /opt/gnome2/bin/eog
--g-fatal-warnings

  • #0 strlen
    from /lib/tls/libc.so.6
  • #1 vfprintf
    from /lib/tls/libc.so.6
  • #2 vasprintf
    from /lib/tls/libc.so.6
  • #3 IA__g_vasprintf
    at gprintf.c line 313
  • #4 IA__g_strdup_vprintf
    at gstrfuncs.c line 188
  • #5 IA__g_strdup_printf
    at gstrfuncs.c line 201
  • #6 bookmarks_check_add_sensitivity
    at gtkfilechooserdefault.c line 2404
  • #7 gtk_file_chooser_default_update_current_folder
    at gtkfilechooserdefault.c line 5382
  • #8 change_folder_and_display_error
    at gtkfilechooserdefault.c line 1098
  • #9 list_row_activated
    at gtkfilechooserdefault.c line 6833
  • #10 _gtk_marshal_VOID__BOXED_OBJECT
  • #11 IA__g_closure_invoke
    at gclosure.c line 492
  • #12 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #13 IA__g_signal_emit_valist
    at gsignal.c line 2244
  • #14 IA__g_signal_emit
    at gsignal.c line 2288
  • #15 IA__gtk_tree_view_row_activated
    at gtktreeview.c line 10478
  • #16 gtk_tree_view_button_press
    at gtktreeview.c line 2469
  • #17 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #18 g_type_class_meta_marshal
    at gclosure.c line 569
  • #19 IA__g_closure_invoke
    at gclosure.c line 492
  • #20 signal_emit_unlocked_R
    at gsignal.c line 2523
  • #21 IA__g_signal_emit_valist
    at gsignal.c line 2254
  • #22 IA__g_signal_emit
    at gsignal.c line 2288
  • #23 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #24 IA__gtk_propagate_event
    at gtkmain.c line 2160
  • #25 IA__gtk_main_do_event
    at gtkmain.c line 1397
  • #26 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #27 IA__g_main_context_dispatch
    at gmain.c line 1934
  • #28 g_main_context_iterate
    at gmain.c line 2565
  • #29 IA__g_main_loop_run
    at gmain.c line 2769
  • #30 IA__gtk_dialog_run
    at gtkdialog.c line 1019
  • #31 verb_FileOpen_cb
    at eog-window.c line 445
  • #32 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #33 IA__g_closure_invoke
    at gclosure.c line 492
  • #34 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #35 IA__g_signal_emit_valist
    at gsignal.c line 2244
  • #36 IA__g_signal_emit
    at gsignal.c line 2288
  • #37 _gtk_action_emit_activate
    at gtkaction.c line 1038
  • #38 IA__gtk_action_activate
    at gtkaction.c line 1065
  • #39 IA__g_cclosure_marshal_VOID__VOID
  • #40 IA__g_closure_invoke
    at gclosure.c line 492
  • #41 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #42 IA__g_signal_emit_valist
    at gsignal.c line 2244
  • #43 IA__g_signal_emit
    at gsignal.c line 2288
  • #44 IA__gtk_widget_activate
    at gtkwidget.c line 3766
  • #45 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1057
  • #46 gtk_menu_shell_button_release
    at gtkmenushell.c line 663
  • #47 gtk_menu_button_release
    at gtkmenu.c line 2571
  • #48 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #49 g_type_class_meta_marshal
  • #50 IA__g_closure_invoke
    at gclosure.c line 492
  • #51 signal_emit_unlocked_R
    at gsignal.c line 2523
  • #52 IA__g_signal_emit_valist
    at gsignal.c line 2254
  • #53 IA__g_signal_emit
    at gsignal.c line 2288
  • #54 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #55 IA__gtk_propagate_event
    at gtkmain.c line 2160
  • #56 IA__gtk_main_do_event
    at gtkmain.c line 1397
  • #57 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #58 IA__g_main_context_dispatch
    at gmain.c line 1934
  • #59 g_main_context_iterate
  • #60 IA__g_main_loop_run
    at gmain.c line 2769
  • #61 IA__gtk_main
    at gtkmain.c line 976
  • #62 main
    at main.c line 716

Is this useful?
Comment 52 Victor Osadci (Vic) 2005-09-06 11:12:52 UTC
Interesting fact:
ro_RO.UTF-8 -> crash
LANG=C -> works ok
Comment 53 Alexander Larsson 2005-09-06 14:58:23 UTC
I think this is a translation bug.

#: gtk/gtkfilechooserdefault.c:2394
msgid "Add the current folder to the bookmarks"
msgstr "Adaug$-1 £ directorul òþ%sòý la favorite"

See how the translation has %s, but not the original string. This causes it to
read a random pointer as a string to print...
Comment 54 Victor Osadci (Vic) 2005-09-06 15:40:34 UTC
Yes, it is. Changing the string fixes it.
Thanks Alex!
Comment 55 Matthias Clasen 2005-09-06 17:29:14 UTC
Ah, msgfmt -c did not catch this because xgettext did not mark the string as
c-foramt. It will in the future.
Comment 56 Elijah Newren 2005-09-06 17:48:19 UTC
Matthias told me that "with [gtk+] 2.8.3 everybody should see warnings about
base_path being NULL, but the crash problem should be language-specific and only
affect ro."

So, dropping the priority/severity and removing from the showstopper list.  :-)
Comment 57 Federico Mena Quintero 2005-09-06 23:00:43 UTC
For reference: bug #308475 is the libgnomeui part, bug #312171 is the gnome-vfs
part.
Comment 58 Christian Kirbach 2005-12-18 22:15:12 UTC
I have not found the specific translation string containing "%s" nor any similar string. 
"directorul" only appears in ro.po - i have checked all "%s" in that file manually. 
Looks like the second patch has been applied, but the status is not set.
Setting to "committed"

Assuming this has been fixed, marking FIXED.