Quanta crashes when editing DTD CFML

Bug #185188 reported by JacobSteelsmith
4
Affects Status Importance Assigned to Milestone
kdewebdev-kde3 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: kdewebdev

I am having a problem editing a file that uses the CFML DTD in kubuntu 7.10 Gutsy. If I have the DTD set to XHTML, it does not crash. Highlighting makes no difference. The specific piece of code I am editing is this:

<cfif NOT ISDEFINED('base_template')>
 <cflocation url="index.cfm" addtoken="no">
</cfif>

<cfscript>
 if (ISDEFINED('')) {

 }
</cfscript>

It crashes mostly when removing or adding the parentheses next to ISDEFINED, but did so when editing other parts of this code.

The backtrace is here (before I started getting a corrupted stack error):

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1242580208 (LWP 17149)]
[KCrash handler]
#6 0x08183ef7 in Parser::deleteNodes (this=0x84ec418, firstNode=0x8c8e168,
    lastNode=0x0, modifs=0x85081a8)
    at /build/buildd/kdewebdev-3.5.8/./quanta/parsers/parser.cpp:826
#7 0x08192849 in Parser::rebuild (this=0x84ec418, w=0x89cf458)
    at /build/buildd/kdewebdev-3.5.8/./quanta/parsers/parser.cpp:1026
#8 0x080f8423 in Document::slotDelayedTextChanged (this=0x89cf458,
    forced=false)
    at /build/buildd/kdewebdev-3.5.8/./quanta/src/document.cpp:2418
#9 0x080ff462 in Document::qt_invoke (this=0x89cf458, _id=51, _o=0xbfa7da58)
    at ./document.moc:249
#10 0xb6eee893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0xb727a8ec in QSignal::signal () from /usr/lib/libqt-mt.so.3
#12 0xb6f0e842 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#13 0xb6f16258 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#14 0xb6e85af0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#15 0xb6e8791f in QApplication::notify () from /usr/lib/libqt-mt.so.3
#16 0xb764bca2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#17 0xb6e18209 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#18 0xb6e7853b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#19 0xb6e2cd49 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#20 0xb6ea01ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#21 0xb6e9ffde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#22 0xb6e87699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#23 0x080f7bc6 in main (argc=1, argv=0xbfa7e224)
    at /build/buildd/kdewebdev-3.5.8/./quanta/src/main.cpp:216
#24 0xb6018050 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#25 0x0808f471 in _start ()

Sorry if this is a dup but the backtrace looked different from the other editor crashing while modifying bugs.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in kdewebdev:
status: New → Incomplete
Revision history for this message
JacobSteelsmith (jacobsteelsmith) wrote :

Sorry for the delay in the response. I just upgraded to 8.10. Yes, it is reproducible.

Steps:

1). Make a new document.
2). Change the dtd to CFM manually.
3). Change the highlighting to ColdFusion.
4). Copy the code in the original report.
5). It crashed on me as soon as I deleted, then re-added the open parentheses.

Revision history for this message
JacobSteelsmith (jacobsteelsmith) wrote :

Changing status back because bug still exists.

Changed in kdewebdev:
status: Incomplete → New
Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in kdewebdev (Ubuntu):
status: New → Incomplete
affects: kdewebdev (Ubuntu) → kdewebdev-kde3 (Ubuntu)
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as requested in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the "Status" column, and change the status back to "New". Thanks again!

Changed in kdewebdev-kde3 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
JacobSteelsmith (jacobsteelsmith) wrote :

Yes, this bug still exists.

1). Create a new file.
2). save as test.cfm or whatever.cfm
3). copy the code referenced above
4). save
5). edit the parentheses near the ISDEFINED within the cfscript tag
6). observe crash

I just reproduced this with kubuntu 9.10/kde 4.

Changed in kdewebdev-kde3 (Ubuntu):
status: Invalid → New
Revision history for this message
JacobSteelsmith (jacobsteelsmith) wrote :

Also, make sure the dtd is set to cfml.

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Is this bug still an issue for you? Which Ubuntu version do you use? Thank you for telling us!

Changed in kdewebdev-kde3 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kdewebdev-kde3 (Ubuntu) because there has been no activity for 60 days.]

Changed in kdewebdev-kde3 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.