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 455923 - Crash when opening a video after an unsuccessful file open
Crash when opening a video after an unsuccessful file open
Status: RESOLVED FIXED
Product: gnome-subtitles
Classification: Other
Component: general
0.6
Other All
: High critical
: ---
Assigned To: Maintainers of GNOME subtitles
Maintainers of GNOME subtitles
: 455357 456618 457197 458405 461590 462892 463170 465649 468231 474850 492011 492792 493138 496038 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-07-11 14:29 UTC by Lord_neo
Modified: 2007-11-13 00:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Lord_neo 2007-07-11 14:29:03 UTC
What were you doing when the application crashed?
After trying to open a *.sub file of a couple idx/sub (that wasn't read because not compatible, but I didn't know before), I have simply clicked on the command "open video".


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 Thu Jun 7 20:19:32 UTC 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70200000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

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 ---------------------
  at SubLib.SubtitleInput.TestCodePage (System.IO.FileStream fileStream, Int32 codePage, System.Text.Encoding& encoding, SubLib.SubtitleFormat& format) [0x00000] 
  at SubLib.SubtitleInput.ReadSubtitleText (System.IO.FileStream fileStream, System.Text.Encoding& usedEncoding, SubLib.SubtitleFormat& usedFormat) [0x00000] 
System.NullReferenceException: Object reference not set to an instance of an object
  at GnomeSubtitles.VideoOpenDialog..ctor () [0x00000] 
  at GnomeSubtitles.GUI.OpenVideo () [0x00000] 
  at GnomeSubtitles.EventHandlers.OnVideoOpen (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] 
--------------------------------------------------
Gnome Subtitles version: 0.6
SubLib version: 0.7
GtkSharp version: 2.10
GnomeSharp version: 2.16
GladeSharp version: 2.10
GConfSharp version: 2.16

Stack trace:
System.NullReferenceException: Object reference not set to an instance of an object
  at GnomeSubtitles.VideoOpenDialog..ctor () [0x00000] 
  at GnomeSubtitles.GUI.OpenVideo () [0x00000] 
  at GnomeSubtitles.EventHandlers.OnVideoOpen (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-07-11 22:57:31 UTC
You've spotted a pretty interesting bug (in terms of development). This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 2 Lord_neo 2007-07-12 19:49:45 UTC
(In reply to comment #1)
> You've spotted a pretty interesting bug (in terms of development). This problem
> has been fixed in the development version. The fix will be available in the
> next major software release. Thank you for your bug report.
> 

thanks to you to develop a subtitle program.. but i have a question... Is it planned a support for idx/sub files? and an ocr converter idx-->srt??

thanks a lot another time.
Comment 3 Pedro Castro 2007-07-12 20:51:45 UTC
Well, support for idx/sub isn't really planned for now. Gnome Subtitles supports text-based files, and those are binary image files. (Actually, Gnome Subtitles uses the SubLib library - http://sublib.sf.net - to handle the subtitle files.)

So even though it would have its interest, that feature is way out of the current priorities. Still, what kind of applications are there to handle those kinds of files?
Comment 4 Lord_neo 2007-07-12 22:28:40 UTC
the only linux program I know that can process an OCR conversion is Avidemux http://www.avidemux.org, nevertheless it's a minor finor feature for this program, and it makes lots of error during the process.. so it's not powerful...

A win alternative is SubRip, that is also open-source, http://zuggy.wz.cz/. It is very powerful, but not excecutable with wine, so not usable under linux.
Comment 5 Pedro Castro 2007-07-13 15:49:08 UTC
*** Bug 456618 has been marked as a duplicate of this bug. ***
Comment 6 Pedro Castro 2007-07-13 16:33:50 UTC
I remember using SubRip before. IMHO, this kind of feature is better off in its own application, like SubRip. If SubRip's code is open, an idea would be for someone to port it. I also found the SubtitleRipper utility (http://subtitleripper.sourceforge.net/), though it doesn't seem to have a GNOME user interface.
Comment 7 Pedro Castro 2007-07-16 09:14:48 UTC
*** Bug 457197 has been marked as a duplicate of this bug. ***
Comment 8 Pedro Castro 2007-07-24 17:58:53 UTC
*** Bug 458405 has been marked as a duplicate of this bug. ***
Comment 9 Pedro Castro 2007-07-30 21:25:30 UTC
*** Bug 461590 has been marked as a duplicate of this bug. ***
Comment 10 Pedro Castro 2007-08-02 20:10:52 UTC
*** Bug 462892 has been marked as a duplicate of this bug. ***
Comment 11 Pedro Castro 2007-08-03 16:59:47 UTC
*** Bug 463170 has been marked as a duplicate of this bug. ***
Comment 12 Pedro Castro 2007-08-11 10:55:24 UTC
*** Bug 465649 has been marked as a duplicate of this bug. ***
Comment 13 Pedro Castro 2007-08-13 14:55:07 UTC
*** Bug 455357 has been marked as a duplicate of this bug. ***
Comment 14 Pedro Castro 2007-08-19 16:30:18 UTC
*** Bug 468231 has been marked as a duplicate of this bug. ***
Comment 15 Pedro Castro 2007-09-09 01:01:51 UTC
*** Bug 474850 has been marked as a duplicate of this bug. ***
Comment 16 Pedro Castro 2007-10-31 22:17:13 UTC
*** Bug 492011 has been marked as a duplicate of this bug. ***
Comment 17 Pedro Castro 2007-11-02 19:46:47 UTC
*** Bug 492792 has been marked as a duplicate of this bug. ***
Comment 18 Pedro Castro 2007-11-04 02:02:19 UTC
*** Bug 493138 has been marked as a duplicate of this bug. ***
Comment 19 Pedro Castro 2007-11-13 00:15:31 UTC
*** Bug 496038 has been marked as a duplicate of this bug. ***