Bug#664967: Segfaulting is caused by copyObject in version 0.12.1-3

2012-03-25 Thread Miguel Colon
Hello:

I managed to reproduce the segfaults and I believe I just fixed this
in the version available in the git repository. If you want, you can
try to compile it and report if it fixed your issue.

The following or something similar should work for building the packages:

sudo apt-get install git
git clone git://anonscm.debian.org/pkg-multimedia/mediatomb.git
sudo apt-get build-dep mediatomb
cd mediatomb
sed -i s/(0.12.1-4)/(0.12.1-4~local1)/g debian/changelog
dpkg-buildpackage -b
cd ..
sudo dpkg -i mediatomb_*_all.deb  mediatomb-common_*.deb
mediatomb-daemon_*_all.deb

Hope this helps,
Miguel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664967: Segfaulting is caused by copyObject in version 0.12.1-3

2012-03-25 Thread Patrick Häcker
 I managed to reproduce the segfaults and I believe I just fixed this
 in the version available in the git repository.

It's always a pleasure if the open source community shines like this:

I can confirm, that the bug is fixed in the git repository. Thanks for 
solving the problem so quickly and for the detailed instruction how to apply 
the fix.

Please close this bug report as appropriate.



signature.asc
Description: This is a digitally signed message part.


Bug#664967: Segfaulting is caused by copyObject in version 0.12.1-3

2012-03-24 Thread Patrick Häcker
I could narrow the reason of the segfault down.

The segfault occurs only if virtual-layout is set to js in 
/etc/mediatomb/config.xml. It does not occur if it is set to disabled or 
builtin.

If virtual-layout is set to js the segfault in my setup occurs if and only 
if the copyObject function is used as described at 
http://mediatomb.cc/pages/scripting#id2809739.

As most of mediatomb's users can probably work around using copyObject, I 
downgraded this bug's severity to normal. Nevertheless, a segfault without a 
proper error message should be fixed and with the given information and the 
additional information, that the bug occurred with version 0.12.1-3 and 
probably not with version 0.12.1-2, it should be easily fixable.


signature.asc
Description: This is a digitally signed message part.