Bug#575310: hydrogen: segfaults right after start-up

Nico Golde nion at debian.org
Wed Mar 24 20:26:09 UTC 2010


Package: hydrogen
Severity: serious
Version: 0.9.4-3

Hi,
I just wanted to try out hydrogen and it instantly results 
in a segfault before I see anything of the GUI.
I run this on:
Linux pagefault 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010 x86_64 GNU/Linux

I built a package with debugging info and started it from gdb, here's a backtrace:
(gdb) run
Starting program: /usr/bin/hydrogen 
[Thread debugging using libthread_db enabled]

Hydrogen 0.9.4 [Mar 24 2010]  [http://www.hydrogen-music.org]
Copyright 2002-2008 Alessandro Cominu

Hydrogen comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details

[New Thread 0x7fffec393910 (LWP 12800)]

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:31
31  ../sysdeps/x86_64/strlen.S: No such file or directory.
    in ../sysdeps/x86_64/strlen.S
=> 0x00007ffff3f117c1 <strlen+17>:   66 0f 6f 07    movdqa xmm0,XMMWORD PTR [rdi]
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:31
#1  0x00007ffff49a1332 in TiXmlDocument::LoadFile(char const*, TiXmlEncoding)
    () from /usr/lib/libtinyxml-nostl.so.2.5.3
#2  0x00000000005433b0 in H2Core::Preferences::loadPreferences (this=0x890cf0, 
    bGlobal=true) at libs/hydrogen/src/preferences.cpp:329
#3  0x000000000054a886 in Preferences (this=0x890cf0)
    at libs/hydrogen/src/preferences.cpp:240
#4  0x000000000054c4cd in H2Core::Preferences::create_instance ()
    at libs/hydrogen/src/preferences.cpp:57
#5  0x000000000049e51c in main (argc=1, argv=0x7fffffffe418)
    at gui/src/main.cpp:203
(gdb) bt full
#0  strlen () at ../sysdeps/x86_64/strlen.S:31
No locals.
#1  0x00007ffff49a1332 in TiXmlDocument::LoadFile(char const*, TiXmlEncoding)
    () from /usr/lib/libtinyxml-nostl.so.2.5.3
No symbol table info available.
#2  0x00000000005433b0 in H2Core::Preferences::loadPreferences (this=0x890cf0, 
    bGlobal=true) at libs/hydrogen/src/preferences.cpp:329
        doc = {<TiXmlNode> = {<TiXmlBase> = {_vptr.TiXmlBase = 0x5e1a90, 
              static errorString = {0x5e3846 "No error", 0x5c24de "Error", 
                0x5e384f "Failed to open file", 
                0x5e3863 "Memory allocation failed.", 
                0x5e387d "Error parsing Element.", 
                0x5e3894 "Failed to read Element name", 
                0x5e38b0 "Error reading Element value.", 
                0x5e38cd "Error reading Attributes.", 
                0x5e38e7 "Error: empty tag.", 
                0x5e38f9 "Error reading end tag.", 
                0x5e3910 "Error parsing Unknown.", 
                0x5e3927 "Error parsing Comment.", 
                0x5e393e "Error parsing Declaration.", 
                0x5e3959 "Error document empty."}, static entity = {{
                  str = 0x5e1a06 "&amp;", strLength = 5, chr = 38 '&'}, {
                  str = 0x5e1a0c "&lt;", strLength = 4, chr = 60 '<'}, {
---Type <return> to continue, or q <return> to quit---
                  str = 0x5e1a11 "&gt;", strLength = 4, chr = 62 '>'}, {
                  str = 0x5e1a16 "&quot;", strLength = 6, chr = 34 '"'}, {
                  str = 0x5e1a1d "&apos;", strLength = 6, chr = 39 '\''}}, 
              static condenseWhiteSpace = true}, parent = 0x0, 
            type = TiXmlNode::DOCUMENT, firstChild = 0x0, lastChild = 0x0, 
            value = {static npos = 18446744073709551615, 
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
                _M_p = 0x892b98 "/usr/share/hydrogen/data/hydrogen.default.conf"}}, prev = 0x0, next = 0x0, userData = 0x0}, error = false, errorId = 0, 
          errorDesc = warning: can't find linker symbol for virtual table for `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' value
{static npos = 18446744073709551615, _M_dataplus = warning: can't find linker symbol for virtual table for `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider' value

{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x82d918 ""}}}
        rootNode = 0x0
        sPreferencesFilename = {static null = {<No data fields>}, 
          static shared_null = {ref = {_q_value = 548}, alloc = 0, size = 0, 
            data = 0x82dd7a, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, 
            data = 0x7ffff6985ada, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          d = 0x892240, static codecForCStrings = 0x0}
        sDataDirectory = {static null = {<No data fields>}, 
---Type <return> to continue, or q <return> to quit---
          static shared_null = {ref = {_q_value = 548}, alloc = 0, size = 0, 
            data = 0x82dd7a, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, 
            data = 0x7ffff6985ada, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          d = 0x82dd60, static codecForCStrings = 0x0}
        __FUNCTION__ = "loadPreferences"
        prefDir = {d_ptr = 0x87c070}
        sSongDir = {static null = {<No data fields>}, static shared_null = {
            ref = {_q_value = 548}, alloc = 0, size = 0, data = 0x82dd7a, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, static shared_empty = {
            ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x7ffff6985ada, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, d = 0x891c90, 
          static codecForCStrings = 0x0}
        drumkitDir = {d_ptr = 0x8925c0}
        patternDir = {d_ptr = 0x833af0}
        input = <incomplete type>
        dataDir = {d_ptr = 0x8826d0}
        sDir = {static null = {<No data fields>}, static shared_null = {ref = {
              _q_value = 548}, alloc = 0, size = 0, data = 0x82dd7a, 
---Type <return> to continue, or q <return> to quit---
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, static shared_empty = {
            ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x7ffff6985ada, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, d = 0x82dd60, 
          static codecForCStrings = 0x0}
        recreate = false
        sPreferencesDirectory = {static null = {<No data fields>}, 
          static shared_null = {ref = {_q_value = 548}, alloc = 0, size = 0, 
            data = 0x82dd7a, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, 
            data = 0x7ffff6985ada, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          d = 0x899390, static codecForCStrings = 0x0}
        sDrumkitDir = {static null = {<No data fields>}, static shared_null = {
            ref = {_q_value = 548}, alloc = 0, size = 0, data = 0x82dd7a, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, static shared_empty = {
            ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x7ffff6985ada, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, d = 0x891c10, 
          static codecForCStrings = 0x0}
---Type <return> to continue, or q <return> to quit---
        sPatternDir = {static null = {<No data fields>}, static shared_null = {
            ref = {_q_value = 548}, alloc = 0, size = 0, data = 0x82dd7a, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, static shared_empty = {
            ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x7ffff6985ada, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, d = 0x892580, 
          static codecForCStrings = 0x0}
        songDir = {d_ptr = 0x87f3c0}
#3  0x000000000054a886 in Preferences (this=0x890cf0)
    at libs/hydrogen/src/preferences.cpp:240
        sServerList = {<std::_List_base<QString, std::allocator<QString> >> = {
            _M_impl = {<std::allocator<std::_List_node<QString> >> = {<__gnu_cxx::new_allocator<std::_List_node<QString> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x87ecc0, _M_prev = 0x87ecc0}}}, <No data fields>}
        ladpath = <value optimized out>
        uis = 0x891540
#4  0x000000000054c4cd in H2Core::Preferences::create_instance ()
    at libs/hydrogen/src/preferences.cpp:57
No locals.
#5  0x000000000049e51c in main (argc=1, argv=0x7fffffffe418)
    at gui/src/main.cpp:203
        opts = "d:s:vnV::h\000\000\000\000\000\000\270\062\202\000\000"
---Type <return> to continue, or q <return> to quit---
        cp = <value optimized out>
        bNoSplash = false
        showHelpOpt = false
        family = {static null = {<No data fields>}, static shared_null = {
            ref = {_q_value = 548}, alloc = 0, size = 0, data = 0x82dd7a, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, static shared_empty = {
            ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x7ffff6985ada, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, d = 0x1, 
          static codecForCStrings = 0x0}
        songFilename = warning: can't find linker symbol for virtual table for `QString' value
{static null = {<No data fields>}, 
          static shared_null = {ref = {_q_value = 548}, alloc = 0, size = 0, 
            data = 0x82dd7a, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, 
            data = 0x7ffff6985ada, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          d = 0x82dd60, static codecForCStrings = 0x0}
        sSelectedDriver = warning: can't find linker symbol for virtual table for `QString' value
{static null = {<No data fields>}, 
          static shared_null = {ref = {_q_value = 548}, alloc = 0, size = 0, 
            data = 0x82dd7a, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
---Type <return> to continue, or q <return> to quit---
          static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, 
            data = 0x7ffff6985ada, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          d = 0x82dd60, static codecForCStrings = 0x0}
        showVersionOpt = false
        logLevelOpt = <value optimized out>
        c = <value optimized out>
        __PRETTY_FUNCTION__ = "int main(int, char**)"

HTH
Nico







More information about the pkg-multimedia-maintainers mailing list