By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2475

Summary: tdevelop part && parent in PartWidget and PHP code editing
Product: TDE Reporter: deloptes
Component: other (any)Assignee: Michele Calgaro <michele.calgaro>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bugwatch, deloptes, michele.calgaro
Priority: P5    
Version: R14.1.x [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: patch proposal
run with valgrind
disable TQTimer::singleShot( 0, this, TQT_SLOT( slotParseFiles() ) );

Description deloptes 2015-07-09 05:35:13 CDT
recently tdevelop started breaking with

ASSERT: "part && parent" in ....parts/fileview/partwidget.cpp (41)

Looking into the code I find that parent is not used, thus the QASSERT should check only part.

Changing the code at line 41/42 to

    Q_ASSERT( part );
    Q_ASSERT( parent );

gives error

ASSERT: "parent" in ....parts/fileview/partwidget.cpp (42)

but tdevelop does not crash with segmentation fault.

I think the "Q_ASSERT( parent );" can be ignored as parent is never used in this place.
Comment 1 deloptes 2015-07-09 16:30:26 CDT
The above somehow did not solve the issue fully.
From another user account on same computer I have again tdevelop crashing.
Any ideas are welcome

regards

[New LWP 9901]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

==== (gdb) bt ====
[TDECrash handler]
#5  0x00007fe9c96a2239 in ucstrcmp (as=..., bs=...) at tools/qstring.cpp:112
#6  0x00007fe9c96aac35 in operator< (s1=..., s2=...) at tools/qstring.cpp:6782
#7  0x00007fe9ce528794 in TQMapPrivate<TQString, TDESharedPtr<FileModel> >::find (k=..., this=<optimized out>) at /usr/include/tqt3/ntqmap.h:507
#8  0x00007fe9ce52ffd1 in find (k=..., this=0x250b3f8) at /usr/include/tqt3/ntqmap.h:704
#9  CodeModel::fileByName (this=0x250b3f0, name=...) at /opt/software_x64/KDE/tdevelop/lib/interfaces/codemodel.cpp:388
#10 0x00007fe9bb781b6c in PHPSupportPart::customEvent (this=0x32a5b50, ev=0x7fe9b479f200) at /opt/software_x64/KDE/tdevelop/languages/php/phpsupportpart.cpp:577
#11 0x00007fe9c945c2eb in TQObject::event (this=0x32a5b50, e=0x7fe9b479f200) at kernel/qobject.cpp:1123
#12 0x00007fe9c940baef in TQApplication::internalNotify (this=<optimized out>, receiver=0x32a5b50, e=0x7fe9b479f200) at kernel/qapplication.cpp:2883
#13 0x00007fe9c940bfa8 in TQApplication::notify (this=this@entry=0x7fff0136e7e0, receiver=receiver@entry=0x32a5b50, e=e@entry=0x7fe9b479f200) at kernel/qapplication.cpp:2726
#14 0x00007fe9ca2a5d0b in TDEApplication::notify (this=0x7fff0136e7e0, receiver=0x32a5b50, event=0x7fe9b479f200) at /build/buildd/tdelibs-trinity-14.0.0-r1231/tdecore/tdeapplication.cpp:660
#15 0x00007fe9c940d1c1 in TQApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qapplication.cpp:3586
#16 0x00007fe9c940d329 in TQApplication::sendPostedEvents () at kernel/qapplication.cpp:3492
#17 0x00007fe9c93eeef5 in TQEventLoop::processX11Events (this=this@entry=0x22f7370) at kernel/qeventloop_x11_glib.cpp:304
#18 0x00007fe9c93ef7ef in TQEventLoop::gsourceDispatch (this=this@entry=0x22f7370, gs=gs@entry=0x22f9f90) at kernel/qeventloop_x11_glib.cpp:614
#19 0x00007fe9c93ef8f3 in qt_gsource_dispatch (source=0x22f9f90, callback=<optimized out>, user_data=<optimized out>) at kernel/qeventloop_x11_glib.cpp:123
#20 0x00007fe9c4d67c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fe9c4d67f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fe9c4d67ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fe9c93eee4b in TQEventLoop::processEvents (this=0x22f7370, flags=<optimized out>) at kernel/qeventloop_x11_glib.cpp:279
#24 0x00007fe9c941ea31 in TQEventLoop::enterLoop (this=0x22f7370) at kernel/qeventloop.cpp:227
#25 0x00007fe9c941e9c9 in TQEventLoop::exec (this=0x22f7370) at kernel/qeventloop.cpp:174
#26 0x0000000000408203 in main (argc=argc@entry=1, argv=argv@entry=0x7fff0136eab8) at /opt/software_x64/KDE/tdevelop/src/main.cpp:143
#27 0x00007fe9c7184b45 in __libc_start_main (main=0x4079d0 <main(int, char**)>, argc=1, argv=0x7fff0136eab8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0136eaa8) at libc-start.c:287
#28 0x0000000000408559 in _start ()

==== (gdb) bt full ====
[TDECrash handler]
No locals.
#5  0x00007fe9c96a2239 in ucstrcmp (as=..., bs=...) at tools/qstring.cpp:112
        a = 0x4a56b10
        b = 0x58009c5000000d5
        l = 108
#6  0x00007fe9c96aac35 in operator< (s1=..., s2=...) at tools/qstring.cpp:6782
No locals.
#7  0x00007fe9ce528794 in TQMapPrivate<TQString, TDESharedPtr<FileModel> >::find (k=..., this=<optimized out>) at /usr/include/tqt3/ntqmap.h:507
        y = 0x2516ff0
        x = 0x4bfc450
#8  0x00007fe9ce52ffd1 in find (k=..., this=0x250b3f8) at /usr/include/tqt3/ntqmap.h:704
No locals.
#9  CodeModel::fileByName (this=0x250b3f0, name=...) at /opt/software_x64/KDE/tdevelop/lib/interfaces/codemodel.cpp:388
        it = <optimized out>
#10 0x00007fe9bb781b6c in PHPSupportPart::customEvent (this=0x32a5b50, ev=0x7fe9b479f200) at /opt/software_x64/KDE/tdevelop/languages/php/phpsupportpart.cpp:577
        event = 0x7fe9b479f200
        ns = {ptr = 0x2517220}
        m_file = {ptr = 0x4e901a0}
#11 0x00007fe9c945c2eb in TQObject::event (this=0x32a5b50, e=0x7fe9b479f200) at kernel/qobject.cpp:1123
        e = 0x7fe9b479f200
        this = 0x32a5b50
#12 0x00007fe9c940baef in TQApplication::internalNotify (this=<optimized out>, receiver=0x32a5b50, e=0x7fe9b479f200) at kernel/qapplication.cpp:2883
        locklevel = 2
        llcount = <optimized out>
        consumed = <optimized out>
        handled = <optimized out>
        this = <optimized out>
        e = 0x7fe9b479f200
        receiver = 0x32a5b50
#13 0x00007fe9c940bfa8 in TQApplication::notify (this=this@entry=0x7fff0136e7e0, receiver=receiver@entry=0x32a5b50, e=e@entry=0x7fe9b479f200) at kernel/qapplication.cpp:2726
        res = <optimized out>
        e = 0x7fe9b479f200
        receiver = 0x32a5b50
        this = 0x7fff0136e7e0
#14 0x00007fe9ca2a5d0b in TDEApplication::notify (this=0x7fff0136e7e0, receiver=0x32a5b50, event=0x7fe9b479f200) at /build/buildd/tdelibs-trinity-14.0.0-r1231/tdecore/tdeapplication.cpp:660
No locals.
#15 0x00007fe9c940d1c1 in TQApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qapplication.cpp:3586
        e = <optimized out>
        r = <optimized out>
        l = 0x22e7280
        it = {<TQPtrListIterator<TQPostEvent>> = {<TQGListIterator> = {list = 0x22e7280, curNode = 0x0}, <No data fields>}, <No data fields>}
        locker = {mtx = 0x22ebe60}
        sent = true
#16 0x00007fe9c940d329 in TQApplication::sendPostedEvents () at kernel/qapplication.cpp:3492
No locals.
#17 0x00007fe9c93eeef5 in TQEventLoop::processX11Events (this=this@entry=0x22f7370) at kernel/qeventloop_x11_glib.cpp:304
        flags = 4
        nevents = 0
        locker = {mtx = 0x22ebdc0}
        event = {type = -918619968, xany = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256}, xkey = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, root = 140733213762544, subwindow = 36667552, time = 140642072644040, x = 0, y = 0, x_root = 36282256, y_root = 0, state = 20374504, keycode = 32767, same_screen = -926430421}, xbutton = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, root = 140733213762544, subwindow = 36667552, time = 140642072644040, x = 0, y = 0, x_root = 36282256, y_root = 0, state = 20374504, button = 32767, same_screen = -926430421}, xmotion = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, root = 140733213762544, subwindow = 36667552, time = 140642072644040, x = 0, y = 0, x_root = 36282256, y_root = 0, state = 20374504, is_hint = -1 '\377', same_screen = -926430421}, xcrossing = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, root = 140733213762544, subwindow = 36667552, time = 140642072644040, x = 0, y = 0, x_root = 36282256, y_root = 0, mode = 20374504, detail = 32767, same_screen = -926430421, focus = 32745, state = 0}, xfocus = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, mode = 20374512, detail = 32767}, xexpose = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, x = 20374512, y = 32767, width = 36667552, height = 0, count = -926430776}, xgraphicsexpose = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, drawable = 36282256, x = 20374512, y = 32767, width = 36667552, height = 0, count = -926430776, major_code = 32745, minor_code = 0}, xnoexpose = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, drawable = 36282256, major_code = 20374512, minor_code = 32767}, xvisibility = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, state = 20374512}, xcreatewindow = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, parent = 36282256, window = 140733213762544, x = 36667552, y = 0, width = -926430776, height = 32745, border_width = 0, override_redirect = 0}, xdestroywindow = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, event = 36282256, window = 140733213762544}, xunmap = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, event = 36282256, window = 140733213762544, from_configure = 36667552}, xmap = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, event = 36282256, window = 140733213762544, override_redirect = 36667552}, xmaprequest = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, parent = 36282256, window = 140733213762544}, xreparent = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, event = 36282256, window = 140733213762544, parent = 36667552, x = -926430776, y = 32745, override_redirect = 0}, xconfigure = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, event = 36282256, window = 140733213762544, x = 36667552, y = 0, width = -926430776, height = 32745, border_width = 0, above = 36282256, override_redirect = 20374504}, xgravity = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, event = 36282256, window = 140733213762544, x = 36667552, y = 0}, xresizerequest = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, width = 20374512, height = 32767}, xconfigurerequest = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, parent = 36282256, window = 140733213762544, x = 36667552, y = 0, width = -926430776, height = 32745, border_width = 0, above = 36282256, detail = 20374504, value_mask = 140642072644395}, xcirculate = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, event = 36282256, window = 140733213762544, place = 36667552}, xcirculaterequest = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, parent = 36282256, window = 140733213762544, place = 36667552}, xproperty = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, atom = 140733213762544, time = 36667552, state = -926430776}, xselectionclear = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, selection = 140733213762544, time = 36667552}, xselectionrequest = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, owner = 36282256, requestor = 140733213762544, selection = 36667552, target = 140642072644040, property = 0, time = 36282256}, xselection = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, requestor = 36282256, selection = 140733213762544, target = 36667552, property = 140642072644040, time = 0}, xcolormap = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, colormap = 140733213762544, c_new = 36667552, state = 0}, xclient = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, message_type = 140733213762544, format = 36667552, data = {b = "\310\311\307\310\351\177\000\000\000\000\000\000\000\000\000\000\220\237)\002", s = {-13880, -14137, 32745, 0, 0, 0, 0, 0, -24688, 553}, l = {140642072644040, 0, 36282256, 140733213762536, 140642072644395}}}, xmapping = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, request = 20374512, first_keycode = 32767, count = 36667552}, xerror = {type = -918619968, display = 0x7fe9c3ec89ea, resourceid = 0, serial = 36286944, error_code = 144 '\220', request_code = 159 '\237', minor_code = 41 ')'}, xkeymap = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, window = 36282256, key_vector = "\360\343\066\001\377\177\000\000\240\200/\002\000\000\000\000\310\311\307\310\351\177\000\000\000\000\000\000\000\000\000"}, xgeneric = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, extension = 36282256, evtype = 0}, xcookie = {type = -918619968, serial = 140641991166442, send_event = 0, display = 0x229b1e0, extension = 36282256, evtype = 0, cookie = 20374512, data = 0x22f80a0}, pad = {140642080454848, 140641991166442, 0, 36286944, 36282256, 140733213762544, 36667552, 140642072644040, 0, 36282256, 140733213762536, 140642072644395, 0, 0, 71978368, 2157026217988963328, 0, 36282256, 0, 36664176, 36667552, 140642072645201, 36282256, 140642083106248}}
        exclude_all = <optimized out>
#18 0x00007fe9c93ef7ef in TQEventLoop::gsourceDispatch (this=this@entry=0x22f7370, gs=gs@entry=0x22f9f90) at kernel/qeventloop_x11_glib.cpp:614
        locker = {mtx = 0x22ebdc0}
        nevents = <optimized out>
        flags = 4
#19 0x00007fe9c93ef8f3 in qt_gsource_dispatch (source=0x22f9f90, callback=<optimized out>, user_data=<optimized out>) at kernel/qeventloop_x11_glib.cpp:123
        qtGSource = 0x22f9f90
        candidateEventLoop = 0x22f7370
        activeThreadEventLoop = <optimized out>
#20 0x00007fe9c4d67c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#21 0x00007fe9c4d67f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#22 0x00007fe9c4d67ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#23 0x00007fe9c93eee4b in TQEventLoop::processEvents (this=0x22f7370, flags=<optimized out>) at kernel/qeventloop_x11_glib.cpp:279
        save_flags = 4
        rval = <optimized out>
#24 0x00007fe9c941ea31 in TQEventLoop::enterLoop (this=0x22f7370) at kernel/qeventloop.cpp:227
        old_exitloop = false
#25 0x00007fe9c941e9c9 in TQEventLoop::exec (this=0x22f7370) at kernel/qeventloop.cpp:174
No locals.
#26 0x0000000000408203 in main (argc=argc@entry=1, argv=argv@entry=0x7fff0136eab8) at /opt/software_x64/KDE/tdevelop/src/main.cpp:143
        aboutData = {mAppName = 0x40b015 "tdevelop", mProgramName = 0x40b00c "TDevelop", mVersion = 0x40b004 "R14.0.0", mShortDescription = 0x40be40 "The TDevelop Integrated Development Environment", mLicenseKey = 1, mCopyrightStatement = 0x40b880 "(c) 1999-2007, The KDevelop developers", mOtherText = 0x40b82a "", mHomepageAddress = 0x40b01e "http://www.kdevelop.org", mBugEmailAddress = 0x7fe9ca4d8850 "http://bugs.trinitydesktop.org", mAuthorList = {sh = 0x2296e40}, mCreditList = {sh = 0x2296ea0}, mLicenseText = 0x0, static defaultBugTracker = 0x7fe9ca4d8850 "http://bugs.trinitydesktop.org", d = 0x2296f00}
        app = {<TQApplication> = {<TQObject> = {<TQt> = {static color0 = @0x7fe9c9b3c900, static color1 = @0x7fe9c9b3c908, static black = @0x7fe9c9b3c910, static white = @0x7fe9c9b3c918, static darkGray = @0x7fe9c9b3c920, static gray = @0x7fe9c9b3c928, static lightGray = @0x7fe9c9b3c930, static red = @0x7fe9c9b3c938, static green = @0x7fe9c9b3c940, static blue = @0x7fe9c9b3c948, static cyan = @0x7fe9c9b3c950, static magenta = @0x7fe9c9b3c958, static yellow = @0x7fe9c9b3c960, static darkRed = @0x7fe9c9b3c968, static darkGreen = @0x7fe9c9b3c970, static darkBlue = @0x7fe9c9b3c978, static darkCyan = @0x7fe9c9b3c980, static darkMagenta = @0x7fe9c9b3c988, static darkYellow = @0x7fe9c9b3c990, static arrowCursor = @0x7fe9c9b3a540, static upArrowCursor = @0x7fe9c9b3a548, static crossCursor = @0x7fe9c9b3a550, static waitCursor = @0x7fe9c9b3a558, static ibeamCursor = @0x7fe9c9b3a560, static sizeVerCursor = @0x7fe9c9b3a568, static sizeHorCursor = @0x7fe9c9b3a570, static sizeBDiagCursor = @0x7fe9c9b3a578, static sizeFDiagCursor = @0x7fe9c9b3a580, static sizeAllCursor = @0x7fe9c9b3a588, static blankCursor = @0x7fe9c9b3a590, static splitVCursor = @0x7fe9c9b3a598, static splitHCursor = @0x7fe9c9b3a5a0, static pointingHandCursor = @0x7fe9c9b3a5a8, static forbiddenCursor = @0x7fe9c9b3a5b0, static whatsThisCursor = @0x7fe9c9b3a5b8, static busyCursor = @0x7fe9c9b3a5c0}, _vptr.TQObject = 0x7fe9ca794090 <vtable for TDEApplication+16>, static metaObj = 0x227fbb0, isSignal = 0, isWidget = 0, pendTimer = 0, blockSig = 0, wasDeleted = 0, isTree = 1, objname = 0x2299f10 "tdevelop", parentObj = 0x0, childObjects = 0x22e7200, connections = 0x231aae0, senderObjects = 0x231edd0, eventFilters = 0x230c940, postedEvents = 0x0, d = 0x2298ca0}, static metaObj = 0x231a100, static tqt_mutex = 0x22ebdc0, app_argc = 1, app_argv = 0x2298c60, quit_now = false, quit_code = 0, static app_style = 0x2319910, static app_cspec = 0, static app_pal = 0x22f5f90, static app_font = 0x22eb920, static app_cursor = 0x0, static app_tracking = 1, static is_app_running = true, static is_app_closing = false, static app_exit_loop = <optimized out>, static loop_level = 0, static main_widget = 0x2365bc0, static focus_widget = 0x4484b30, static active_window = 0x2365bc0, static obey_desktop_settings = false, static cursor_flash_time = 1000, static mouse_double_click_time = 400, static wheel_scroll_lines = 3, static composedUnicode = 0, static animate_ui = false, static animate_menu = true, static animate_tooltip = true, static animate_combo = true, static fade_menu = true, static fade_tooltip = true, static animate_toolbox = false, static widgetCount = false, static metaComposeUnicode = false, translators = 0x230cfc0, session_manager = 0x22f7670, session_id = {static null = {static null = <same as static member of an already seen type>, d = 0x0, static shared_null = 0x2281950}, d = 0x22f6720, static shared_null = 0x2281950}, static session_key = 0x22f6ac0, is_session_restored = false, static defaultIM = {static null = {static null = <same as static member of an already seen type>, d = 0x0, static shared_null = 0x2281950}, d = 0x227f030, static shared_null = 0x2281950}, static app_strut = {wd = 0, ht = 0}, static app_libpaths = 0x22eb770, static app_palettes = 0x22f6480, static app_fonts = 0x230f640, static popupWidgets = 0x0}, <TDEInstance> = {_vptr.TDEInstance = 0x7fe9ca794188 <vtable for TDEApplication+264>, _dirs = 0x2300300, _config = 0x22fa3f0, _iconLoader = 0x23750a0, _hardwaredevices = 0x0, _networkmanager = 0x0, _placeholder = 0x10000005b, _name = {<TQMemArray<char>> = {<TQGArray> = {_vptr.TQGArray = 0x7fe9c9afcad0 <vtable for TQCString+16>, shd = 0x22f8790}, <No data fields>}, <No data fields>}, _aboutData = 0x7fff0136e770, d = 0x22f9b10, m_configReadOnly = false}, static metaObj = 0x231a030, display = 0x2299f90, kipcCommAtom = 443, kipcEventMask = 511, static KApp = 0x0, pArgc = 0, pSessionConfig = 0x0, static s_DCOPClient = 0x2300e80, static s_dcopClientNeedsPostInit = false, aCaption = {static null = {static null = <same as static member of an already seen type>, d = 0x0, static shared_null = 0x2281950}, d = 0x2281950, static shared_null = 0x2281950}, bSessionManagement = true, aIconPixmap = {pm = {icon = 0x2374f70, miniIcon = 0x23f6e40}, unused = "pO7\002\000\000\000\000@n?\002\000\000\000\000\a>\b\317\351\177\000\000\001", '\000' <repeats 16 times>, "n)\002\000\000\000\000и\026\307\351\177\000\000\001\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\070\353`\000\000\000\000\000%\243\b\317\351\177\000\000\360\235@\000\000\000\000"}, aIconName = {static null = {static null = <same as static member of an already seen type>, d = 0x0, static shared_null = 0x2281950}, d = 0x2281950, static shared_null = 0x2281950}, aMiniIconName = {static null = {static null = <same as static member of an already seen type>, d = 0x0, static shared_null = 0x2281950}, d = 0x2281950, static shared_null = 0x2281950}, useStyles = true, smw = 0x230d1f0, argb_visual = false, argb_x11_visual = 1, argb_x11_colormap = 2, static loadedByKdeinit = false, captionLayout = 6351672, d = 0x22f8510}
        openProject = <optimized out>
        ret = <optimized out>
        description = "The TDevelop Integrated Development Environment"
        args = 0x2298c00
        splash = <optimized out>
        splashFile = {static null = {static null = <same as static member of an already seen type>, d = 0x0, static shared_null = 0x2281950}, d = 0x230e010, static shared_null = 0x2281950}
#27 0x00007fe9c7184b45 in __libc_start_main (main=0x4079d0 <main(int, char**)>, argc=1, argv=0x7fff0136eab8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0136eaa8) at libc-start.c:287
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 1747211385951028637, 4228400, 140733213764272, 0, 0, -1747021643489671779, -1734772823070931555}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x40af60 <__libc_csu_init>, 0x7fff0136eab8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 4239200}}}
        not_first_call = <optimized out>
#28 0x0000000000408559 in _start ()
No symbol table info available.

==== (gdb) info thread ====
  Id   Target Id         Frame 
  2    Thread 0x7fe9bc1b9700 (LWP 9901) "tdevelop" bm_init_skiptable (pattern=..., skiptable=skiptable@entry=0x7fe9bc1b85f0, cs=cs@entry=true) at tools/qstring.cpp:3034
* 1    Thread 0x7fe9cf226780 (LWP 9742) "tdevelop" 0x00007fe9c721a6fd in nanosleep () at ../sysdeps/unix/syscall-template.S:81

==== (gdb) thread apply all bt ====

==== Thread 2 (Thread 0x7fe9bc1b9700 (LWP 9901)):
#0  bm_init_skiptable (pattern=..., skiptable=skiptable@entry=0x7fe9bc1b85f0, cs=cs@entry=true) at tools/qstring.cpp:3034
#1  0x00007fe9c96a41a4 in TQString::contains (this=this@entry=0x7fe9bc1b8ae0, str=..., cs=cs@entry=true) at tools/qstring.cpp:3723
#2  0x00007fe9c96a8e34 in TQString::contains (this=this@entry=0x7fe9bc1b8ae0, str=str@entry=0x7fe9bb7a7c6c "{", cs=cs@entry=true) at tools/qstring.cpp:3666
#3  0x00007fe9bb7a273f in PHPFile::ParseSource (this=this@entry=0x4981190) at /opt/software_x64/KDE/tdevelop/languages/php/phpfile.cpp:435
#4  0x00007fe9bb7a3d2d in PHPFile::Analyse (this=0x4981190) at /opt/software_x64/KDE/tdevelop/languages/php/phpfile.cpp:132
#5  0x00007fe9bb79c10c in PHPParser::run (this=0x3c54960) at /opt/software_x64/KDE/tdevelop/languages/php/phpparser.cpp:133
#6  0x00007fe9c9405b4a in TQThreadInstance::start (_arg=0x376a458) at kernel/qthread_unix.cpp:142
#7  0x00007fe9c4d8e935 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fe9c626d0a4 in start_thread (arg=0x7fe9bc1b9700) at pthread_create.c:309
#9  0x00007fe9c724904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

==== Thread 1 (Thread 0x7fe9cf226780 (LWP 9742)):
[TDECrash handler]
#5  0x00007fe9c96a2239 in ucstrcmp (as=..., bs=...) at tools/qstring.cpp:112
#6  0x00007fe9c96aac35 in operator< (s1=..., s2=...) at tools/qstring.cpp:6782
#7  0x00007fe9ce528794 in TQMapPrivate<TQString, TDESharedPtr<FileModel> >::find (k=..., this=<optimized out>) at /usr/include/tqt3/ntqmap.h:507
#8  0x00007fe9ce52ffd1 in find (k=..., this=0x250b3f8) at /usr/include/tqt3/ntqmap.h:704
#9  CodeModel::fileByName (this=0x250b3f0, name=...) at /opt/software_x64/KDE/tdevelop/lib/interfaces/codemodel.cpp:388
#10 0x00007fe9bb781b6c in PHPSupportPart::customEvent (this=0x32a5b50, ev=0x7fe9b479f200) at /opt/software_x64/KDE/tdevelop/languages/php/phpsupportpart.cpp:577
#11 0x00007fe9c945c2eb in TQObject::event (this=0x32a5b50, e=0x7fe9b479f200) at kernel/qobject.cpp:1123
#12 0x00007fe9c940baef in TQApplication::internalNotify (this=<optimized out>, receiver=0x32a5b50, e=0x7fe9b479f200) at kernel/qapplication.cpp:2883
#13 0x00007fe9c940bfa8 in TQApplication::notify (this=this@entry=0x7fff0136e7e0, receiver=receiver@entry=0x32a5b50, e=e@entry=0x7fe9b479f200) at kernel/qapplication.cpp:2726
#14 0x00007fe9ca2a5d0b in TDEApplication::notify (this=0x7fff0136e7e0, receiver=0x32a5b50, event=0x7fe9b479f200) at /build/buildd/tdelibs-trinity-14.0.0-r1231/tdecore/tdeapplication.cpp:660
#15 0x00007fe9c940d1c1 in TQApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qapplication.cpp:3586
#16 0x00007fe9c940d329 in TQApplication::sendPostedEvents () at kernel/qapplication.cpp:3492
#17 0x00007fe9c93eeef5 in TQEventLoop::processX11Events (this=this@entry=0x22f7370) at kernel/qeventloop_x11_glib.cpp:304
#18 0x00007fe9c93ef7ef in TQEventLoop::gsourceDispatch (this=this@entry=0x22f7370, gs=gs@entry=0x22f9f90) at kernel/qeventloop_x11_glib.cpp:614
#19 0x00007fe9c93ef8f3 in qt_gsource_dispatch (source=0x22f9f90, callback=<optimized out>, user_data=<optimized out>) at kernel/qeventloop_x11_glib.cpp:123
#20 0x00007fe9c4d67c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fe9c4d67f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fe9c4d67ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fe9c93eee4b in TQEventLoop::processEvents (this=0x22f7370, flags=<optimized out>) at kernel/qeventloop_x11_glib.cpp:279
#24 0x00007fe9c941ea31 in TQEventLoop::enterLoop (this=0x22f7370) at kernel/qeventloop.cpp:227
#25 0x00007fe9c941e9c9 in TQEventLoop::exec (this=0x22f7370) at kernel/qeventloop.cpp:174
#26 0x0000000000408203 in main (argc=argc@entry=1, argv=argv@entry=0x7fff0136eab8) at /opt/software_x64/KDE/tdevelop/src/main.cpp:143
#27 0x00007fe9c7184b45 in __libc_start_main (main=0x4079d0 <main(int, char**)>, argc=1, argv=0x7fff0136eab8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0136eaa8) at libc-start.c:287
#28 0x0000000000408559 in _start ()

==== (gdb) info sharedlibrary ====
From                To                  Syms Read   Shared Object Library
                                        No          linux-vdso.so.1
0x00007fe9cee12400  0x00007fe9cee51652  Yes (*)     /opt/trinity/lib/libkdevshell.so.0
0x00007fe9cebb8030  0x00007fe9cebc6fc5  Yes         /opt/trinity/lib/libd.so.0
0x00007fe9ce99a150  0x00007fe9ce99b1b3  Yes         /opt/trinity/lib/libkinterfacedesigner.so.0
0x00007fe9ce788f70  0x00007fe9ce7917fd  Yes         /opt/trinity/lib/libprofileengine.so.0
0x00007fe9ce50d5c0  0x00007fe9ce55d24a  Yes         /opt/trinity/lib/libtdevelop.so.1
0x00007fe9ce29bdc0  0x00007fe9ce2b5ae5  Yes         /opt/trinity/lib/libkdevpropertyeditor.so.0
0x00007fe9ce05d620  0x00007fe9ce05f7e1  Yes         /opt/trinity/lib/libtdescript.so.0
0x00007fe9cde34930  0x00007fe9cde48525  Yes         /opt/trinity/lib/libtdetexteditor.so.0
0x00007fe9cdb5d340  0x00007fe9cdbdf3dd  Yes         /opt/trinity/lib/libtdeabc.so.1
0x00007fe9cd9021e0  0x00007fe9cd9122ba  Yes         /opt/trinity/lib/libvcard.so.0
0x00007fe9cd6d4ff0  0x00007fe9cd6e65e9  Yes         /opt/trinity/lib/libtderesources.so.1
0x00007fe9cd497760  0x00007fe9cd4b03df  Yes         /opt/trinity/lib/libkdevwidgets.so.0
0x00007fe9cceeda10  0x00007fe9cd133d1d  Yes         /opt/trinity/lib/libtdehtml.so.14
0x00007fe9ccb5a0b0  0x00007fe9ccb8e1ce  Yes         /opt/trinity/lib/libtdeutils.so.1
0x00007fe9cc8f49a0  0x00007fe9cc911945  Yes         /opt/trinity/lib/libtdeparts.so.2
0x00007fe9cc61a390  0x00007fe9cc68adad  Yes         /opt/trinity/lib/libtdeprint.so.14
0x00007fe9cc0a7600  0x00007fe9cc2c5be3  Yes         /opt/trinity/lib/libtdeio.so.14
0x00007fe9cbb20900  0x00007fe9cbc802dd  Yes         /opt/trinity/lib/libtdeui.so.14
0x00007fe9cb6e9720  0x00007fe9cb75a142  Yes (*)     /usr/lib/x86_64-linux-gnu/libfreetype.so.6
0x00007fe9cb4a5ca0  0x00007fe9cb4c381d  Yes (*)     /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
0x00007fe9cb290770  0x00007fe9cb29a54f  Yes (*)     /usr/lib/x86_64-linux-gnu/libXext.so.6
0x00007fe9cb072e50  0x00007fe9cb086fec  Yes         /opt/trinity/lib/libtdesu.so.14
0x00007fe9cae5c550  0x00007fe9cae67fe5  Yes         /opt/trinity/lib/libtdewalletclient.so.1
0x00007fe9cac4ecc0  0x00007fe9cac53d72  Yes (*)     /usr/lib/libr.so.0
0x00007fe9caa44f80  0x00007fe9caa48f61  Yes (*)     /lib/x86_64-linux-gnu/libacl.so.1
0x00007fe9ca7d2680  0x00007fe9ca81b331  Yes         /opt/trinity/lib/libkjs.so.1
0x00007fe9ca2950e0  0x00007fe9ca4cdc35  Yes         /opt/trinity/lib/libtdecore.so.14
0x00007fe9c9f7fca0  0x00007fe9c9fa051c  Yes         /opt/trinity/lib/libDCOP.so.14
0x00007fe9c9d511a0  0x00007fe9c9d6c2ba  Yes         /opt/trinity/lib/libtdefx.so.14
0x00007fe9c9b40ab0  0x00007fe9c9b40bfb  Yes (*)     /usr/lib/libtqt.so.4
0x00007fe9c93a6790  0x00007fe9c972a735  Yes         /usr/lib/libtqt-mt.so.3
0x00007fe9c8f7eb70  0x00007fe9c8f84a45  Yes (*)     /usr/lib/x86_64-linux-gnu/libXrender.so.1
0x00007fe9c8c57f90  0x00007fe9c8ce05fc  Yes (*)     /usr/lib/x86_64-linux-gnu/libX11.so.6
0x00007fe9c8a21220  0x00007fe9c8a32469  Yes (*)     /lib/x86_64-linux-gnu/libz.so.1
0x00007fe9c87edfe0  0x00007fe9c87f24d6  Yes (*)     /usr/lib/x86_64-linux-gnu/libidn.so.11
0x00007fe9c85e8d40  0x00007fe9c85e9718  Yes (*)     /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
0x00007fe9c83cff80  0x00007fe9c83dda5a  Yes (*)     /usr/lib/x86_64-linux-gnu/libICE.so.6
0x00007fe9c81c4c20  0x00007fe9c81c8e57  Yes (*)     /usr/lib/x86_64-linux-gnu/libSM.so.6
0x00007fe9c7fc0f10  0x00007fe9c7fc1745  Yes         /lib/x86_64-linux-gnu/libutil.so.1
0x00007fe9c7d53710  0x00007fe9c7da20c5  Yes (*)     /lib/x86_64-linux-gnu/libpcre.so.3
0x00007fe9c7b1cc30  0x00007fe9c7b48c34  Yes (*)     /usr/lib/x86_64-linux-gnu/libjpeg.so.8
0x00007fe9c78688b0  0x00007fe9c78d0b1f  Yes (*)     /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0x00007fe9c7511580  0x00007fe9c757cd96  Yes         /lib/x86_64-linux-gnu/libm.so.6
0x00007fe9c71824a0  0x00007fe9c72ac6a3  Yes         /lib/x86_64-linux-gnu/libc.so.6
0x00007fe9c6f4fab0  0x00007fe9c6f5f9a5  Yes         /lib/x86_64-linux-gnu/libgcc_s.so.1
0x00007fe9c6cf9c90  0x00007fe9c6d325b0  Yes (*)     /usr/lib/x86_64-linux-gnu/libjpeg.so.62
0x00007fe9c6ad92b0  0x00007fe9c6aece5f  Yes (*)     /usr/lib/x86_64-linux-gnu/libmagic.so.1
0x00007fe9c68d2ed0  0x00007fe9c68d397e  Yes         /lib/x86_64-linux-gnu/libdl.so.2
0x00007fe9c66af800  0x00007fe9c66c8eb3  Yes (*)     /lib/x86_64-linux-gnu/libpng12.so.0
0x00007fe9c6485b90  0x00007fe9c649dfb9  Yes (*)     /lib/x86_64-linux-gnu/libexpat.so.1
0x00007fe9c626a9f0  0x00007fe9c6276731  Yes         /lib/x86_64-linux-gnu/libpthread.so.0
0x00007fe9c5f6ef20  0x00007fe9c6012392  Yes (*)     /usr/lib/libbfd-2.25-system.so
0x00007fe9c5d2b3d0  0x00007fe9c5d2d4aa  Yes (*)     /lib/x86_64-linux-gnu/libattr.so.1
0x00007fe9c5b1e510  0x00007fe9c5b25aa6  Yes (*)     /lib/x86_64-linux-gnu/libudev.so.1
0x00007fe9c58e3340  0x00007fe9c590b612  Yes (*)     /usr/lib/libdbus-1-tqt.so.0
0x00007fe9c56b8030  0x00007fe9c56c9fd2  Yes (*)     /usr/lib/libart_lgpl_2.so.2
0x00007fe9c54b1620  0x00007fe9c54b2ce7  Yes (*)     /lib/x86_64-linux-gnu/libuuid.so.1
0x00007fe9c529bdc0  0x00007fe9c52a9da8  Yes (*)     /usr/lib/x86_64-linux-gnu/libaudio.so.2
0x00007fe9c50401b0  0x00007fe9c507bf79  Yes (*)     /usr/lib/x86_64-linux-gnu/libXt.so.6
0x00007fe9c4d38580  0x00007fe9c4daf13a  Yes (*)     /lib/x86_64-linux-gnu/libglib-2.0.so.0
0x00007fe9c4b1c6d0  0x00007fe9c4b1c84a  Yes (*)     /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0
0x00007fe9c490e230  0x00007fe9c4918877  Yes (*)     /usr/lib/x86_64-linux-gnu/libXi.so.6
0x00007fe9c4703c00  0x00007fe9c47095a9  Yes (*)     /usr/lib/x86_64-linux-gnu/libXrandr.so.2
0x00007fe9c44f9ab0  0x00007fe9c44fe5b7  Yes (*)     /usr/lib/x86_64-linux-gnu/libXcursor.so.1
0x00007fe9c42f4bb0  0x00007fe9c42f5524  Yes (*)     /usr/lib/x86_64-linux-gnu/libXinerama.so.1
0x00007fe9c40e21e0  0x00007fe9c40eecaf  Yes (*)     /usr/lib/x86_64-linux-gnu/libXft.so.2
0x00007fe9c3ec5ce0  0x00007fe9c3ed44c5  Yes (*)     /usr/lib/x86_64-linux-gnu/libxcb.so.1
0x00007fe9cf076ae0  0x00007fe9cf08f170  Yes         /lib64/ld-linux-x86-64.so.2
0x00007fe9c3cb6350  0x00007fe9c3cb906c  Yes         /lib/x86_64-linux-gnu/librt.so.1
0x00007fe9c3a73920  0x00007fe9c3a9e304  Yes (*)     /lib/x86_64-linux-gnu/libdbus-1.so.3
0x00007fe9c3869010  0x00007fe9c3869c8c  Yes (*)     /usr/lib/x86_64-linux-gnu/libXau.so.6
0x00007fe9c36635f0  0x00007fe9c3665926  Yes (*)     /usr/lib/x86_64-linux-gnu/libXfixes.so.3
0x00007fe9c345e2e0  0x00007fe9c345fbe6  Yes (*)     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
0x00007fe9c2a05fe0  0x00007fe9c2a13e45  Yes         /opt/trinity/lib/trinity/plugins/styles/light.so
0x00007fe9c27fe260  0x00007fe9c27feea5  Yes         /usr/lib/tqt3/plugins/imageformats/libqmng.so
0x00007fe9c25344a0  0x00007fe9c259b85f  Yes (*)     /usr/lib/x86_64-linux-gnu/libmng.so.1
0x00007fe9c22cf110  0x00007fe9c2302369  Yes (*)     /usr/lib/x86_64-linux-gnu/liblcms2.so.2
0x00007fe9c20bb3b0  0x00007fe9c20bfb4e  Yes         /lib/x86_64-linux-gnu/libnss_compat.so.2
0x00007fe9c1ea6160  0x00007fe9c1eb1693  Yes         /lib/x86_64-linux-gnu/libnsl.so.1
0x00007fe9c1c991a0  0x00007fe9c1c9f1bc  Yes         /lib/x86_64-linux-gnu/libnss_nis.so.2
0x00007fe9c1a8d2a0  0x00007fe9c1a93803  Yes         /lib/x86_64-linux-gnu/libnss_files.so.2
0x00007fe9c1642e70  0x00007fe9c1649b45  Yes         /opt/trinity/lib/trinity/libkdevappview.so
0x00007fe9c142f590  0x00007fe9c1430789  Yes         /opt/trinity/lib/trinity/libkdevfullscreen.so
0x00007fe9c1227890  0x00007fe9c1228d19  Yes         /opt/trinity/lib/trinity/libkdevtipofday.so
0x00007fe9c10179f0  0x00007fe9c101cf9b  Yes         /opt/trinity/lib/trinity/libkdevdiff.so
0x00007fe9c0ded6b0  0x00007fe9c0dfb745  Yes         /opt/trinity/lib/trinity/libkdevmakeview.so
0x00007fe9c0bcf520  0x00007fe9c0bd2155  Yes         /opt/trinity/lib/trinity/libkdevuichooser.so
0x00007fe9c09bf7d0  0x00007fe9c09c2372  Yes         /opt/trinity/lib/trinity/libkdevvcsmanager.so
0x00007fe9c0795f10  0x00007fe9c07a9145  Yes         /opt/trinity/lib/trinity/libkdevfilecreate.so
0x00007fe9c0572b10  0x00007fe9c0575de6  Yes         /opt/trinity/lib/trinity/libkdeveditorchooser.so
0x00007fe9c0339600  0x00007fe9c035876f  Yes         /opt/trinity/lib/trinity/libkdevappwizard.so
0x00007fe9c0112b80  0x00007fe9c0116c9d  Yes         /opt/trinity/lib/trinity/libkdevfilter.so
0x00007fe9bfef3730  0x00007fe9bfeff635  Yes         /opt/trinity/lib/trinity/libkdevabbrev.so
0x00007fe9bfcdba70  0x00007fe9bfcde455  Yes         /opt/trinity/lib/trinity/libkdevscripting.so
0x00007fe9bfabced0  0x00007fe9bfac8705  Yes         /opt/trinity/lib/trinity/libkdevtools.so
0x00007fe9bf86ad70  0x00007fe9bf889175  Yes         /opt/trinity/lib/trinity/libkdevdocumentation.so
0x00007fe9bf624800  0x00007fe9bf62d1ae  Yes         /opt/trinity/lib/libdocumentation_interfaces.so.0
0x00007fe9bf406890  0x00007fe9bf40ed95  Yes         /opt/trinity/lib/trinity/libkdevgrepview.so
0x00007fe9bf1ee8c0  0x00007fe9bf1f11a1  Yes         /usr/lib/tqt3/plugins/inputmethods/libqimsw-multi.so
0x00007fe9befe8e40  0x00007fe9befe9ac7  Yes         /usr/lib/tqt3/plugins/inputmethods/libqimsw-none.so
0x00007fe9bedc49a0  0x00007fe9bedc6317  Yes         /usr/lib/tqt3/plugins/inputmethods/libqsimple.so
0x00007fe9bebbbc40  0x00007fe9bebbf27d  Yes         /usr/lib/tqt3/plugins/inputmethods/libqxim.so
0x00007fe9be9ad050  0x00007fe9be9b2bff  Yes         /opt/trinity/lib/trinity/libkdevtexttools.so
0x00007fe9be78a370  0x00007fe9be797679  Yes         /opt/trinity/lib/trinity/libkdevsnippet.so
0x00007fe9be5630f0  0x00007fe9be56bedb  Yes         /opt/trinity/lib/trinity/libkdevreplace.so
0x00007fe9be2e0ca0  0x00007fe9be2edf95  Yes         /opt/trinity/lib/trinity/libkdevfilelist.so
0x00007fe9be0b07d0  0x00007fe9be0bd916  Yes         /opt/trinity/lib/trinity/libkdevfileselector.so
0x00007fe9bde94850  0x00007fe9bde96de9  Yes         /opt/trinity/lib/trinity/libkdevopenwith.so
0x00007fe9bdc8ba60  0x00007fe9bdc8d13b  Yes         /opt/trinity/lib/trinity/libkdevkonsoleview.so
0x00007fe9bda281e0  0x00007fe9bda66920  Yes (*)     /opt/trinity/lib/trinity/libkonsolepart.so
0x00007fe9bd7fe620  0x00007fe9bd802dca  Yes         /opt/trinity/lib/trinity/libdocqtplugin.so
0x00007fe9bd5f2150  0x00007fe9bd5f4819  Yes         /opt/trinity/lib/trinity/libdocchmplugin.so
0x00007fe9bd3dea80  0x00007fe9bd3e8039  Yes         /opt/trinity/lib/trinity/libdocdoxygenplugin.so
0x00007fe9bd1d0410  0x00007fe9bd1d3929  Yes         /opt/trinity/lib/trinity/libdockdevtocplugin.so
0x00007fe9bcfc0200  0x00007fe9bcfc5489  Yes         /opt/trinity/lib/trinity/libdocdevhelpplugin.so
0x00007fe9bcdb4860  0x00007fe9bcdb5b1a  Yes         /opt/trinity/lib/trinity/libdoccustomplugin.so
0x00007fe9bb77fb10  0x00007fe9bb7a422d  Yes         /opt/trinity/lib/trinity/libkdevphpsupport.so
0x00007fe9bb54fb40  0x00007fe9bb5570e5  Yes         /opt/trinity/lib/trinity/libkdevscriptproject.so
0x00007fe9bb2f6200  0x00007fe9bb2f64a5  Yes         /opt/trinity/lib/libkdevbuildbase.so.0
0x00007fe9bb0eb910  0x00007fe9bb0f0165  Yes         /opt/trinity/lib/trinity/libkdevregexptest.so
0x00007fe9baec9280  0x00007fe9baed7583  Yes         /opt/trinity/lib/trinity/libkdevdistpart.so
0x00007fe9baca74e0  0x00007fe9bacb0569  Yes         /opt/trinity/lib/trinity/libkdevbookmarks.so
0x00007fe9baa54850  0x00007fe9baa802e5  Yes         /opt/trinity/lib/trinity/libkdevclassview.so
0x00007fe9ba812ea0  0x00007fe9ba8222d4  Yes         /opt/trinity/lib/trinity/libkdevquickopen.so
0x00007fe9ba5ed790  0x00007fe9ba5f616b  Yes         /opt/trinity/lib/trinity/libkdevfilegroups.so
0x00007fe9ba3bd500  0x00007fe9ba3ccd25  Yes         /opt/trinity/lib/trinity/libkdevctags2.so
0x00007fe9ba163fd0  0x00007fe9ba18385b  Yes         /opt/trinity/lib/trinity/libkdevdoxygen.so
0x00007fe9b9f36270  0x00007fe9b9f40ea0  Yes         /opt/trinity/lib/trinity/libkdevfileview.so
0x00007fe9b9bc08b0  0x00007fe9b9caadf6  Yes         /opt/trinity/lib/trinity/libkatepart.so
0x00007fe9b99464a0  0x00007fe9b994c29f  Yes         /opt/trinity/lib/libkatepartinterfaces.so.0
(*): Shared library is missing debugging information.

==== (tdemetainfo) application version information ====

==== (tdemetainfo) library version information ====
libkdevshell.so.0:	tdevelop:-9cf3238c5f8a7c9d1323a2e2e608a03988d7ac44
libtdehtml.so.14:	tdelibs:-145948b3a04e954c7402849fce74bb31f041afd6
libtdeprint.so.14:	tdelibs:-145948b3a04e954c7402849fce74bb31f041afd6
libtdeio.so.14:	tdelibs:-145948b3a04e954c7402849fce74bb31f041afd6
libtdeui.so.14:	tdelibs:-145948b3a04e954c7402849fce74bb31f041afd6
libtdecore.so.14:	tdelibs:-145948b3a04e954c7402849fce74bb31f041afd6
libDCOP.so.14:	tdelibs:-145948b3a04e954c7402849fce74bb31f041afd6
libkonsolepart.so:	tdebase:-6102cf0ffe3102a8686e1132e7a545a357dbeabc

==== (tdehwlib) hardware information ====
CPU core number:		0
	Vendor:			GenuineIntel
	Model:			
	Name:			Intel(R) Core(TM) i5-4310U CPU @ 2.00GHz
	Current Frequency:	2600 MHz
	Minimum Frequency:	800 MHz
	Maximum Frequency:	3000 MHz

CPU core number:		1
	Vendor:			GenuineIntel
	Model:			
	Name:			Intel(R) Core(TM) i5-4310U CPU @ 2.00GHz
	Current Frequency:	2607.92 MHz
	Minimum Frequency:	800 MHz
	Maximum Frequency:	3000 MHz

CPU core number:		2
	Vendor:			GenuineIntel
	Model:			
	Name:			Intel(R) Core(TM) i5-4310U CPU @ 2.00GHz
	Current Frequency:	2600 MHz
	Minimum Frequency:	800 MHz
	Maximum Frequency:	3000 MHz

CPU core number:		3
	Vendor:			GenuineIntel
	Model:			
	Name:			Intel(R) Core(TM) i5-4310U CPU @ 2.00GHz
	Current Frequency:	2617.16 MHz
	Minimum Frequency:	800 MHz
	Maximum Frequency:	3000 MHz
Comment 2 deloptes 2015-07-12 07:18:19 CDT
With the original version of the code

valgrind tdevelop
==20802== Memcheck, a memory error detector
==20802== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==20802== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==20802== Command: tdevelop
==20802==
==20907== Warning: invalid file descriptor 4086 in syscall close()
==20907== Warning: invalid file descriptor 4087 in syscall close()
==20907== Warning: invalid file descriptor 4088 in syscall close()
==20907== Warning: invalid file descriptor 4089 in syscall close()
==20907==    Use --log-fd=<number> to select an alternative log fd.
==20907== Warning: invalid file descriptor 4090 in syscall close()
==20907== Warning: invalid file descriptor 4091 in syscall close()
/etc/magic, 4: Warning: using regular magic file `/etc/trinity/magic/tdeio.magic'
/etc/magic, 4: Warning: using regular magic file `/etc/trinity/magic/tdeio.magic'
/etc/trinity/magic/tdeio.magic, 17: Warning: using regular magic file `/etc/trinity/magic/kolf.magic'
/etc/magic, 4: Warning: using regular magic file `/etc/trinity/magic/tdeio.magic'
/etc/trinity/magic/tdeio.magic, 17: Warning: using regular magic file `/etc/trinity/magic/kolf.magic'
/etc/trinity/magic/kolf.magic, 3: Warning: using regular magic file `/etc/trinity/magic/drgeo.magic'
/etc/magic, 4: Warning: using regular magic file `/etc/trinity/magic/tdeio.magic'
/etc/trinity/magic/tdeio.magic, 17: Warning: using regular magic file `/etc/trinity/magic/kolf.magic'
/etc/trinity/magic/kolf.magic, 3: Warning: using regular magic file `/etc/trinity/magic/drgeo.magic'
/etc/trinity/magic/drgeo.magic, 2: Warning: using regular magic file `/etc/trinity/magic/cabri.magic'
TQObject::connect: No such signal PHPSupportPart::fileParsed(PHPFile*)
TQObject::connect:  (sender name:   'PHPSupportPart')
TQObject::connect:  (receiver name: 'PHPSupportPart')
tdeio (TDETrader): WARNING: Parsing ' and [X-TDevelop-Version] == 5' gave syntax error
==20802== Conditional jump or move depends on uninitialised value(s)
==20802==    at 0x183BE2CC: DocumentationPart::projectOpened() (documentation_part.cpp:577)
==20802==    by 0x183C2E97: DocumentationPart::tqt_invoke(int, TQUObject*) (documentation_part.moc:213)
==20802==    by 0xA642328: TQObject::activate_signal(TQConnectionList*, TQUObject*) (qobject.cpp:2872)
==20802==    by 0xA6427AB: TQObject::activate_signal(int) (qobject.cpp:2746)
==20802==    by 0x4E9DEEB: doEmitProjectOpened (core.h:48)
==20802==    by 0x4E9DEEB: ProjectManager::slotLoadProject() (projectmanager.cpp:301)
==20802==    by 0x4E9EC1F: ProjectManager::tqt_invoke(int, TQUObject*) (projectmanager.moc:128)
==20802==    by 0xA6424A2: TQObject::activate_signal(TQConnectionList*, TQUObject*) (qobject.cpp:2805)
==20802==    by 0xA8E5D7D: TQSignal::signal(TQVariant const&) (moc_ntqsignal.cpp:110)
==20802==    by 0xA655A4F: TQSignal::activate() (qsignal.cpp:215)
==20802==    by 0xA6603AF: TQSingleShotTimer::event(TQEvent*) (qtimer.cpp:289)
==20802==    by 0xA5EFAEE: TQApplication::internalNotify(TQObject*, TQEvent*) (qapplication.cpp:2883)
==20802==    by 0xA5EFFA7: TQApplication::notify(TQObject*, TQEvent*) (qapplication.cpp:2726)
==20802==
==20802== Conditional jump or move depends on uninitialised value(s)
==20802==    at 0x183BE2AA: DocumentationPart::projectOpened() (documentation_part.cpp:580)
==20802==    by 0x183C2E97: DocumentationPart::tqt_invoke(int, TQUObject*) (documentation_part.moc:213)
==20802==    by 0xA642328: TQObject::activate_signal(TQConnectionList*, TQUObject*) (qobject.cpp:2872)
==20802==    by 0xA6427AB: TQObject::activate_signal(int) (qobject.cpp:2746)
==20802==    by 0x4E9DEEB: doEmitProjectOpened (core.h:48)
==20802==    by 0x4E9DEEB: ProjectManager::slotLoadProject() (projectmanager.cpp:301)
==20802==    by 0x4E9EC1F: ProjectManager::tqt_invoke(int, TQUObject*) (projectmanager.moc:128)
==20802==    by 0xA6424A2: TQObject::activate_signal(TQConnectionList*, TQUObject*) (qobject.cpp:2805)
==20802==    by 0xA8E5D7D: TQSignal::signal(TQVariant const&) (moc_ntqsignal.cpp:110)
==20802==    by 0xA655A4F: TQSignal::activate() (qsignal.cpp:215)
==20802==    by 0xA6603AF: TQSingleShotTimer::event(TQEvent*) (qtimer.cpp:289)
==20802==    by 0xA5EFAEE: TQApplication::internalNotify(TQObject*, TQEvent*) (qapplication.cpp:2883)
==20802==    by 0xA5EFFA7: TQApplication::notify(TQObject*, TQEvent*) (qapplication.cpp:2726)
==20802==
TQObject::connect: No such signal PHPSupportPart::splitOrientationChanged(TQt::Orientation)
TQObject::connect:  (sender name:   'PHPSupportPart')
TQObject::connect:  (receiver name: 'MultiBuffer')
ASSERT: "part && parent" in /opt/software/KDE/tdevelop/parts/fileview/partwidget.cpp (41)
tdeio (TDETrader): WARNING: Parsing ' and [X-TDevelop-Version] == 5' gave syntax error
tdeio (TDETrader): WARNING: Parsing ' and [X-TDevelop-Version] == 5' gave syntax error
==20802== Stack overflow in thread 1: can't grow stack to 0xffe801f48
==20802== Can't extend stack to 0xffe800ff8 during signal delivery for thread 1:
==20802==   no stack segment
==20802==
==20802== Process terminating with default action of signal 11 (SIGSEGV)
==20802==  Access not within mapped region at address 0xFFE800FF8
==20802==    at 0x1D088B1F: PHPSupportPart::customEvent(TQCustomEvent*) (phpsupportpart.cpp:573)
==20802==  If you believe this happened as a result of a stack
==20802==  overflow in your program's main thread (unlikely but
==20802==  possible), you can try to increase the size of the
==20802==  main thread stack using the --main-stacksize= flag.
==20802==  The main thread stack size used in this run was 8388608.
==20802==
==20802== HEAP SUMMARY:
==20802==     in use at exit: 38,150,724 bytes in 654,118 blocks
==20802==   total heap usage: 21,210,673 allocs, 20,556,555 frees, 1,177,232,802 bytes allocated
==20802==
==20802== LEAK SUMMARY:
==20802==    definitely lost: 25,624 bytes in 109 blocks
==20802==    indirectly lost: 51,866 bytes in 1,472 blocks
==20802==      possibly lost: 203,440 bytes in 5,931 blocks
==20802==    still reachable: 37,869,794 bytes in 646,606 blocks
==20802==         suppressed: 0 bytes in 0 blocks
==20802== Rerun with --leak-check=full to see details of leaked memory
==20802==
==20802== For counts of detected and suppressed errors, rerun with: -v
==20802== Use --track-origins=yes to see where uninitialised values come from
==20802== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 82 from 3)
Killed
Comment 3 deloptes 2015-07-28 16:39:45 CDT
Root cause identified.

If in project options you enable to not use the internal interpreter but external web server and the web server is not available it crashes as show above.

A solution would be to throw - catch exception and notify the user for a problem.

in phpsupportpart - m_htmlView/m_phpErrorView
Comment 4 deloptes 2016-04-19 17:53:12 CDT
Created attachment 2648 [details]
patch proposal

I think I tracked the problem in the php language part.

regards
Comment 5 deloptes 2016-04-19 18:12:49 CDT
with this patch it failes less often, but still failing - still no idea why
Comment 6 deloptes 2016-04-20 03:53:12 CDT
The problem is not visible all the time and I do not know how to track it.
When you switch from php to c/c++ (means open a c/c++ or php project and than change back to the other type of project (again use open project or recent project)) it fails at different stage of execution. Sometimes you see something like I posted below, sometimes completely different. Each consequent opening of php project leads to tdevelop crash.
Open project - edit a file and press CTRL+s and it crashes. I now recompiled the deb packages with this patch and it let me save the changes.
However I tried switch from php to c++ and back to php and it started crashing again.
I then managed to close the project, quit tdevelop, open tdevelop, open php project, close tdevelop, open tdevelop and it works. I'm not sure where I ssould look at.
If you have any ideas please let me know.
Comment 7 deloptes 2016-04-20 16:21:54 CDT
Created attachment 2649 [details]
run with valgrind

I read a bit about malloc and malloc_consolidate. suggestions are to run via valgrind, so I append the output.
However this is too much for me. I've experienced something similar with double linking, but it could be anything corrupting the memory.
Comment 8 deloptes 2016-07-28 14:37:53 CDT
Going through the bug list I think this is similar

http://bugs.pearsoncomputing.net/show_bug.cgi?id=2573
Comment 9 deloptes 2016-10-10 16:50:11 CDT
Created attachment 2725 [details]
disable TQTimer::singleShot( 0, this, TQT_SLOT( slotParseFiles() ) );

This patch would disable TQTimer::singleShot( 0, this, TQT_SLOT( slotParseFiles() ) );
which turned to be the base of my problems. Now it is true that the file does not get parsed in the background, but I do not see the memalloc errors from before.

This is not a fix, but intended to help anyone facing the issue in tdevelop and php file
Comment 10 Michele Calgaro 2021-05-16 01:47:37 CDT
Hi Emanoil,
what is the status of this bug report? Still valid?
If so, could you provide the steps to reproduce it so we can take a look?
Comment 11 deloptes 2021-05-19 01:38:25 CDT
Hi Michele,

let us close it for now. I was not using developer in past few years and moved to eclipse. I may try in the future, but at the moment I do not have PHP projects and time to test this.

It could be the problem is solved, if not I'll open a new issue in TGW
Comment 12 Michele Calgaro 2021-05-19 02:26:32 CDT
Ok, sounds reasonable to me. Thanks for the feedback. Closing as discussed.