Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NewStory: crash when fast-scrolling history-rich contact #3496

Closed
Mitch037 opened this issue Apr 19, 2023 · 2 comments
Closed

NewStory: crash when fast-scrolling history-rich contact #3496

Mitch037 opened this issue Apr 19, 2023 · 2 comments

Comments

@Mitch037
Copy link

  1. open contact's history (it has to contain at least 5000 events)
  2. maximize the window
  3. start rapidly fast-scrolling by holding the scroll bar and moving it up&down from one end to the other
  4. after a few seconds Miranda crashes
@Mitch037 Mitch037 added the bug label Apr 19, 2023
@georgehazan
Copy link
Member

@Mitch037 could you attach a crash log?

@Mitch037
Copy link
Author

Just the important part of the crash log

Likely cause of the crash plugin: NewStory

Exception: Integer divide by zero at address 0000000012EC2D96.

Stack Trace:

0000000012EC2D96 (libTextControl 0000000012EC0000): w:\miranda-build\libs\mtextcontrol\src\formattedtextdraw.cpp (503): CFormattedTextDraw::CharFormatFromHFONT
0000000012EC36E3 (libTextControl 0000000012EC0000): w:\miranda-build\libs\mtextcontrol\src\formattedtextdraw.cpp (75): CFormattedTextDraw::CFormattedTextDraw
0000000012EC42BC (libTextControl 0000000012EC0000): w:\miranda-build\libs\mtextcontrol\src\services.cpp (74): MTextCreateW
0000000018148DDD (NewStory 0000000018140000): w:\miranda-build\plugins\newstory\src\history_array.cpp (52): ItemData::checkCreate
000000001814521C (NewStory 0000000018140000): w:\miranda-build\plugins\newstory\src\history_control.cpp (341): NewstoryListData::PaintItem
0000000018149262 (NewStory 0000000018140000): w:\miranda-build\plugins\newstory\src\history_control.cpp (683): NewstoryListWndProc
0000000077B897A1 (USER32 0000000077B70000): (filename not available) (0): TranslateMessageEx
0000000077B86EAF (USER32 0000000077B70000): (filename not available) (0): SetWindowTextW
0000000077B86409 (USER32 0000000077B70000): (filename not available) (0): IsDialogMessageW
0000000077CDAA2F (ntdll 0000000077C70000): (filename not available) (0): KiUserCallbackDispatcher
0000000077B8643A (USER32 0000000077B70000): (filename not available) (0): IsDialogMessageW
0000000077B86485 (USER32 0000000077B70000): (filename not available) (0): IsDialogMessageW
0000000077B871FA (USER32 0000000077B70000): (filename not available) (0): SetWindowTextW
0000000077B8718C (USER32 0000000077B70000): (filename not available) (0): SetWindowTextW
000000001814A014 (NewStory 0000000018140000): w:\miranda-build\plugins\newstory\src\history_control.cpp (944): NewstoryListWndProc
0000000077B897A1 (USER32 0000000077B70000): (filename not available) (0): TranslateMessageEx
0000000077B86EAF (USER32 0000000077B70000): (filename not available) (0): SetWindowTextW
0000000077B86409 (USER32 0000000077B70000): (filename not available) (0): IsDialogMessageW
0000000077CDAA2F (ntdll 0000000077C70000): (filename not available) (0): KiUserCallbackDispatcher
0000000077B8643A (USER32 0000000077B70000): (filename not available) (0): IsDialogMessageW
0000000077B86485 (USER32 0000000077B70000): (filename not available) (0): IsDialogMessageW
0000000077B871FA (USER32 0000000077B70000): (filename not available) (0): SetWindowTextW
0000000077B8718C (USER32 0000000077B70000): (filename not available) (0): SetWindowTextW
000000001814A014 (NewStory 0000000018140000): w:\miranda-build\plugins\newstory\src\history_control.cpp (944): NewstoryListWndProc
0000000077B897A1 (USER32 0000000077B70000): (filename not available) (0): TranslateMessageEx
0000000077B894C2 (USER32 0000000077B70000): (filename not available) (0): TranslateMessage
0000000077B863A2 (USER32 0000000077B70000): (filename not available) (0): IsDialogMessageW
0000000013100B6E (mir_core 00000000130E0000): w:\miranda-build\src\mir_core\src\windows\miranda.cpp (349): EnterMessageLoop
0000000012F3CF88 (mir_app 0000000012EE0000): w:\miranda-build\src\mir_app\src\miranda.cpp (218): mir_main
0000000140002904 (Miranda64 0000000140000000): w:\miranda-build\src\miranda32\src\miranda.cpp (62): wWinMain
00000001400014BA (Miranda64 0000000140000000): d:\agent_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
0000000077A63D9D (kernel32 0000000077A50000): (filename not available) (0): BaseThreadInitThunk
0000000077CC294D (ntdll 0000000077C70000): (filename not available) (0): RtlUserThreadStart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants