MantisBT - VCMI
View Issue Details
0002043VCMIOtherpublic2015-01-17 21:082016-09-14 03:06
KroArtem 
SXX 
normalminorhave not tried
closedno change required 
x86_64Ubuntu14.10
0.97b 
0.99 
0002043: double free or corruption
No additional information, sorry :/

removing object id=827; address=140736671017264; name=Монстр
[New Thread 0x7fffe4d26700 (LWP 14012)]
[Thread 0x7fffe4d26700 (LWP 14012) exited]
removing object id=813; address=140736671005632; name=Ученый
[New Thread 0x7fffe4d26700 (LWP 14013)]
*** Error in `/usr/local/bin/vcmiclient': double free or corruption (!prev): 0x0000000005887540 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe4d26700 (LWP 14013)]
0x00007ffff3cc0e37 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 0x00007ffff3cc0e37 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff3cc2528 in __GI_abort () at abort.c:89
0000002 0x00007ffff3d02b04 in __libc_message (do_abort=do_abort@entry=1,
    fmt=fmt@entry=0x7ffff3e0ba80 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
0000003 0x00007ffff3d0a116 in malloc_printerr (ptr=<optimized out>,
    str=0x7ffff3e0bb68 "double free or corruption (!prev)", action=1)
    at malloc.c:4996
0000004 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0)
    at malloc.c:3840
0000005 0x000000000048dd85 in ~FileData (this=0x539c400, __in_chrg=<optimized out>)
    at /home/kroartem/SVN/vcmi/client/gui/CAnimation.cpp:94
0000006 ~_List_node (this=0x539c3f0, __in_chrg=<optimized out>)
    at /usr/include/c++/4.9/bits/stl_list.h:106
0000007 destroy<std::_List_node<CFileCache::FileData> > (this=<optimized out>,
    __p=0x539c3f0) at /usr/include/c++/4.9/ext/new_allocator.h:124
0000008 _M_erase (this=<optimized out>, __position=...)
    at /usr/include/c++/4.9/bits/stl_list.h:1700
0000009 pop_front (this=0x93bc70 <animationCache>)
    at /usr/include/c++/4.9/bits/stl_list.h:1015
0000010 CFileCache::getCachedFile(ResourceID&&) (
    this=this@entry=0x93bc70 <animationCache>,
---Type <return> to continue, or q <return> to quit---
    rid=rid@entry=<unknown type in /usr/local/bin/vcmiclient, CU 0x4b1acb, DIE 0x5190a2>) at /home/kroartem/SVN/vcmi/client/gui/CAnimation.cpp:109
0000011 0x000000000048b11a in CDefFile::CDefFile (this=this@entry=0x7fffcfe529e0,
    Name=Name@entry="")
    at /home/kroartem/SVN/vcmi/client/gui/CAnimation.cpp:143
0000012 0x000000000048b588 in CAnimation::getFile (this=this@entry=0x7fffc498b7e0)
    at /home/kroartem/SVN/vcmi/client/gui/CAnimation.cpp:1089
0000013 0x000000000048d468 in CAnimation::load (this=0x7fffc498b7e0, frame=2,
    group=0) at /home/kroartem/SVN/vcmi/client/gui/CAnimation.cpp:1194
0000014 0x00000000004ba96f in CAnimImage::setFrame (this=0x7fffc498ba60,
    Frame=Frame@entry=2, Group=Group@entry=0)
    at /home/kroartem/SVN/vcmi/client/widgets/Images.cpp:287
0000015 0x00000000004a6c52 in CButton::update (this=0x7fffc498b650)
    at /home/kroartem/SVN/vcmi/client/widgets/Buttons.cpp:76
0000016 0x00000000004a72a8 in setState (newState=CButton::BLOCKED,
    this=<optimized out>)
    at /home/kroartem/SVN/vcmi/client/widgets/Buttons.cpp:127
0000017 CButton::block (this=<optimized out>, on=on@entry=true)
    at /home/kroartem/SVN/vcmi/client/widgets/Buttons.cpp:147
0000018 0x00000000004c958f in CAdvMapInt::updateNextHero (this=0x7fffc48a2bd0,
    h=h@entry=0x7fffcf523330)
    at /home/kroartem/SVN/vcmi/client/windows/CAdvmapInterface.cpp:584
0000019 0x00000000005e7306 in CPlayerInterface::doMoveHero (this=0x7fffc48a2000,
---Type <return> to continue, or q <return> to quit---
    h=0x7fffcf523330, path=...)
    at /home/kroartem/SVN/vcmi/client/CPlayerInterface.cpp:2692
0000020 0x00000000005f5c11 in operator()<const CGHeroInstance*&, CGPath&, void> (
    __object=0x7fffc48a2000, this=0x59266a8)
    at /usr/include/c++/4.9/functional:569
0000021 __call<void, 0ul, 1ul, 2ul> (__args=<optimized out>, this=0x59266a8)
    at /usr/include/c++/4.9/functional:1264
0000022 operator()<, void> (this=0x59266a8) at /usr/include/c++/4.9/functional:1323
0000023 boost::detail::thread_data<std::_Bind<std::_Mem_fn<void (CPlayerInterface::*)(CGHeroInstance const*, CGPath)> (CPlayerInterface*, CGHeroInstance const*, CGPath)> >::run() (this=0x59264f0)
    at /usr/include/boost/thread/detail/thread.hpp:117
0000024 0x00007ffff6cc3d3a in ?? ()
   from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.55.0
0000025 0x00007ffff6aa20a5 in start_thread (arg=0x7fffe4d26700)
    at pthread_create.c:309
0000026 0x00007ffff3d8488d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No tags attached.
Issue History
2015-01-17 21:08KroArtemNew Issue
2016-09-14 03:06SXXStatusnew => closed
2016-09-14 03:06SXXAssigned To => SXX
2016-09-14 03:06SXXResolutionopen => no change required
2016-09-14 03:06SXXFixed in Version => 0.99

There are no notes attached to this issue.