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

Bug#627494: doxygen: segfaults in QThread / pthread on kfreebsd



Package: doxygen
Version: 1.7.4-1
Severity: important

Hi!

    I'm seeing doxygen segfaulting regularly on kfreebsd-*
buildds. And produced a backtrace for one of these. It turned out to
be easily reproducible. Backtrace below (wasn't too easi btw: doxygen
still builds a stripped binary with DEB_BUILD_OPTIONS=debug)

    This is extracting the call from shibboleth-sp2 experimental build

SRCDIR='.' PROJECT='shibboleth' DOCDIR='doc/api' VERSION='2.4.2' PERL_PATH='/usr/bin/perl' HAVE_DOT='YES' DOT_PATH='/usr/bin' GENERATE_MAN='NO' GENERATE_RTF='NO' GENERATE_XML='NO' GENERATE_HTMLHELP='NO' GENERATE_CHI='NO' GENERATE_HTML='YES' GENERATE_LATEX='NO' DX_INCLUDE= gdb --args /usr/bin/doxygen ./doxygen.cfg

Program received signal ?, Unknown signal.
0x2865fd87 in __pthread_sigsuspend () from /lib/i686/cmov/libpthread.so.0
(gdb) bt full
#0  0x2865fd87 in __pthread_sigsuspend () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#1  0x2865ee58 in __pthread_wait_for_restart_signal () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x2865fcb2 in pthread_create@@GLIBC_2.3 () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#3  0x08356b64 in QThread::start (this=0x8bb79d8) at qthread_unix.cpp:133
        locker = {m_mutex = 0x876e808}
        attr = {__detachstate = 1, __schedpolicy = 2, __schedparam = {__sched_priority = 0}, __inheritsched = 0, __scope = 0, __guardsize = 4096, 
          __stackaddr_set = 0, __stackaddr = 0x0, __stacksize = 2093056}
        code = <value optimized out>
127.0.0.1       localhost
#4  0x082d09b4 in DotManager::DotManager (this=0x8bb65a8) at dot.cpp:924
        thread = 0x8bb79d8
        i = <value optimized out>
        numThreads = <value optimized out>
#5  0x082d0bf8 in DotManager::instance () at dot.cpp:908
No locals.
#6  0x082e145a in DotInclDepGraph::writeGraph (this=0xbfbfe174, out=..., format=BITMAP, 
    path=0x8ba10b0 "/home/christoph/shibboleth-sp2-2.4.2+dfsg/doc/api/html", 
    fileName=0x8ba9508 "/home/christoph/shibboleth-sp2-2.4.2+dfsg/doc/api/html/a00051.html", relPath=0x0, generateImageMap=true) at dot.cpp:2915
        dotArgs = {m_data = 0x8bac548 ' ' <repeats 200 times>...}
        dotRun = 0x8bab8f0
        d = {_vptr.QDir = 0x8579aa8, dPath = {static null = {<No data fields>}, d = 0x8babc30, static shared_null = 0x867cb78}, fList = 0x0, fiList = 0x0, 
          nameFilt = {static null = {<No data fields>}, d = 0x8bac038, static shared_null = 0x867cb78}, filtS = QDir::All, sortS = QDir::IgnoreCase, 
          dirty = 1, allDirs = 0}
        usePDFLatex = false
        baseName = {m_data = 0x88912c8 "a00122"}
        absPdfName = {m_data = 0x8babf50 "/home/christoph/shibboleth-sp2-2.4.2+dfsg/doc/api/html/a00122.pdf"}
        imgExt = {m_data = 0x8bab730 "png"}
        absDotName = {m_data = 0x8babdb8 "/home/christoph/shibboleth-sp2-2.4.2+dfsg/doc/api/html/a00122.dot"}
        absImgName = {m_data = 0x8bac500 "/home/christoph/shibboleth-sp2-2.4.2+dfsg/doc/api/html/a00122.png"}
        mapName = {m_data = 0x8bab2d8 "shibsp_2_abstract_s_p_request_8h"}
        absBaseName = {m_data = 0x8babec0 "/home/christoph/shibboleth-sp2-2.4.2+dfsg/doc/api/html/a00122"}
        absMapName = {m_data = 0x8babf08 "/home/christoph/shibboleth-sp2-2.4.2+dfsg/doc/api/html/a00122.map"}
        absEpsName = {m_data = 0x8babf98 "/home/christoph/shibboleth-sp2-2.4.2+dfsg/doc/api/html/a00122.eps"}
        regenerate = true
#7  0x080a5e95 in HtmlGenerator::endInclDepGraph (this=0x8766670, g=...) at htmlgen.cpp:2418
No locals.
#8  0x081be1b3 in OutputList::forall (this=0x8958e80, func=<value optimized out>, a1=...) at outputlist.cpp:282
        og = <value optimized out>
#9  0x080814e2 in endInclDepGraph (this=0x8781448, ol=...) at outputlist.h:370
No locals.
#10 FileDef::writeIncludeGraph (this=0x8781448, ol=...) at filedef.cpp:345
        incDepGraph = {m_startNode = 0x8bea018, m_usedNodes = 0x8b9fb70, static m_curNodeNumber = 9, m_diskName = {
            m_data = 0x8777788 "AbstractSPRequest.h"}, m_maxDistance = 0, m_inverse = false}
#11 0x080877e4 in FileDef::writeDocumentation (this=0x8781448, ol=...) at filedef.cpp:598
        generateTreeView = true
        versionTitle = {m_data = 0x0}
        pageTitle = {m_data = 0x8ba1200 "shibsp/AbstractSPRequest.h File Reference"}
        lde = 0x8771820
        title = {m_data = 0x8bea160 "shibsp/AbstractSPRequest.h"}
        eli = {<QGListIterator> = {list = 0x8766730, curNode = 0x8772158}, <No data fields>}
#12 0x0804f72d in generateFileDocs () at doxygen.cpp:7259
        doc = <value optimized out>
        fni = {<QListIterator<FileDef>> = {<QGListIterator> = {list = 0x88256b8, curNode = 0x87a2a40}, <No data fields>}, <No data fields>}
        fd = 0x8781448
        fnli = {<QListIterator<FileName>> = {<QGListIterator> = {list = 0x8715ee0, curNode = 0x877bab0}, <No data fields>}, <No data fields>}
        fn = 0x4
#13 0x0806e624 in generateOutput () at doxygen.cpp:10578
        generateTagFile = <value optimized out>
        genString = {m_data = 0x8ba10f0 "Generated on Sat May 21 2011 02:07:04 for shibboleth-2.4.2 by"}
        searchEngine = false
        thisDir = {_vptr.QDir = 0x867cb78, dPath = {static null = {<No data fields>}, d = 0x288c5ff4, static shared_null = 0x867cb78}, fList = 0xbfbfe338, 
          fiList = 0x2880c1a2, nameFilt = {static null = {<No data fields>}, d = 0x8765ee8, static shared_null = 0x867cb78}, filtS = 0, sortS = QDir::Name, 
          dirty = 0, allDirs = 0}
        tag = 0x8ba11d0
        serverBasedSearch = false
#14 0x0804b715 in main (argc=2, argv=0xbfbfe428) at main.cpp:38
No locals.

Regards

    Christoph

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.2-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages doxygen depends on:
ii  doxygen-latex                 1.7.4-1    Documentation system for C, C++, J
ii  libc0.1                       2.13-4     Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.6.0-7  GCC support library
ii  libstdc++6                    4.6.0-7    The GNU Standard C++ Library v3

doxygen recommends no packages.

Versions of packages doxygen suggests:
ii  doxygen-doc                   1.7.4-1    Documentation for doxygen
ii  doxygen-gui                   1.7.4-1    GUI configuration tool for doxygen
ii  graphviz                      2.26.3-7   rich set of graph drawing tools

-- no debconf information



Reply to: