#10 open
Nick

Loading "http://www.yahoo.com" causes syntax highlighting machine to spin

Reported by Nick | December 23rd, 2010 @ 11:51 PM

What I did:
Entered 'http://www.yahoo.com' and hit enter.

What I expected to happen:
The editor to not crash.

What actually happened:
The editor crashed after the HTML was loaded. I can reproduce it reliably.

Comments and changes to this ticket

  • rsms

    rsms December 23rd, 2010 @ 11:53 PM

    • State changed from “new” to “open”
    • Assigned user set to “rsms”

    I'm unable to reproduce. However, there seem to be some kind of bug with the syntax parser which causes the syntax highlighter to spin.

  • rsms

    rsms December 23rd, 2010 @ 11:54 PM

    • Tag set to syntaxhighlight
  • rsms

    rsms December 23rd, 2010 @ 11:54 PM

    • Title changed from “Loading from remote location caused crash” to “Loading "http://www.yahoo.com" causes syntax highlighting machine to spin”
  • rsms

    rsms December 26th, 2010 @ 07:07 PM

    • Tag changed from syntaxhighlight to @high, syntaxhighlight
  • ronin-130176 (at lighthouseapp)

    ronin-130176 (at lighthouseapp) December 31st, 2010 @ 05:28 PM

    • Tag changed from @high, syntaxhighlight to @high, bug, syntaxhighlight
  • Kerry

    Kerry January 2nd, 2011 @ 06:44 PM

    I'm guessing this is what I just hit - I was editing a local HTML document, and as I was typing, the highlighting got a bit...weird - blocks around the cursor had incorrect highlighting, and Kod SPODded (Kod Spod!). I think I had just typed an apostrophe, but I can't repro after trying again.

    Sample showed most of the time spent in a dispatch queue on the main thread:

                                22900 _dispatch_call_block_and_release
                                  22900 __-[KTabContents deferHighlightTextStorage:inRange:]_block_invoke_7
                                    22900 -[NSTextStorage endEditing]
                                      22900 -[NSTextStorage processEditing]
                                        22900 -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixAttributesInRange:]
                                          22900 -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixGlyphInfoAttributeInRange:]
                                            22900 -[NSConcreteTextStorage attribute:atIndex:longestEffectiveRange:inRange:]
                                              22900 -[NSConcreteMutableAttributedString attribute:atIndex:longestEffectiveRange:inRange:]
                                                13113 -[NSRLEArray objectAtRunIndex:length:]
                                                6814 -[NSConcreteMutableAttributedString attribute:atIndex:longestEffectiveRange:inRange:]
                                                2973 objc_msgSend_vtable8
    

    (full sample attached).

  • Nuckinfuts

    Nuckinfuts February 13th, 2011 @ 05:20 AM

    I can also reproduce this bug reliably

  • zuqoqollanna

    zuqoqollanna March 26th, 2018 @ 01:53 PM

    Most of the machines are more good programmable if they are sensitive to their nature. If you have any problem related to the crash then you can handle your problem from the assignment writing and get the task or the piece of code which can be helpful for you.

  • alicetaylor

    alicetaylor June 6th, 2018 @ 10:59 AM

    Your topic is very great and useful for us…thank you

    Run 3

  • Thu Trang

    Thu Trang June 22nd, 2018 @ 06:25 AM

    Today the weather is quite beautiful. I like this. It makes me comfortable and works better. But I tried my best and try to finish the contest with a fierce determination to live up to the expectations of people.
    outlook entrar

  • rosabellagm

    rosabellagm July 4th, 2018 @ 11:47 AM

    I hope you continue to have such quality articles to share with everyone! I believe a lot of people will be surprised to read this article geometry dash

  • Thom Smit

    Thom Smit July 5th, 2018 @ 11:51 AM

    Same happens to me. If anybody could help I would be grateful! Also I try to open this link and the same thing happens over and over again!!!

  • nata

    nata September 13th, 2018 @ 04:27 AM

    If there are many sad stories, share it with the people you trust. Sharing helps people get closer together and you also relieve some of that sadness.
    Run game

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket

Attachments

Pages