Bug 79803

Summary: Saving a file when using the structure view causes SIGSEGV crash.
Product: quanta Reporter: Stuart Edge <stuart.edge>
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 3.2.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Stuart Edge 2004-04-17 10:51:04 UTC
Version:           3.2.2 (using KDE 3.2.1, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
OS:          Linux (i686) release 2.6.3-4mdk-i686-up-4GB

If I have the STRUCTURE VIEW selected and then save a file or change to another file using the file tab, Quanta crashes. A SIGSEGV is reported and the backtrace is reported as being "of no use".

I tried deleting the quantarc file but it still crashes every time. The structure view is very useful and but it causes a lot of crashes.

Thanks for you help - quanta is excellent!
Comment 1 Stuart Edge 2004-04-17 10:56:14 UTC
I am currently using Bitorrent to download a new, official version of Mandrake 10.0
This will take a least 2 days to download.
I will let you know if the problem persists on the latest version.
Comment 2 András Manţia 2004-04-18 10:54:05 UTC
As it was expected, I cannot reproduce the crash. If with the new MDK10 
version it still crashes, you might try to download the source tarball 
from the KDE servers (3.2.2 should appear soon there) and compile it 
yourself. 

Comment 3 Stuart Edge 2004-04-20 01:47:06 UTC
I have just install Mandrake 10 powerpack and the Quanta crash problem persists.

The web pages that crash Quanta have quite a few nested tables and some script.
You may be able to reproduce the problem if you try opening some pages from our web site http://www.olcs.com.au

I find it is often quite difficult to reproduce problems back at the lab!
Good luck!
Comment 4 Stuart Edge 2004-04-21 04:21:15 UTC
Mandrake Powerpack 10 comes with Quanta 3.2.1 so I updated to Quanta 3.2.2 but it still crashes when I load our web pages.
Comment 5 Thomas Lauria 2004-05-03 00:53:28 UTC
I can reproduce the same Crash with quanta 3.2.2.
the STRUCTURE VIEW has to be in PHP mode, and quanta crashes when saving.

KDE produced a complete backtrace, because I don't know if such a backtrace is helpfull, I didn't post it yet.

Thank You,
Quanta is powerfull and excellent - I like it.
Comment 6 András Manţia 2004-05-07 21:02:40 UTC
CVS commit by amantia: 

Whew, now this patch should make Quanta much more stable...
Reportes, please check if possible and give me some feedback.
I will port the fixes to CVS HEAD (kdewebdev) soon.

CCMAIL: 79803-done@bugs.kde.org
CCMAIL: 81069@bugs.kde.org
CCMAIL: 81107@bugs.kde.org


  M +4 -4      document.cpp   1.240.2.16
  M +5 -5      quanta.cpp   1.414.2.27
  M +6 -6      quantacommon.cpp   1.73.2.4
  M +4 -4      quantaview_slots.cpp   1.159.2.9
  M +15 -5     parser/node.cpp   1.39.2.6
  M +2 -1      parser/node.h   1.32.2.4
  M +8 -8      parser/parser.cpp   1.159.2.16
  M +7 -7      parser/parsercommon.cpp   1.1.2.5
  M +15 -17    parser/saparser.cpp   1.1.2.10
  M +27 -17    parser/tag.cpp   1.52.2.6
  M +3 -1      parser/tag.h   1.38.2.4
  M +13 -13    parts/kafka/kafkacommon.cpp   1.26.2.3
  M +3 -3      parts/kafka/wkafkapart.cpp   1.49.2.4
  M +11 -11    tagdialogs/tableeditor.ui.h   1.34.2.7
  M +10 -8     treeviews/structtreetag.cpp   1.34.2.4
  M +10 -10    treeviews/structtreeview.cpp   1.86.2.6
  M +5 -5      treeviews/tagattributeitems.cpp   1.15.2.3
  M +4 -4      treeviews/tagattributetree.cpp   1.34.2.6