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 158681 - Cannot find registry.xml.tmp
Cannot find registry.xml.tmp
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.6
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-19 07:17 UTC by blake brogdon
Modified: 2005-10-03 11:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Backtrace of gst-launch-0.8 run in gdb (1.24 KB, text/plain)
2004-11-22 03:30 UTC, blake brogdon
Details
Strace gst-launch-0.8 (16.98 KB, text/plain)
2004-11-22 03:31 UTC, blake brogdon
Details
Backtrace of gst-launch-0.8 run in gdb (654 bytes, text/plain)
2004-11-22 03:45 UTC, blake brogdon
Details

Description blake brogdon 2004-11-19 07:17:29 UTC
While trying to compile the helloworld example I got a segfault.  I ran strace
and found this error: 'access("/home/blake/.gstreamer-0.8/registry.xml.tmp",
F_OK) = -1 ENOENT (No such file or directory)'.  I tried copying registry.xml to
registry.xml.tmp but still got a segfault
(access("/home/blake/.gstreamer-0.8/registry.xml.tmp", F_OK) = 0
rename("/home/blake/.gstreamer-0.8/registry.xml.tmp",
"/home/blake/.gstreamer-0.8/registry.xml") = 0
gettimeofday({1100848354, 959346}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++)
After running the program, registry.xml.tmp is deleted.  Also, running in gdb,
it segfaulted and gdb pointed me to popt.c line 943: 
'Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1078571680 (LWP 14602)]
0x40498157 in poptStrippedArgv (con=0x804a0d0, argc=2, argv=0xbffff7f4)
    at popt.c:943
943     popt.c: No such file or directory.
        in popt.c'
I know that the error is caused by gst_init, and passing NULL pointers to
gst_init makes an assertion fail (GStreamer-ERROR **: No default scheduler name
- do you have a registry ?).
Thanks!
Blake
blakebrogdon@gmail.com
Comment 1 blake brogdon 2004-11-20 19:07:36 UTC
Ok, I ran gst-register per the instructions at
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-troubleshooting.html
but I still get a segfault.  Heres the new error msg: 
access("/usr/local/var/cache/gstreamer-0.8/registry.xml.tmp", F_OK) = -1 ENOENT
(No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Blake
blakebrogdon@gmail.com
Comment 2 blake brogdon 2004-11-22 03:30:56 UTC
Created attachment 34012 [details]
Backtrace of gst-launch-0.8 run in gdb

I can't even run gst-launch-0.8 w/o a segfault.
Comment 3 blake brogdon 2004-11-22 03:31:47 UTC
Created attachment 34013 [details]
Strace gst-launch-0.8

strace gst-launch-0.8 fakesrc ! fakesink
Comment 4 blake brogdon 2004-11-22 03:36:06 UTC
I just noticed this:
I have had two versions of gst installed.  One I made myself and one that is an
archlinux package.  The homemade one installs to /usr/local and the arch one
installs to /opt, so do not worry that the directories are different.
thanks.
Comment 5 blake brogdon 2004-11-22 03:45:59 UTC
Created attachment 34015 [details]
Backtrace of gst-launch-0.8 run in gdb
Comment 6 Stephane Loeuillet 2004-12-19 00:35:24 UTC
installing the same major version of a package (even in 2 different prefixes) is
looking for trouble

why doing that in the first place ?

disclamer : i don't know how archlinux manage its packages at all (only src
based distro i used where LFS then gentoo)

in a standard install, it should look for registry files there :
/var/lib/cache/gstreamer-0.8/registry.xml
~/.gstreamer-0.8/registry.xml

if you ran gst-register both as root and as user
Comment 7 blake brogdon 2004-12-19 01:27:31 UTC
They were never installed at the same time.
Comment 8 Thomas Vander Stichele 2004-12-21 11:05:37 UTC
could you please
a) clean up ALL gstreamer from your system.  You are running into weird bugs
that do not make sense and we need to start from a common ground.  This includes
source installs, packages, .gstreamer directories, cache files, anything, for
all users.

b) install 1 and only 1 version of GStreamer, preferably one from a package from
your distro

c) if your distro does not do this by itself (which it should) when installing
the package, run "gst-register" as root

d) run "gst-launch -v fakesrc ! fakesink" and tell us if that works.
Comment 9 Luca Ognibene 2005-10-02 14:55:42 UTC
No reply, closing. Please reopen the bug if you can still replicate it! thanks