[Bug 290531] New: Kdevelop segmentation fault in background syntax processor

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 290531] New: Kdevelop segmentation fault in background syntax processor

xytovl (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=290531

           Summary: Kdevelop segmentation fault in background syntax
                    processor
           Product: kdevelop
           Version: 4.2.2
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Application: kdevelop (4.2.2)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.1.6-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- Custom settings of the application:
The background syntax processor is enabled

The attached backtrace is without Gentoo's "debug" compilation option
(apparently release configuration)
Enabling debug mode gives the following error:
ASSERT: "d" in file /usr/include/ksharedptr.h, line 126
ie: inline T* operator->() { Q_ASSERT(d); return d; }
Then kdevelop exits with signal 6, and I don't get a backtrace...

additional info:
kdelibs is version 4.7.3
qt is version 4.7.4

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa96c8f1760 (LWP 17424))]

Thread 11 (Thread 0x7fa95ce6b700 (LWP 17425)):
#0  0x00007fa969a6db93 in poll () from /lib64/libc.so.6
#1  0x00007fa9647135c4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa964713dfa in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa95d5bb886 in ?? () from /usr/lib64/libgio-2.0.so.0
#4  0x00007fa96473a536 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fa9499f9700 (LWP 17428)):
#0  0x00007fa969a70193 in select () from /lib64/libc.so.6
#1  0x00007fa96ae2d6cc in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fa96ad64fe5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fa94224b700 (LWP 17472)):
#0  0x00007fa969a6db93 in poll () from /lib64/libc.so.6
#1  0x00007fa9647135c4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa964713a81 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fa96ae77cff in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa96ae4c182 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa96ae4c3c4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa96ad627a4 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa967400281 in KDevelop::CompletionWorkerThread::run
(this=0x2930950) at
/usr/src/debug/dev-util/kdevplatform-1.2.2/kdevplatform-1.2.2/language/codecompletion/codecompletionmodel.cpp:80
#8  0x00007fa96ad64fe5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fa941a4a700 (LWP 17473)):
#0  0x00007fa969a6db93 in poll () from /lib64/libc.so.6
#1  0x00007fa9647135c4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa964713a81 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fa96ae77cff in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa96ae4c182 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa96ae4c3c4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa96ad627a4 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa967400281 in KDevelop::CompletionWorkerThread::run
(this=0x287de00) at
/usr/src/debug/dev-util/kdevplatform-1.2.2/kdevplatform-1.2.2/language/codecompletion/codecompletionmodel.cpp:80
#8  0x00007fa96ad64fe5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fa93bfff700 (LWP 17511)):
#0  0x00007fa96978954c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa94c5f9ad4 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007fa94c5f9b09 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fa93b7fe700 (LWP 17538)):
#0  0x00007fa969a6db93 in poll () from /lib64/libc.so.6
#1  0x00007fa9647135c4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa964713a81 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fa96ae77cff in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa96ae4c182 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa96ae4c3c4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa96ad627a4 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa96ae2de08 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fa96ad64fe5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fa9321dd700 (LWP 17563)):
#0  0x00007fa96978954c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa961cfa564 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#3  0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa9318dc700 (LWP 17564)):
#0  0x00007fa969a6db93 in poll () from /lib64/libc.so.6
#1  0x00007fa9647135c4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa964713a81 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fa96ae77cff in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa96ae4c182 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa96ae4c3c4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa96ad627a4 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa96ad64fe5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#9  0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa930350700 (LWP 17601)):
#0  0x00007fa96978954c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa96ad656cb in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/qt4/libQtCore.so.4
#2  0x00007fa962554fa4 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fa962557603 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fa96255761c in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fa96255761c in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fa96255640f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007fa962556498 in ThreadWeaver::Thread::run() () from
/usr/lib64/libthreadweaver.so.4
#8  0x00007fa96ad64fe5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa92fb4f700 (LWP 17602)):
[KCrash Handler]
#6  0x00007fa942a8f29d in PreprocessJob::headerSectionEndedInternal
(this=0x40fd730, stream=0x7fa92fb4d780) at
/usr/src/debug/dev-util/kdevelop-4.2.2/kdevelop-4.2.2/languages/cpp/preprocessjob.cpp:387
#7  0x00007fa942a8ecdd in PreprocessJob::headerSectionEnded (this=0x40fd730,
stream=...) at
/usr/src/debug/dev-util/kdevelop-4.2.2/kdevelop-4.2.2/languages/cpp/preprocessjob.cpp:330
#8  0x00007fa942826046 in rpp::pp_macro_expander::operator()
(this=0x7fa92fb4d898, input=..., output=..., substitute=false, table=0x0) at
/usr/src/debug/dev-util/kdevelop-4.2.2/kdevelop-4.2.2/languages/cpp/parser/rpp/pp-macro-expander.cpp:302
#9  0x00007fa94282fd25 in rpp::pp::operator() (this=0x7fa92fb4d890, input=...,
output=...) at
/usr/src/debug/dev-util/kdevelop-4.2.2/kdevelop-4.2.2/languages/cpp/parser/rpp/pp-engine.cpp:281
#10 0x00007fa94282eac5 in rpp::pp::processFileInternal (this=0x7fa92fb4d890,
fileName=..., fileContents=..., result=...) at
/usr/src/debug/dev-util/kdevelop-4.2.2/kdevelop-4.2.2/languages/cpp/parser/rpp/pp-engine.cpp:98
#11 0x00007fa94282e976 in rpp::pp::processFile (this=0x7fa92fb4d890,
fileName=..., data=...) at
/usr/src/debug/dev-util/kdevelop-4.2.2/kdevelop-4.2.2/languages/cpp/parser/rpp/pp-engine.cpp:85
#12 0x00007fa942a8e2c8 in PreprocessJob::run (this=0x40fd730) at
/usr/src/debug/dev-util/kdevelop-4.2.2/kdevelop-4.2.2/languages/cpp/preprocessjob.cpp:259
#13 0x00007fa962556ae1 in ?? () from /usr/lib64/libthreadweaver.so.4
#14 0x00007fa962556c1e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) ()
from /usr/lib64/libthreadweaver.so.4
#15 0x00007fa962557ec3 in ?? () from /usr/lib64/libthreadweaver.so.4
#16 0x00007fa9625563df in ?? () from /usr/lib64/libthreadweaver.so.4
#17 0x00007fa962556498 in ThreadWeaver::Thread::run() () from
/usr/lib64/libthreadweaver.so.4
#18 0x00007fa96ad64fe5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fa969784d0c in start_thread () from /lib64/libpthread.so.0
#20 0x00007fa969a7690d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa96c8f1760 (LWP 17424)):
#0  0x00007fa96978954c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fa96ad656cb in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/qt4/libQtCore.so.4
#2  0x00007fa96ad64791 in QThread::wait(unsigned long) () from
/usr/lib64/qt4/libQtCore.so.4
#3  0x00007fa96ae2d0c0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa9699d2471 in ?? () from /lib64/libc.so.6
#5  0x00007fa9699d24c5 in exit () from /lib64/libc.so.6
#6  0x00007fa957566c56 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#7  0x00007fa96b64f358 in KApplication::xioErrhandler(_XDisplay*) () from
/usr/lib64/libkdeui.so.5
#8  0x00007fa965fd226e in _XIOError () from /usr/lib64/libX11.so.6
#9  0x00007fa965fcfa6d in _XEventsQueued () from /usr/lib64/libX11.so.6
#10 0x00007fa965fc02df in XEventsQueued () from /usr/lib64/libX11.so.6
#11 0x00007fa96a2a259c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007fa964712d7b in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#13 0x00007fa9647135e2 in ?? () from /usr/lib64/libglib-2.0.so.0
#14 0x00007fa964713a81 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#15 0x00007fa96ae77cff in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007fa96a2a274e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fa96ae4c182 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#18 0x00007fa96ae4c3c4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#19 0x00007fa96ae5081b in QCoreApplication::exec() () from
/usr/lib64/qt4/libQtCore.so.4
#20 0x000000000040b9d9 in main (argc=1, argv=0x7fff4506d808) at
/usr/src/debug/dev-util/kdevelop-4.2.2/kdevelop-4.2.2/app/main.cpp:467

Possible duplicates by query: bug 236411.

Reported using DrKonqi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Reply | Threaded
Open this post in threaded view
|

[Bug 290531] Kdevelop segmentation fault in background syntax processor

xytovl (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=290531





--- Comment #1 from Patrick Nicolas <xytovl laposte net>  2012-01-14 16:36:28 ---
The problem comes from a corrupt ~/.local/share/mime folder.
Unfortunately I have deleted the folder... I will see if I have a backup
somewhere if you need to reproduce

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Reply | Threaded
Open this post in threaded view
|

[Bug 290531] Kdevelop segmentation fault in background syntax processor

Aleix Pol Gonzalez-2
In reply to this post by xytovl (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=290531


Aleix Pol <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Language Support: CPP




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Reply | Threaded
Open this post in threaded view
|

[Bug 290531] Kdevelop segmentation fault in background syntax processor [PreprocessJob::headerSectionEndedInternal]

Bugzilla from kevin@kfunk.org
In reply to this post by xytovl (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=290531

Kevin Funk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID
            Summary|Kdevelop segmentation fault |Kdevelop segmentation fault
                   |in background syntax        |in background syntax
                   |processor                   |processor
                   |                            |[PreprocessJob::headerSecti
                   |                            |onEndedInternal]

--- Comment #2 from Kevin Funk <[hidden email]> ---
Marking as invalid for now, reopen if you wish.

--
You are receiving this mail because:
You are watching all bug changes.