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 110738 - crashes on file invocation
crashes on file invocation
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: Gnome-Sound-Recorder
2.2.x
Other Linux
: High critical
: ---
Assigned To: Ronald Bultje
gnome media maintainers
: 103279 111453 114541 114580 114611 115713 122916 137300 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-04-14 08:06 UTC by liwhitehat
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bla bla bla (562 bytes, patch)
2003-07-04 18:38 UTC, Ronald Bultje
none Details | Review
PATCH: Removes the -p from the gnome-mime-data/gnome-vfs.applications (789 bytes, patch)
2003-11-10 04:10 UTC, Srinivasa Ragavan
none Details | Review

Description liwhitehat 2003-04-14 08:06:32 UTC
Application "gnome-sound-recorder" (process 2972) has crashed
due to a fatal error.
(Aborted)

The preceeding is the error message generated when attempting to execute a
wav file through Nautilus. The error is consistent; the only variation is
the process number. The app opens without any problems from a console and
menu shortcut.

The OS is a fresh "everything" install of Redhat 9. Athlon 2000XP, 512MB
ram, living on an Asus a7a, soundblaster live platinum.
Comment 1 bjornvs 2003-04-17 17:22:19 UTC
same problem here with system:
Athlon 1800XP, 512Mb RAM on Asus A7V (sound onboard)
Comment 2 Mika Laari 2003-04-18 09:08:59 UTC
I get the same error, also when I close the application. I can just
open or record one file and listen it. After that the program crashes
if I try to close it or handle files.

My setup is:
- IBM ThinkPad 570, Intel 366MHz
- Fresh installation of Red Hat 9 with all updates except the kernel
updates
Comment 3 jordan 2003-05-18 01:52:09 UTC
same error
-as above, launch ogg file via right click
Comment 4 Frank Kauff 2003-05-22 13:56:46 UTC
Same on freshly installed RedHat9 Dell Latitude C640, P4-2.4GHz, 1Gig
Comment 5 Jos Mares 2003-05-25 15:26:04 UTC
same here 
The OS is a fresh "everything" install of Redhat 9. Athlon 2200XP,
512MB Ram, KT3V motherboard with sound on board
Comment 6 felipe_c 2003-05-26 17:10:20 UTC
same problem

La aplicación <<gnome-sound-recorder>> proceso(3147) ha fallado debido
a un error fatal (violación de segmento)

amd duron 1.1mhz
256 ram on Soyo k7vta-pro
Comment 7 Kjartan Maraas 2003-06-09 15:41:32 UTC
I bet this works if you run it with --gst-scheduler=basicomega
Comment 8 Kjartan Maraas 2003-06-09 15:44:59 UTC
*** Bug 114580 has been marked as a duplicate of this bug. ***
Comment 9 Kjartan Maraas 2003-06-09 15:45:43 UTC
There's a nice backtrace in the bug marked as duplicate.
Comment 10 Kjartan Maraas 2003-06-09 16:05:06 UTC
*** Bug 114541 has been marked as a duplicate of this bug. ***
Comment 11 Kjartan Maraas 2003-06-09 16:05:58 UTC
*** Bug 114611 has been marked as a duplicate of this bug. ***
Comment 12 Kjartan Maraas 2003-06-09 16:20:13 UTC
Adding Ronald on Cc:

The problem here seems to be the pipeline that is used by
gnome-sound-recorder. It works with basicomega scheduler but not with
the opt scheduler.
Comment 13 Ronald Bultje 2003-06-20 12:51:46 UTC
I think I promised Kjartan a quickfix for this after gu4dec, so here goes:

gst_scheduler_factory_set_default_name ("basicwingo");

Put that somewhere before gst_init() or gst_init_with_popt_tables()
and it'll use that scheduler instead.

Over the course of the next few weeks, I'll try to figure out a real
fix, but this should be good enough for Gnome-2.2.2.
Comment 14 Scott Wolf 2003-06-23 02:24:39 UTC
I also have this problem on a fresh install of RH9.

System Info:

P3 800 
256 megs ram
Comment 15 W M Perry 2003-06-29 05:56:02 UTC
same error
Comment 16 Ronald Bultje 2003-06-29 09:32:03 UTC
Instead of everyone telling me that he has the same error, could
someone please test the above patch and tell me if it fixes it?

Thanks.
Comment 17 Iain 2003-06-29 12:43:07 UTC
The problem is:
Nautilus passes -p <filename> to the sound recorder for the file to be
played. -p is no longer an option, and GStreamer dies when it finds
unknown options. The fix is either: fix gnome-mime-info to not pass -p
or fix GStreamer to not die when it finds an unknown option. 

Or, ideally both.
Comment 18 Ronald Bultje 2003-06-29 12:47:20 UTC
Well, it doesn't g_error() anymore. Fix nautilus/gnome-mime-info. ;).
To prevent g-s-r from dying, use gst_init_check() instead of
gst_init() and ignore the return value.
Comment 19 Kjartan Maraas 2003-06-29 21:29:57 UTC
So what's the best way to get a working g-s-r for 2.2.2? This is the
only thing blocking the release.
Comment 20 Kjartan Maraas 2003-06-29 21:40:50 UTC
and playback isn't the only thing that's broken here. Saving 0 byte
files shouldn't have anything to do with mime handling and nautilus,
right?
Comment 21 Ronald Bultje 2003-06-29 21:44:38 UTC
* change default scheduler
* s/gst_init/gst_init_check/

That's all. Apply these two one-liners and have fun testing. ;).
Comment 22 Kjartan Maraas 2003-07-01 08:25:17 UTC
That "fix" only makes it hang during the save. I tried both basicwingo
and basicomega. The strange thing is that --gst-scheduler=basicomega
makes it work.
Comment 23 Ronald Bultje 2003-07-04 18:38:09 UTC
OK, I finally gave up and decided to actually try and test it myself.
Yeah, I'm lazy, I know. We all are. ;). Fix is attached. Tested & working.
Comment 24 Ronald Bultje 2003-07-04 18:38:43 UTC
Created attachment 18044 [details] [review]
bla bla bla
Comment 25 Kjartan Maraas 2003-07-08 23:08:36 UTC
I commited this on stable. I guess it should go in on HEAD too.
Comment 26 Kjartan Maraas 2003-07-09 08:58:17 UTC
*** Bug 103279 has been marked as a duplicate of this bug. ***
Comment 27 Luis Villa 2003-07-11 02:32:28 UTC
Adding the PATCH keyword; it definitely ought to go in HEAD :) 

[Also pasting in the stack trace to make this easier to search on.]
  • #5 <signal handler called>
  • #6 flxdec_type_find
    at gstflxdec.c line 118
  • #7 gst_spider_identity_sink_loop_type_finding
    at gstspideridentity.c line 488
  • #8 loop_group_schedule_function
    at gstoptimalscheduler.c line 922
  • #9 schedule_group
    at gstoptimalscheduler.c line 779
  • #10 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 810

Comment 28 Luis Villa 2003-07-11 02:37:21 UTC
*** Bug 115713 has been marked as a duplicate of this bug. ***
Comment 29 Kjartan Maraas 2003-07-11 10:21:36 UTC
I commited it on head too now. But we need to make sure this is fixed
properly for 2.6 since the fix here is a total hack. Maybe we should
file a new tracker bug for that and get input from the gstreamer
people to hear what the proper long term fix is. Can someone confirm
that HEAD works as it's supposed to now?
Comment 30 Ted Gould 2003-07-15 07:33:54 UTC
I asked the Gstreamer-devel list.

http://sourceforge.net/mailarchive/forum.php?thread_id=2768621&forum_id=5947
Comment 31 Calvin S 2003-10-04 03:18:40 UTC
To open .wav and .mp3 files through Nautilus 

-went into "File Types and Programs" and changed typical audio file
extensions(.mp3;.wav;.m3u) Default Action to "X Multimedia System" and
changed the Viewer Component to "None". 

-This seemed to resolve all of my media error problems including the
sound recorder and volume control issues.
Comment 32 Ted Gould 2003-10-08 08:18:58 UTC
I'm removing the PATCH keyword, because the patch in this bug has been
applied (even though it's not entirely solved).
Comment 33 Srinivasa Ragavan 2003-11-10 04:09:14 UTC
I have fixed the bug. I am attaching a patch too.
The issue was, the nautilus invokes gnome-sound-recorder with a
command line option '-p' which makes all the issues. Changed the
command for gnome-sound-recorder as "gnome-sound-recorder" instead of
"gnome-sound-recorder -p" in gnome-vfs.applications file. It works
perfectly. 
Comment 34 Srinivasa Ragavan 2003-11-10 04:10:50 UTC
Created attachment 21322 [details] [review]
PATCH: Removes the -p from the gnome-mime-data/gnome-vfs.applications
Comment 35 Ronald Bultje 2003-12-21 23:12:27 UTC
Is this applied everywhere? Can I close this?
Comment 36 Ronald Bultje 2003-12-21 23:14:50 UTC
*** Bug 111453 has been marked as a duplicate of this bug. ***
Comment 37 Ronald Bultje 2003-12-21 23:15:13 UTC
*** Bug 122916 has been marked as a duplicate of this bug. ***
Comment 38 Ronald Bultje 2003-12-21 23:42:40 UTC
As proposed by Bastien, I added a dummy -p option to GSR. This should
fix all this. It's committed in HEAD/CVS.
Comment 39 Ronald Bultje 2004-06-16 01:53:59 UTC
*** Bug 137300 has been marked as a duplicate of this bug. ***