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 483748 - [mythtvsrc] crash with no port defined
[mythtvsrc] crash with no port defined
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-05 14:08 UTC by Bastien Nocera
Modified: 2007-10-08 18:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for gmyth (460 bytes, patch)
2007-10-08 15:39 UTC, Tim-Philipp Müller
none Details | Review

Description Bastien Nocera 2007-10-05 14:08:07 UTC
Using gmyth 0.4, and the mythtvsrc from the current CVS (ie. the rewritten one).

$ gst-launch playbin uri=myth://192.168.1.5/1006_20070920210000.mpg
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /playbin0/source: Could not initialise supporting library.
Additional debug info:
gstmythtvsrc.c(677): gst_mythtv_src_start (): /playbin0/source:
Could not begin request sent to MythTV server (0, myth://192.168.1.5/1006_20070920210000.mpg)
Setting pipeline to NULL ...

GThread-ERROR **: file gthread-posix.c: line 171 (): error 'Device or resource busy' during 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)'
aborting...
Aborted

Passing the port (6543 should be the default when not mentioned, as it's the default for mythtv installs), fixes the problem. Ie:
$ gst-launch playbin uri=myth://192.168.1.5:6543/1006_20070920210000.mpg

Let me know if you can't reproduce and need a backtrace.
Comment 1 Tim-Philipp Müller 2007-10-08 15:39:16 UTC
Created attachment 96878 [details] [review]
Fix for gmyth
Comment 2 Tim-Philipp Müller 2007-10-08 15:40:39 UTC
This is a bug in the gmyth library, fix attached above.

Defaulting to the default port if no port is specified should also be handled by the library.

Comment 3 Renato Araujo Oliveira Filho 2007-10-08 18:24:28 UTC
fixed on gmyth revision 865 release 0.4.1 (2007-10-08)