Opened 2 years ago

Closed 2 years ago

#10318 closed defect (fixed)

ScummVM: Program crashes on Exit

Reported by: ctoroman Owned by: ctoroman
Priority: normal Component: Ports
Keywords: win32 Cc:
Game:

Description

versioninfo=1.10.0git5368-g97e4f3878d
OS: Windows 7 x64, Windows 10 x64

Attachments (3)

screen1.jpg (66.0 KB ) - added by ctoroman 2 years ago.
screen2.jpg (23.8 KB ) - added by ctoroman 2 years ago.
screen3.jpg (33.8 KB ) - added by ctoroman 2 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 by rootfather, 2 years ago

Component: --Unset--Ports
Keywords: win32 added

Have you compiled ScummVM for yourself or are you using the packages made by the buildbot/the daily builds? If you compile it on your own, which compiler toolchain do you use? Do you made any specific settings in scummvm.ini or are you using the default values?

Can you give us steps to reproduce? I'm currently developing on Windows 10 and I never had a crash on exit.

by ctoroman, 2 years ago

Attachment: screen1.jpg added

by ctoroman, 2 years ago

Attachment: screen2.jpg added

by ctoroman, 2 years ago

Attachment: screen3.jpg added

comment:2 by ctoroman, 2 years ago

I'm use the packages made by the buildbot/the daily builds

comment:3 by ctoroman, 2 years ago

I just tried version 1.10.0git5297-g18b8a8cd78 (Nov 6 2017). Works fine.

comment:4 by bgK, 2 years ago

I can reproduce this when setting the language to Russian:

==6911==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x000081a40000 in thread T0
    #0 0x7fd757cd65a9 in operator delete[](void*) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cc:128
    #1 0x555a739c5cd2 in Graphics::BdfFont::~BdfFont() ../graphics/fonts/bdf.cpp:45
    #2 0x555a739c5cf9 in Graphics::BdfFont::~BdfFont() ../graphics/fonts/bdf.cpp:47
    #3 0x555a739c0b08 in Graphics::FontManager::~FontManager() ../graphics/fontman.cpp:55
    #4 0x555a739c0da9 in Graphics::FontManager::~FontManager() ../graphics/fontman.cpp:64
    #5 0x555a7370b1ba in Common::Singleton<Graphics::FontManager>::destroyInstance() (/home/bastien/dev/scummvm/build/scummvm+0x1011ba)
    #6 0x555a73709a7b in Common::Singleton<Graphics::FontManager>::destroy() (/home/bastien/dev/scummvm/build/scummvm+0xffa7b)
    #7 0x555a73707a4f in scummvm_main ../base/main.cpp:631
    #8 0x555a737005c0 in main ../backends/platform/sdl/posix/posix-main.cpp:45
    #9 0x7fd754eacf69 in __libc_start_main (/usr/lib/libc.so.6+0x20f69)
    #10 0x555a736f5849 in _start (/home/bastien/dev/scummvm/build/scummvm+0xeb849)

comment:5 by ctoroman, 2 years ago

I have the same bug when setting the language to English

comment:6 by bgK, 2 years ago

Commit 65d0984364 fixes the crash on exit for me. Can you please test a build that includes this commit?

comment:7 by ctoroman, 2 years ago

I tried it. No result. The same bug.

comment:8 by ctoroman, 2 years ago

Just installed the latest build (1.10.0git5385-ge83ede4f07). The error has disappeared. Thanks )

comment:9 by ctoroman, 2 years ago

Owner: set to ctoroman
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.