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 381162 - totem hangs when opening ogg file
totem hangs when opening ogg file
Status: RESOLVED DUPLICATE of bug 339366
Product: totem
Classification: Core
Component: GStreamer backend
1.4.x
Other All
: Normal critical
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
Depends on:
Blocks:
 
 
Reported: 2006-12-01 06:20 UTC by towsonu2003
Modified: 2006-12-11 10:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
strace of the hang (970.88 KB, text/plain)
2006-12-01 06:21 UTC, towsonu2003
Details
requested dbg.log.bz2 file (177.85 KB, application/x-bzip)
2006-12-11 10:15 UTC, towsonu2003
Details

Description towsonu2003 2006-12-01 06:20:22 UTC
Steps to reproduce:
1. double click on .ogg file
2. totem launches
3. totem hangs


Stack trace:
I'll attach the strace in a bit

Other information:
totem launches by itself no problem. opens other songs no problem. seems to start having problems with this file now, but I have no idea why. the file can be opened by other applications...
Comment 1 towsonu2003 2006-12-01 06:21:21 UTC
Created attachment 77467 [details]
strace of the hang
Comment 2 Bastien Nocera 2006-12-01 11:11:15 UTC
From the strace, it's GStreamer.
Comment 3 Tim-Philipp Müller 2006-12-11 09:31:16 UTC
1) Does this work:

   $ gst-launch-0.10 playbin uri=file:///path/to/foo.ogg

   ?

2) Could you provide a stack trace of the hang:

    ... wait for totem to hang, then in other terminal:
    $ gdb -p `pidof -s totem`
    (gdb) thread apply all bt
    ... paste text output here ...
    (gdb) kill
    (gdb) quit

3) Could you provide a full debug log:

    $ export GST_DEBUG_NO_COLOR=1
    $ GST_DEBUG=*:5 totem /path/to/foo.ogg 2>dbg.log
    ... control-C when it hangs
    $ bzip2 dbg.log

   and attach the dbg.log.bz2 file


(My first random guess would be that you have a foo.txt file in the same directory as your foo.ogg file, that might cause totem to hang with previous GStreamer versions).
Comment 4 towsonu2003 2006-12-11 10:14:09 UTC
(In reply to comment #3)
> 1) Does this work:
> 
>    $ gst-launch-0.10 playbin uri=file:///path/to/foo.ogg
> 
>    ?
> 

Yes

> 2) Could you provide a stack trace of the hang:
> 
>     ... wait for totem to hang, then in other terminal:
>     $ gdb -p `pidof -s totem`
>     (gdb) thread apply all bt
>     ... paste text output here ...

  • #0 __kernel_vsyscall
  • #1 poll
    from /lib/tls/i686/cmov/libc.so.6
  • #2 snd_pcm_direct_check_interleave
    from /usr/lib/libasound.so.2
  • #3 snd_pcm_direct_server_create
    from /usr/lib/libasound.so.2
  • #4 snd_pcm_dmix_open
    from /usr/lib/libasound.so.2
  • #5 _snd_pcm_dmix_open
    from /usr/lib/libasound.so.2
  • #6 snd_pcm_free
    from /usr/lib/libasound.so.2
  • #7 snd_pcm_free
    from /usr/lib/libasound.so.2
  • #8 snd_pcm_open_slave
    from /usr/lib/libasound.so.2
  • #9 _snd_pcm_plug_open
    from /usr/lib/libasound.so.2
  • #10 snd_pcm_free
    from /usr/lib/libasound.so.2
  • #11 snd_pcm_open_slave
    from /usr/lib/libasound.so.2
  • #12 _snd_pcm_asym_open
    from /usr/lib/libasound.so.2
  • #13 snd_pcm_free
    from /usr/lib/libasound.so.2
  • #14 snd_pcm_free
    from /usr/lib/libasound.so.2
  • #15 ??
    from /usr/lib/gstreamer-0.10/libgstalsa.so
  • #16 ??
  • #0 __kernel_vsyscall



>     (gdb) kill
>     (gdb) quit
> 
> 3) Could you provide a full debug log:
> 
>     $ export GST_DEBUG_NO_COLOR=1
>     $ GST_DEBUG=*:5 totem /path/to/foo.ogg 2>dbg.log
>     ... control-C when it hangs
>     $ bzip2 dbg.log
> 
>    and attach the dbg.log.bz2 file
> 

will attach next

> 
> (My first random guess would be that you have a foo.txt file in the same
> directory as your foo.ogg file, that might cause totem to hang with previous
> GStreamer versions).
> 

that's correct, I have a txt file with the same name as the ogg file in there. 

thanks a lot for the great instructions! :)
Comment 5 towsonu2003 2006-12-11 10:15:56 UTC
Created attachment 78120 [details]
requested dbg.log.bz2 file
Comment 6 Tim-Philipp Müller 2006-12-11 10:51:31 UTC
> That's correct, I have a txt file with the same name as the ogg
> file in there. 

Thanks for the log file. Looks like you're running into bug #339366, which should be fixed in the recently released gst-plugins-base 0.10.11.

(Note that depending on the content of the .txt files you might also run into bug #380342 with other .txt files).


*** This bug has been marked as a duplicate of 339366 ***