MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001836VCMISound, music, videospublic2014-07-12 17:452023-04-11 09:22
ReporterKroArtem 
Assigned ToIvan 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86_64OSUbuntuOS Version14.04
Product Version0.96 
Target VersionFixed in Version 
Summary0001836: [regression] Crash due to not found files
DescriptionAn error should be thrown, but the game shouldn't crash. Right now it's sigabrt:

Warning: IntObject re-activated with mismatching used and active
Failed to queue music. setName= musicURI=Music/Underground.mp3
Exception: Resource with name MUSIC/UNDERGROUND and type MUSIC wasn't found.
[New Thread 0x7fffe598d700 (LWP 28779)]
Player 0 starting turn
Striving to goal of type WIN
Considering goal WIN
Considering goal CONQUER
terminate called after throwing an instance of 'std::runtime_error'
  what(): Resource with name MUSIC/AITHEME2 and type MUSIC wasn't found.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe6538700 (LWP 28623)]
0x00007ffff3dcef79 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
(gdb) bt
#0 0x00007ffff3dcef79 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff3dd2388 in __GI_abort () at abort.c:89
0000002 0x00007ffff46da6b5 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000003 0x00007ffff46d8836 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000004 0x00007ffff46d8863 in std::terminate() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000005 0x00007ffff46d8aa2 in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000006 0x00007ffff7596033 in CFilesystemList::load (this=this@entry=0x983910,
    resourceName=...)
    at /build/buildd/vcmi-0.96+git20140711.3673~ubuntu14.04.1/lib/filesystem/AdapterLoaders.cpp:67
0000007 0x0000000000634826 in MusicEntry::load (this=this@entry=0x7fffc8082a90,
    musicURI=...)
    at /build/buildd/vcmi-0.96+git20140711.3673~ubuntu14.04.1/client/CMusicHandler.cpp:482
0000008 0x0000000000636105 in MusicEntry::play (this=0x7fffc8082a90)
    at /build/buildd/vcmi-0.96+git20140711.3673~ubuntu14.04.1/client/CMusicHandler.cpp:519
0000009 0x0000000000636df0 in CMusicHandler::musicFinishedCallback (this=0xd19c40)
    at /build/buildd/vcmi-0.96+git20140711.3673~ubuntu14.04.1/client/CMusicHandl---Type <return> to continue, or q <return> to quit---
er.cpp:448
0000010 0x00007ffff62799d4 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libSDL_mixer-1.2.so.0
0000011 0x00007ffff66e89b9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
0000012 0x00007ffff66f0ad8 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
0000013 0x00007ffff6730109 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
0000014 0x00007ffff697c182 in start_thread (arg=0x7fffe6538700)
    at pthread_create.c:312
0000015 0x00007ffff3e9330d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)
TagsR1
Attached Files

- Relationships

-  Notes
(0008503)
Ivan (developer)
2023-04-11 09:22

Fixed in 1.2

- Issue History
Date Modified Username Field Change
2014-07-12 17:45 KroArtem New Issue
2014-07-13 08:49 Ivan Assigned To => Ivan
2014-07-13 08:49 Ivan Status new => assigned
2022-03-22 16:09 Povelitel Tag Attached: R1
2022-12-17 14:06 Ivan Assigned To Ivan =>
2023-04-11 09:22 Ivan Note Added: 0008503
2023-04-11 09:22 Ivan Status assigned => resolved
2023-04-11 09:22 Ivan Resolution open => fixed
2023-04-11 09:22 Ivan Assigned To => Ivan

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean