QuinnDamerell / Baconit

A beatiful, powerful, reddit client for Windows 10.
https://www.reddit.com/r/BaconitDev/
GNU General Public License v2.0
242 stars 81 forks source link

Stack overflow due to recursion in UniversalMarkdown #78

Open dreamlayers opened 8 years ago

dreamlayers commented 8 years ago

Viewing https://www.reddit.com/r/ThingsCutInHalfPorn/comments/4moevc/a_m%C3%A4nnlicher_m1895_repeater_rifle_used_in_ww1_by/ repeatably causes a stack overflow. Visual Studio becomes annoyingly slow, probably because of the huge number of stack frames. For now all I can offer is this screenshot of the stack frames. It seems like infinite recursion.

screenshot 2

dreamlayers commented 8 years ago

Endless recursion is triggered by this, and involves RenderSuperscriptRun().

I'm a bot, *bleep*, *bloop*. Someone has linked to this thread from another place on reddit:

- [/r/forgottenweapons] [A Männlicher M1895 Repeater Rifle used in WW1 by the Austrian-Hungarien Army \[3264× 2448\]](https://np.reddit.com/r/ForgottenWeapons/comments/4moi87/a_männlicher_m1895_repeater_rifle_used_in_ww1_by/)

[](#footer)*^(If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads.) ^\([Info](/r/TotesMessenger) ^/ ^[Contact](/message/compose?to=/r/TotesMessenger))*

[](#bot)
dreamlayers commented 8 years ago

UniversalMarkdown was at 54a3ba2. This issue is fixed if I use the latest UniversalMarkdown from the develop branch instead, a194e9ad.