[Gstreamer-bugs] [Bug 101678] Changed - "gnome-sound-recorder -r" segfaults without a filename.

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Sat Apr 5 00:11:50 PST 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=101678

Changed by rbultje at ronald.bitfreak.net.

--- shadow/101678	Fri Apr  4 16:33:02 2003
+++ shadow/101678.tmp.14325	Sat Apr  5 03:11:50 2003
@@ -171,6 +171,13 @@
 Error messages are always fatal, resulting in a call to abort() to
 terminate the application. This function will result in a core dump;
 don't use it for errors you expect. Using this function indicates a
 bug in your program, i.e. an assertion failure."
 And no, I don't want a SIGSEGV when somebody passed a wrong argument
 to a gst program.
+
+------- Additional Comments From rbultje at ronald.bitfreak.net  2003-04-05 03:11 -------
+But then you're saying that we should use g_error() (it is exactly
+what we want here if something goes fatally wrong in gst_init() when
+it shouldn't return) but that gst_init() shouldn't use g_error() on a
+bad commandline parameter, and that's not something inside gst_init(),
+but in the popt callbacks, right?





More information about the Gstreamer-bugs mailing list