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 443061 - Exception when getting the Filename in the File Open dialog
Exception when getting the Filename in the File Open dialog
Status: RESOLVED FIXED
Product: gnome-subtitles
Classification: Other
Component: general
0.5.1
Other All
: High critical
: ---
Assigned To: Maintainers of GNOME subtitles
Maintainers of GNOME subtitles
Depends on:
Blocks:
 
 
Reported: 2007-06-01 22:55 UTC by palmirion
Modified: 2007-07-05 00:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description palmirion 2007-06-01 22:55:26 UTC
What were you doing when the application crashed?
searching fo a file to open


Distribution: Ubuntu 7.04 (feisty)
Gnome Release: 2.18.1 2007-04-10 (Ubuntu)
BugBuddy Version: 2.18.1

System: Linux 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70200000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Human
Icon Theme: Human

Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0
CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0



----------- .xsession-errors (28278 sec old) ---------------------
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
Created async DNS checker for sowatabbau.mine.nu (type 0)
Created async DNS checker for sowatabbau.mine.nu (type 0)
Created async DNS checker for sowatabbau.mine.nu (type 0)
Created async DNS checker for sowatabbau.mine.nu (type 0)
Created async DNS checker for sowatabbau.mine.nu (type 0)
Created async DNS checker for sowatabbau.mine.nu (type 0)
Created async DNS checker for sowatabbau.mine.nu (type 0)
Created async DNS checker for sowatabbau.mine.nu (type 0)
Invalid Kad tag; type=0x28 name=0x00
Error on C
...Too much output, ignoring rest...
--------------------------------------------------
Gnome Subtitles version: 0.5.1
SubLib version: 0.6.1
GtkSharp version: 2.10
GnomeSharp version: 2.16
GladeSharp version: 2.10
GConfSharp version: 2.16

Stack trace:
GLib.GException: Hay una secuencia de bytes no válida en la entrada de conversión
  at GLib.Marshaller.FilenamePtrToString (IntPtr ptr) [0x00000] 
  at GLib.Marshaller.FilenamePtrToStringGFree (IntPtr ptr) [0x00000] 
  at Gtk.FileChooserDialog.get_Filename () [0x00000] 
  at GnomeSubtitles.FileOpenDialog.SetActiveVideoFile () [0x00000] 
  at GnomeSubtitles.FileOpenDialog.OnSelectionChanged (System.Object o, System.EventArgs args) [0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] 
  at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) Gtk.Dialog:gtk_dialog_run (intptr)
  at Gtk.Dialog.Run () [0x00000] 
  at GnomeSubtitles.GladeDialog.WaitForResponse () [0x00000] 
  at GnomeSubtitles.GUI.Open () [0x00000] 
  at GnomeSubtitles.EventHandlers.OnFileOpen (System.Object o, System.EventArgs args) [0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] 
  at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
  at Gtk.Application.Run () [0x00000] 
  at Gnome.Program.Run () [0x00000] 
  at GnomeSubtitles.Execution.RunProgram () [0x00000] 
  at GnomeSubtitles.Global.Run (GnomeSubtitles.Execution execution) [0x00000]
Comment 1 Pedro Castro 2007-06-02 01:10:31 UTC
There seems to be a problem with the way your locale is being handled by the GNOME libs. The conversion of the filename to a string fails. Please provide me feedback on the following:
1) Is the folder you're trying to access in a Linux partition?
2) Are you able/know how to compile a test case (supplied by me), in C#?
Comment 2 Pedro Castro 2007-06-08 12:54:45 UTC
Fixed in trunk. Errors of this kind should not crash the program anymore, even
though this exception might be caused by a bug in the platform. Due to lack of
feedback from the reporter, a test case could not be demonstrated, so this bug
might not have been totally fixed.