xine-ui crash when adding playlist elements

Sebastian Meier <[email protected]>
Newsgroups gmane.comp.video.xine.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I'm experiencing a problem with the xine-ui. Since I'm not able to access the bugtracker, I post my
problem here. I hope that's ok ;-)

System Setup:
- - Debian Lenny
- - xine-ui 0.99.5

Problem description:
When I perform the following steps in the given order, xine-ui crashes:

1) Open xine, play a movie (i.e. foo.avi)
2) Add a large bunch of movies (approx. > 20)via drag & drop to the playlist. In case it matters: I
drop the files on the video window
3) Click on the playlist icon in the xine-ui panel

These steps end up in a segfault.

In order to provide you with some additional information, I recompiled the xine-ui source with
- --debug-enable and inspected the problem with ddd.

The following function is executed when xine-ui segfaults
src/xitk/playlist.c:static void _playlist_create_playlists(void)

To be more precise: the segfault happens when the first instruction in the for loop is executed

    for(i = 0; i < gGui->playlist.num; i++) {
      playlist->playlist_mrls[i] = strdup(gGui->playlist.mmk[i]->mrl); /*<-segfaults here*/
      playlist->playlist_idents[i] = strdup(gGui->playlist.mmk[i]->ident);
    }


If you need more information, let me know!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknNIH0ACgkQSZDvjVkziQPU8QCfek3fjtIbIcqvfpzfj08Yz3xO
ehgAn30tR5oCIuOENWm5889l1RZmDwvO
=oCNB
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.