Menu

#107 crash 0.12.1-2.5 debian-multimedia

0.12.0
open
Jin
5
2014-08-18
2012-02-29
No

SIGSEGV in libmozjs10d while adding folder.

http://www.debian-multimedia.org/dists/unstable/main/binary-amd64/package/mediatomb.php

The version from debian testing is working though (0.12.0~svn2018-6.1) using libmozjs2d (1.9.1.16-12).

Can attach a core file if needed.

===================== Details: ===============================================

mediatomb[21153] general protection ip:7f31e75141c9 sp:7f31e25983f0 error:0 in libmozjs.so.10d[7f31e7505000+312000]

ig@pcig:~$ gdb mediatomb
GNU gdb (GDB) 7.3-debian
.......
Reading symbols from /usr/bin/mediatomb...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/mediatomb
[Thread debugging using libthread_db enabled]

MediaTomb UPnP Server version 0.12.1 - http://mediatomb.cc/

===============================================================================
Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 2

2012-02-29 12:22:37 INFO: Loading configuration from: /home/ig/.mediatomb/config.xml
2012-02-29 12:22:37 INFO: Checking configuration...
2012-02-29 12:22:37 INFO: Setting filesystem import charset to UTF-8
2012-02-29 12:22:37 INFO: Setting metadata import charset to UTF-8
2012-02-29 12:22:37 INFO: Setting playlist charset to UTF-8
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-FkbjBt/pkcs11: Нет такого файла или каталога
2012-02-29 12:22:37 WARNING: You enabled the YouTube feature, which allows you
to watch YouTube videos on your UPnP device!
Please check http://www.youtube.com/t/terms
By using this feature you may be violating YouTube
service terms and conditions!

2012-02-29 12:22:37 INFO: Configuration check succeeded.
[New Thread 0x7ffff6d5b700 (LWP 26196)]
[New Thread 0x7ffff655a700 (LWP 26197)]
[New Thread 0x7ffff5d59700 (LWP 26198)]
[New Thread 0x7ffff5558700 (LWP 26199)]
[New Thread 0x7ffff4d57700 (LWP 26200)]
[New Thread 0x7ffff4556700 (LWP 26201)]
[New Thread 0x7ffff3d55700 (LWP 26202)]
2012-02-29 12:22:37 INFO: Initialized port: 49152
2012-02-29 12:22:37 INFO: Server bound to: 192.168.1.2
[New Thread 0x7ffff3554700 (LWP 26217)]
[New Thread 0x7ffff2b29700 (LWP 26218)]
2012-02-29 12:22:38 INFO: MediaTomb Web UI can be reached by following this link:
2012-02-29 12:22:38 INFO: http://192.168.1.2:49152/
[New Thread 0x7fffefb26700 (LWP 26243)]
[New Thread 0x7fffef325700 (LWP 26259)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2b29700 (LWP 26218)]
getNewType (markUnknown=true, cx=0x89cd20, this=0x7fffee506580, fun=<optimized out>)
at ../../../js/src/jsobjinlines.h:886
886 if (!empty)
(gdb) bt
#0 getNewType (markUnknown=true, cx=0x89cd20, this=0x7fffee506580, fun=<optimized out>)
at ../../../js/src/jsobjinlines.h:886
#1 JS_NewObject (cx=0x89cd20, jsclasp=<optimized out>, proto=0x7fffee506580, parent=0x0)
at /tmp/buildd/iceweasel-10.0.2/js/src/jsapi.cpp:3214
#2 0x00000000004a5b64 in Script::Script(zmm::Ref<Runtime>) ()
#3 0x00000000004a24cd in PlaylistParserScript::PlaylistParserScript(zmm::Ref<Runtime>) ()
#4 0x000000000047fde0 in ContentManager::initJS() ()
#5 0x000000000047ff8e in ContentManager::_addFile(zmm::String, zmm::String, bool, bool, zmm::Ref<GenericTask>)
()
#6 0x000000000048082b in CMAddFileTask::run() ()
#7 0x0000000000477fa6 in ContentManager::threadProc() ()
#8 0x0000000000478299 in ContentManager::staticThreadProc(void*) ()
#9 0x0000003001006b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00000030004d890d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Discussion

  • oblus

    oblus - 2012-03-08

    Mar 8 14:30:34 localhost kernel: mediatomb[17267]: segfault at ffffff10 ip b6f73a28 sp b0fd3ea0 error 4 in libmozjs.so.10d[b6f64000+32f000]

    in debian sid

     
  • Yami no Ryuu

    Yami no Ryuu - 2012-03-13

    Looks fixed in Debian's 0.12.1-3

    Was it packaging bug? Sure looks so, there is
    - Build depend on libmozjs185-dev instead of libmozjs-dev.
    in changelog.

    Is libmozjs.so.10d unsupoorted?

     

Log in to post a comment.