Resharper crash that takes down VS

Using build 227 and VS2005:

I went through a bunch of files in a single project applying quick fixes to
remove redundant qualifiers. This process was entirely mouse driven and
consisted of clicking on a file to bring it into the editor, clicking on the
yellow error bars, clicking on the lightbulb, and then clicking on the
"Remove redundant qualifier" quick-fix... and then immediately clicking on
the next yellow warning marker, etc. File by file.

I experienced a repeated crash after several fixes: Resharper would throw
an exception (I got the exception dialog and reported it ... something to do
with recreating the error marker and it already existing?). After
dismissing the dialog, Resharper would flash "More exceptions have occured,
you may continue working" in the status bar, and within seconds all of VS
would crash, thus losing the work in progress.

When remaking the changes, I saved after each file, but still experienced
the same problem two more times.

I did notice that sometimes after applying a quick-fix, the error bar would
go blank for a second or two and then redraw (it seemed an odd dely I never
noticed before). I don't know if that's relevant. There is a Tracker
stacktrace for this, but I was wondering if anyone else had experienced
this?

All the files were under VSS source control, so the first quick fix always
checked out the file. However, I don't recall any of the crashes happening
on the first quick fix... always on a subsequent one in the same file, and
always at the point of clicking in the error bar to move to the next
warning.


7 comments
Comment actions Permalink

Hello Paul,

haven't you noticed the IDs of submitted exceptions?

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Using build 227 and VS2005:

I went through a bunch of files in a single project applying quick
fixes to remove redundant qualifiers. This process was entirely mouse
driven and consisted of clicking on a file to bring it into the
editor, clicking on the yellow error bars, clicking on the lightbulb,
and then clicking on the "Remove redundant qualifier" quick-fix... and
then immediately clicking on the next yellow warning marker, etc.
File by file.

I experienced a repeated crash after several fixes: Resharper would
throw an exception (I got the exception dialog and reported it ...
something to do with recreating the error marker and it already
existing?). After dismissing the dialog, Resharper would flash "More
exceptions have occured, you may continue working" in the status bar,
and within seconds all of VS would crash, thus losing the work in
progress.

When remaking the changes, I saved after each file, but still
experienced the same problem two more times.

I did notice that sometimes after applying a quick-fix, the error bar
would go blank for a second or two and then redraw (it seemed an odd
dely I never noticed before). I don't know if that's relevant. There
is a Tracker stacktrace for this, but I was wondering if anyone else
had experienced this?

All the files were under VSS source control, so the first quick fix
always checked out the file. However, I don't recall any of the
crashes happening on the first quick fix... always on a subsequent one
in the same file, and always at the point of clicking in the error bar
to move to the next warning.



0
Comment actions Permalink

It went by too fast the first time and I didn't write it down.

I just spent some time in Tracker trying to locate it and was unsuccessful.
Either it wasn't really successfully posted as it claimed, or I just missed
it. Is there some way to search for replies/messages posted by a given
user? If not, consider that a Tracker enhancement request, as it would make
locating stuff like this much easier.

Sorry!


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d9135fd18c81d98a3e664f3@news.intellij.net...

Hello Paul,

>

haven't you noticed the IDs of submitted exceptions?

>

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>> Using build 227 and VS2005:
>>
>> I went through a bunch of files in a single project applying quick
>> fixes to remove redundant qualifiers. This process was entirely mouse
>> driven and consisted of clicking on a file to bring it into the
>> editor, clicking on the yellow error bars, clicking on the lightbulb,
>> and then clicking on the "Remove redundant qualifier" quick-fix... and
>> then immediately clicking on the next yellow warning marker, etc.
>> File by file.
>>
>> I experienced a repeated crash after several fixes: Resharper would
>> throw an exception (I got the exception dialog and reported it ...
>> something to do with recreating the error marker and it already
>> existing?). After dismissing the dialog, Resharper would flash "More
>> exceptions have occured, you may continue working" in the status bar,
>> and within seconds all of VS would crash, thus losing the work in
>> progress.
>>
>> When remaking the changes, I saved after each file, but still
>> experienced the same problem two more times.
>>
>> I did notice that sometimes after applying a quick-fix, the error bar
>> would go blank for a second or two and then redraw (it seemed an odd
>> dely I never noticed before). I don't know if that's relevant. There
>> is a Tracker stacktrace for this, but I was wondering if anyone else
>> had experienced this?
>>
>> All the files were under VSS source control, so the first quick fix
>> always checked out the file. However, I don't recall any of the
>> crashes happening on the first quick fix... always on a subsequent one
>> in the same file, and always at the point of clicking in the error bar
>> to move to the next warning.
>>
>



0
Comment actions Permalink

Hello Paul,

yes, you can easily view your requests: go to 'Search', define a new query:
'SubmittedBy CONTAINS
"Paul Bradshaw"', and it's done. The results can be ordered by ID by clicking
on the respective column.
I see e.g. #19360 among your requests but I'm not sure if this is what you
mean.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

It went by too fast the first time and I didn't write it down.

I just spent some time in Tracker trying to locate it and was
unsuccessful. Either it wasn't really successfully posted as it
claimed, or I just missed it. Is there some way to search for
replies/messages posted by a given user? If not, consider that a
Tracker enhancement request, as it would make locating stuff like this
much easier.

Sorry!

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d9135fd18c81d98a3e664f3@news.intellij.net...

>> Hello Paul,
>>
>> haven't you noticed the IDs of submitted exceptions?
>>
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Using build 227 and VS2005:
>>>
>>> I went through a bunch of files in a single project applying quick
>>> fixes to remove redundant qualifiers. This process was entirely
>>> mouse
>>> driven and consisted of clicking on a file to bring it into the
>>> editor, clicking on the yellow error bars, clicking on the
>>> lightbulb,
>>> and then clicking on the "Remove redundant qualifier" quick-fix...
>>> and
>>> then immediately clicking on the next yellow warning marker, etc.
>>> File by file.
>>> I experienced a repeated crash after several fixes: Resharper would
>>> throw an exception (I got the exception dialog and reported it ...
>>> something to do with recreating the error marker and it already
>>> existing?). After dismissing the dialog, Resharper would flash
>>> "More exceptions have occured, you may continue working" in the
>>> status bar, and within seconds all of VS would crash, thus losing
>>> the work in progress.
>>>
>>> When remaking the changes, I saved after each file, but still
>>> experienced the same problem two more times.
>>>
>>> I did notice that sometimes after applying a quick-fix, the error
>>> bar would go blank for a second or two and then redraw (it seemed an
>>> odd dely I never noticed before). I don't know if that's relevant.
>>> There is a Tracker stacktrace for this, but I was wondering if
>>> anyone else had experienced this?
>>>
>>> All the files were under VSS source control, so the first quick fix
>>> always checked out the file. However, I don't recall any of the
>>> crashes happening on the first quick fix... always on a subsequent
>>> one in the same file, and always at the point of clicking in the
>>> error bar to move to the next warning.
>>>


0
Comment actions Permalink

No, I mean I think someone else must have posted the same exception, so my
report ended up just being a reply to the already posted report. I didn't
see any new exceptions posted by me (and it wasn't 19360), so either the
report didn't post for some reason, or my report was redundant to someone
else's report. I went through trying to find any exceptions that I had
replied to, but I had to do that manually and gave up after a while.

I also note that it only reported the exception one time. The two other
times, it just flashed "some exceptions have occured, you may continue
working" in the status bar, and then VS crashed immediately thereafter. I
don't recall having checked the "ignore further exceptions" checkbox on the
report dialog, but that's what it seemed to be doing.

There's some other code that I can go through and clean up in this same way
and I can see if I can reproduce the problem ... but it's of concern that my
one legitimate report can't be found anywhere (and I'm kicking myself for
not writing down the number).


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91361c18c81da8ff05c29e@news.intellij.net...

Hello Paul,

>

yes, you can easily view your requests: go to 'Search', define a new
query: 'SubmittedBy CONTAINS
"Paul Bradshaw"', and it's done. The results can be ordered by ID by
clicking on the respective column.
I see e.g. #19360 among your requests but I'm not sure if this is what you
mean.

>

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>> It went by too fast the first time and I didn't write it down.
>>
>> I just spent some time in Tracker trying to locate it and was
>> unsuccessful. Either it wasn't really successfully posted as it
>> claimed, or I just missed it. Is there some way to search for
>> replies/messages posted by a given user? If not, consider that a
>> Tracker enhancement request, as it would make locating stuff like this
>> much easier.
>>
>> Sorry!
>>
>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
>> news:c8a894d9135fd18c81d98a3e664f3@news.intellij.net...
>>
>>> Hello Paul,
>>>
>>> haven't you noticed the IDs of submitted exceptions?
>>>
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Using build 227 and VS2005:
>>>>
>>>> I went through a bunch of files in a single project applying quick
>>>> fixes to remove redundant qualifiers. This process was entirely
>>>> mouse
>>>> driven and consisted of clicking on a file to bring it into the
>>>> editor, clicking on the yellow error bars, clicking on the
>>>> lightbulb,
>>>> and then clicking on the "Remove redundant qualifier" quick-fix...
>>>> and
>>>> then immediately clicking on the next yellow warning marker, etc.
>>>> File by file.
>>>> I experienced a repeated crash after several fixes: Resharper would
>>>> throw an exception (I got the exception dialog and reported it ...
>>>> something to do with recreating the error marker and it already
>>>> existing?). After dismissing the dialog, Resharper would flash
>>>> "More exceptions have occured, you may continue working" in the
>>>> status bar, and within seconds all of VS would crash, thus losing
>>>> the work in progress.
>>>>
>>>> When remaking the changes, I saved after each file, but still
>>>> experienced the same problem two more times.
>>>>
>>>> I did notice that sometimes after applying a quick-fix, the error
>>>> bar would go blank for a second or two and then redraw (it seemed an
>>>> odd dely I never noticed before). I don't know if that's relevant.
>>>> There is a Tracker stacktrace for this, but I was wondering if
>>>> anyone else had experienced this?
>>>>
>>>> All the files were under VSS source control, so the first quick fix
>>>> always checked out the file. However, I don't recall any of the
>>>> crashes happening on the first quick fix... always on a subsequent
>>>> one in the same file, and always at the point of clicking in the
>>>> error bar to move to the next warning.
>>>>
>



0
Comment actions Permalink

Okay, it was pretty easy to duplicate:

Tracker issue #20399

JetBrains.ReSharper.Util.InternalErrorException: Highlighter allready
created

Create a bunch of source files, each with multiple redundant qualifiers
(mostly 'this', but some where the current class is referenced, such as
calling a static method "Foo.StaticMethodCall()" from within a method
defined in the Foo type), and just quickly go through the files, clicking on
the yellow warning stripes and clicking on the quick fixes. It didn't take
me long at all to reproduce this. And it completely kills Visual Studio
shortly after the exception happens and is reported.


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91361c18c81da8ff05c29e@news.intellij.net...

Hello Paul,

>

yes, you can easily view your requests: go to 'Search', define a new
query: 'SubmittedBy CONTAINS
"Paul Bradshaw"', and it's done. The results can be ordered by ID by
clicking on the respective column.
I see e.g. #19360 among your requests but I'm not sure if this is what you
mean.

>

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>> It went by too fast the first time and I didn't write it down.
>>
>> I just spent some time in Tracker trying to locate it and was
>> unsuccessful. Either it wasn't really successfully posted as it
>> claimed, or I just missed it. Is there some way to search for
>> replies/messages posted by a given user? If not, consider that a
>> Tracker enhancement request, as it would make locating stuff like this
>> much easier.
>>
>> Sorry!
>>
>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
>> news:c8a894d9135fd18c81d98a3e664f3@news.intellij.net...
>>
>>> Hello Paul,
>>>
>>> haven't you noticed the IDs of submitted exceptions?
>>>
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Using build 227 and VS2005:
>>>>
>>>> I went through a bunch of files in a single project applying quick
>>>> fixes to remove redundant qualifiers. This process was entirely
>>>> mouse
>>>> driven and consisted of clicking on a file to bring it into the
>>>> editor, clicking on the yellow error bars, clicking on the
>>>> lightbulb,
>>>> and then clicking on the "Remove redundant qualifier" quick-fix...
>>>> and
>>>> then immediately clicking on the next yellow warning marker, etc.
>>>> File by file.
>>>> I experienced a repeated crash after several fixes: Resharper would
>>>> throw an exception (I got the exception dialog and reported it ...
>>>> something to do with recreating the error marker and it already
>>>> existing?). After dismissing the dialog, Resharper would flash
>>>> "More exceptions have occured, you may continue working" in the
>>>> status bar, and within seconds all of VS would crash, thus losing
>>>> the work in progress.
>>>>
>>>> When remaking the changes, I saved after each file, but still
>>>> experienced the same problem two more times.
>>>>
>>>> I did notice that sometimes after applying a quick-fix, the error
>>>> bar would go blank for a second or two and then redraw (it seemed an
>>>> odd dely I never noticed before). I don't know if that's relevant.
>>>> There is a Tracker stacktrace for this, but I was wondering if
>>>> anyone else had experienced this?
>>>>
>>>> All the files were under VSS source control, so the first quick fix
>>>> always checked out the file. However, I don't recall any of the
>>>> crashes happening on the first quick fix... always on a subsequent
>>>> one in the same file, and always at the point of clicking in the
>>>> error bar to move to the next warning.
>>>>
>



0
Comment actions Permalink

Hello Paul,

you can view your recent forum posts (including comments to previously posted
exceptions which are added
in case your error submission updates someone else's report) by clicking
on your name at the top right corner,
and navigating to your profile.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

No, I mean I think someone else must have posted the same exception,
so my report ended up just being a reply to the already posted report.
I didn't see any new exceptions posted by me (and it wasn't 19360), so
either the report didn't post for some reason, or my report was
redundant to someone else's report. I went through trying to find any
exceptions that I had replied to, but I had to do that manually and
gave up after a while.

I also note that it only reported the exception one time. The two
other times, it just flashed "some exceptions have occured, you may
continue working" in the status bar, and then VS crashed immediately
thereafter. I don't recall having checked the "ignore further
exceptions" checkbox on the report dialog, but that's what it seemed
to be doing.

There's some other code that I can go through and clean up in this
same way and I can see if I can reproduce the problem ... but it's of
concern that my one legitimate report can't be found anywhere (and I'm
kicking myself for not writing down the number).

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91361c18c81da8ff05c29e@news.intellij.net...

>> Hello Paul,
>>
>> yes, you can easily view your requests: go to 'Search', define a new
>> query: 'SubmittedBy CONTAINS
>> "Paul Bradshaw"', and it's done. The results can be ordered by ID by
>> clicking on the respective column.
>> I see e.g. #19360 among your requests but I'm not sure if this is
>> what you
>> mean.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> It went by too fast the first time and I didn't write it down.
>>>
>>> I just spent some time in Tracker trying to locate it and was
>>> unsuccessful. Either it wasn't really successfully posted as it
>>> claimed, or I just missed it. Is there some way to search for
>>> replies/messages posted by a given user? If not, consider that a
>>> Tracker enhancement request, as it would make locating stuff like
>>> this much easier.
>>>
>>> Sorry!
>>>
>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>> message news:c8a894d9135fd18c81d98a3e664f3@news.intellij.net...
>>>
>>>> Hello Paul,
>>>>
>>>> haven't you noticed the IDs of submitted exceptions?
>>>>
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> Using build 227 and VS2005:
>>>>>
>>>>> I went through a bunch of files in a single project applying quick
>>>>> fixes to remove redundant qualifiers. This process was entirely
>>>>> mouse
>>>>> driven and consisted of clicking on a file to bring it into the
>>>>> editor, clicking on the yellow error bars, clicking on the
>>>>> lightbulb,
>>>>> and then clicking on the "Remove redundant qualifier" quick-fix...
>>>>> and
>>>>> then immediately clicking on the next yellow warning marker, etc.
>>>>> File by file.
>>>>> I experienced a repeated crash after several fixes: Resharper
>>>>> would
>>>>> throw an exception (I got the exception dialog and reported it ...
>>>>> something to do with recreating the error marker and it already
>>>>> existing?). After dismissing the dialog, Resharper would flash
>>>>> "More exceptions have occured, you may continue working" in the
>>>>> status bar, and within seconds all of VS would crash, thus losing
>>>>> the work in progress.
>>>>> When remaking the changes, I saved after each file, but still
>>>>> experienced the same problem two more times.
>>>>>
>>>>> I did notice that sometimes after applying a quick-fix, the error
>>>>> bar would go blank for a second or two and then redraw (it seemed
>>>>> an odd dely I never noticed before). I don't know if that's
>>>>> relevant. There is a Tracker stacktrace for this, but I was
>>>>> wondering if anyone else had experienced this?
>>>>>
>>>>> All the files were under VSS source control, so the first quick
>>>>> fix always checked out the file. However, I don't recall any of
>>>>> the crashes happening on the first quick fix... always on a
>>>>> subsequent one in the same file, and always at the point of
>>>>> clicking in the error bar to move to the next warning.
>>>>>


0
Comment actions Permalink

Hello Paul,

thanks a lot for this information, most likely the problem has been fixed
in the next build.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Okay, it was pretty easy to duplicate:

Tracker issue #20399

JetBrains.ReSharper.Util.InternalErrorException: Highlighter
allready created

Create a bunch of source files, each with multiple redundant
qualifiers (mostly 'this', but some where the current class is
referenced, such as calling a static method "Foo.StaticMethodCall()"
from within a method defined in the Foo type), and just quickly go
through the files, clicking on the yellow warning stripes and clicking
on the quick fixes. It didn't take me long at all to reproduce this.
And it completely kills Visual Studio shortly after the exception
happens and is reported.

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91361c18c81da8ff05c29e@news.intellij.net...

>> Hello Paul,
>>
>> yes, you can easily view your requests: go to 'Search', define a new
>> query: 'SubmittedBy CONTAINS
>> "Paul Bradshaw"', and it's done. The results can be ordered by ID by
>> clicking on the respective column.
>> I see e.g. #19360 among your requests but I'm not sure if this is
>> what you
>> mean.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> It went by too fast the first time and I didn't write it down.
>>>
>>> I just spent some time in Tracker trying to locate it and was
>>> unsuccessful. Either it wasn't really successfully posted as it
>>> claimed, or I just missed it. Is there some way to search for
>>> replies/messages posted by a given user? If not, consider that a
>>> Tracker enhancement request, as it would make locating stuff like
>>> this much easier.
>>>
>>> Sorry!
>>>
>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>> message news:c8a894d9135fd18c81d98a3e664f3@news.intellij.net...
>>>
>>>> Hello Paul,
>>>>
>>>> haven't you noticed the IDs of submitted exceptions?
>>>>
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> Using build 227 and VS2005:
>>>>>
>>>>> I went through a bunch of files in a single project applying quick
>>>>> fixes to remove redundant qualifiers. This process was entirely
>>>>> mouse
>>>>> driven and consisted of clicking on a file to bring it into the
>>>>> editor, clicking on the yellow error bars, clicking on the
>>>>> lightbulb,
>>>>> and then clicking on the "Remove redundant qualifier" quick-fix...
>>>>> and
>>>>> then immediately clicking on the next yellow warning marker, etc.
>>>>> File by file.
>>>>> I experienced a repeated crash after several fixes: Resharper
>>>>> would
>>>>> throw an exception (I got the exception dialog and reported it ...
>>>>> something to do with recreating the error marker and it already
>>>>> existing?). After dismissing the dialog, Resharper would flash
>>>>> "More exceptions have occured, you may continue working" in the
>>>>> status bar, and within seconds all of VS would crash, thus losing
>>>>> the work in progress.
>>>>> When remaking the changes, I saved after each file, but still
>>>>> experienced the same problem two more times.
>>>>>
>>>>> I did notice that sometimes after applying a quick-fix, the error
>>>>> bar would go blank for a second or two and then redraw (it seemed
>>>>> an odd dely I never noticed before). I don't know if that's
>>>>> relevant. There is a Tracker stacktrace for this, but I was
>>>>> wondering if anyone else had experienced this?
>>>>>
>>>>> All the files were under VSS source control, so the first quick
>>>>> fix always checked out the file. However, I don't recall any of
>>>>> the crashes happening on the first quick fix... always on a
>>>>> subsequent one in the same file, and always at the point of
>>>>> clicking in the error bar to move to the next warning.
>>>>>


0

Please sign in to leave a comment.