• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5814: Many , tags cause 'save' to spin

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Waiting for Feedback TWiki:Main.JimNissen n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

I have installed Twiki 4.2, and love the new WYSIWYG editor. I have on particular twiki topic that I was consistently editing, and it has a large table in it. At some point, when I was editing this topic, the WYSIWYG "Save" button would never return (appeared to hang). From the Solaris process table, I would see the twiki 'save' process eating up a whole CPU. It would never finish. I ran Solaris dtrace against it (15 seconds), to get 'save' call stacks, and saw...

           ...
         libc_psr.so.1`memcpy+0x1c
              libperl.so.1`Perl_pp_uc+0x2a8
              libperl.so.1`Perl_runops_standard+0x3c
              libperl.so.1`S_run_body+0x22c
              libperl.so.1`perl_run+0x338
              perl`main+0x94
              perl`_start+0x108
               37

              libperl.so.1`Perl_runops_standard+0x3c
              libperl.so.1`S_run_body+0x22c
              libperl.so.1`perl_run+0x338
              perl`main+0x94
              perl`_start+0x108
               74

              libperl.so.1`Perl_runops_standard+0x38
              libperl.so.1`S_run_body+0x22c
              libperl.so.1`perl_run+0x338
              perl`main+0x94
              perl`_start+0x108
              167

I was beating my head against the wall, trying to figure out what was causing it. I created another topic, as a copy of it, and starting raw editing it, trying to figure out what portion of the topic text was causing 'save' to go wacky. The last portion of the topic contained the following text, which looked odd...

  ...
top 32 bits is major device number

><cite><cite>...manymanymorecites 2dec 0b00100110<br /> 38</cite>manymanymorecites</cite>
><cite><cite>...manymanymorecites 2dec 0b100000<br /> 32</cite>manymanymorecites</cite>
Hmmm, where did all the <cite></cite> tags come from? I didn't put them there. After I removed them, 'save' worked fine. Even saving the original verbatim code, above, cause twiki.org's WYSIWYG Editor to hang, upon submitting this bug. Had to remove them, replacing with "manymanymorecites".

-- TWiki:Main/JimNissen - 25 Jul 2008

If you can reproduce this, then open the HTML viewer in TinyMCE before you save the topic. Are the cite tags there? Also, what additional plugins (beside the usual) do you have installed?

-- TWiki:Main.CrawfordCurrie - 25 Jul 2008

I have reproduced the problem, and yes the cite tags are there, as well. I don't have any additional plugins, from what comes installed with 4.2.

-- TWiki:Main.JimNissen - 06 Aug 2008

ItemTemplate
Summary Many , tags cause 'save' to spin
ReportedBy TWiki:Main.JimNissen
Codebase 4.2.0
SVN Range TWiki-5.0.0, Wed, 23 Jul 2008, build 17117
AppliesTo Engine
Priority Normal
CurrentState Waiting for Feedback
WaitingFor TWiki:Main.JimNissen
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-08-06 - JimNissen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback