Re: Crashes with the new dvd/iso handling



On So, 2016-01-31 at 14:27 +0100, John Obaterspok wrote:
Hi,

Below is crash from lastest git when I start rygel

Program received signal SIGSEGV, Segmentation fault.
rygel_media_export_dvd_container_real_constructed
(base=0x555556ff6350) at rygel-media-export-dvd-container.c:345
345    _tmp8_ = _tmp7_->children;
(gdb) list
340    _tmp5_ = gupnp_xml_doc_new (_tmp4_);
341    _g_object_unref0 (self->priv->doc);
342    self->priv->doc = _tmp5_;
343    _tmp6_ = doc;
344    _tmp7_ = xmlDocGetRootElement (_tmp6_);
345    _tmp8_ = _tmp7_->children;
346    it = _tmp8_;
347    child_count = 0;
348    while (TRUE) {
349    xmlNode* _tmp9_ = NULL;

The below change *avoided* the crash:


[patch]

This shouldn't happen anymore after
commit d42e8f558ef0b6efa36db8bebf1ee6237da2b024 and after wiping
~/.cache/rygel/dvd-content


This got me further but once I access a chapter in a DVD I got the
below crash where src was null

[patch]

Any ideas on how to get the dvd iso's to actually work?

You should have the dvdreadsrc element form gst-plugins-ugly installed.
Then it _might_ work, but many clients seem to have an issue with not
being able to do random access on the URI.

Good hint though, I should possibly check for dvdreadsrc's
availability.

Btw, it's not chapters, it's individual titles that you access.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]