UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #1950 sigabrt upon saving a map
Go to the next issue (open or closed)
Go to the next open issue
There are no more issues in that direction.
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Map Editor (UFORadiant)
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    7. Critical
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/1950 Item 1950] imported from sourceforge.net tracker on 2013-01-28 19:14:56

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb64c66f0 (LWP 25319)]
0xb743dc66 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0xb743dc66 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb743f571 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb7645340 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
No symbol table info available.
#3 0xb7642be5 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4 0xb7642c22 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5 0xb7642d4a in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6 0xb764335e in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7 0x0820789a in __gnu_cxx::new_allocator<char>::allocate (this=0xbffb12cc, __n=4294613804)
at /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/ext/new_allocator.h:91
No locals.
#8 0x082078b7 in std::_Vector_base<char, std::allocator<char> >::_M_allocate (this=0xbffb12cc, __n=4294613804)
at /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/bits/stl_vector.h:128
No locals.
#9 0x08208694 in std::vector<char, std::allocator<char> >::_M_range_insert<char const*> (this=0xbffb12cc, __position={_M_current = 0xacdae48 ""},
__first=0xacdbef8 "/home/rich/ufoai/trunk/base/maps/excavation.map", __last=0xac85a23 "map")
at /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/bits/vector.tcc:457
__old_size = 1
__len = 4294613804
__new_start = 0x18 <Address 0x18 out of bounds>
__new_finish = 0x0
__n = 4294613803
#10 0x0820884e in std::vector<char, std::allocator<char> >::_M_insert_dispatch<char const*> (this=0xbffb12cc, __pos={_M_current = 0xacdae48 ""},
__first=0xacdbef8 "/home/rich/ufoai/trunk/base/maps/excavation.map", __last=0xac85a23 "map")
at /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/bits/stl_vector.h:890
No locals.
#11 0x08208872 in std::vector<char, std::allocator<char> >::insert<char const*> (this=0xbffb12cc, __position={_M_current = 0xacdae48 ""},
__first=0xacdbef8 "/home/rich/ufoai/trunk/base/maps/excavation.map", __last=0xac85a23 "map")
at /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/bits/stl_vector.h:676
No locals.
#12 0x082088a2 in StringBuffer::push_range (this=0xbffb12cc, first=0xacdbef8 "/home/rich/ufoai/trunk/base/maps/excavation.map", last=0xac85a23 "map")
at src/tools/radiant/libs/stream/stringstream.h:69
No locals.
#13 0x082088c7 in StringOutputStream::write (this=0xbffb12c8, buffer=0xacdbef8 "/home/rich/ufoai/trunk/base/maps/excavation.map", length=4294613803)
at src/tools/radiant/libs/stream/stringstream.h:112
No locals.
#14 0x08204573 in ostream_write<StringOutputStream> (ostream=@0xbffb12c8, range=@0xbffb12d8) at src/tools/radiant/libs/stream/textstream.h:290
No locals.
#15 0x08204592 in operator<< <ArrayRange<char const> > (ostream=@0xbffb12c8, t=@0xbffb12d8) at src/tools/radiant/libs/stream/stringstream.h:145
No locals.
#16 0x082dd477 in file_saveBackup (path=0xacdbef8 "/home/rich/ufoai/trunk/base/maps/excavation.map") at src/tools/radiant/radiant/referencecache.cpp:121
backup = {<TextOutputStream> = {_vptr.TextOutputStream = 0x8374a08}, m_string = {m_string = {<std::_Vector_base<char,std::allocator<char> >> = {
_M_impl = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_start = 0xacdae48 "",
_M_finish = 0xacdae49 "�U���U�", _M_end_of_storage = 0xacdaf48 "d"}}, <No data fields>}}}
#17 0x082dd786 in MapResource_save (format=@0x961f778, root=@0x99b849c, path=0x9bc6010 "/home/rich/ufoai/trunk/base/", name=0x97a0470 "maps/excavation.map")
at src/tools/radiant/radiant/referencecache.cpp:136
fullpath = {<TextOutputStream> = {_vptr.TextOutputStream = 0x8374a08}, m_string = {m_string = {<std::_Vector_base<char,std::allocator<char> >> = {
_M_impl = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_start = 0xacdbef8 "/home/rich/ufoai/trunk/base/maps/excavation.map", _M_finish = 0xacdbf28 "", _M_end_of_storage = 0xacdbff8 ""}}, <No data fields>}}}
#18 0x082e3ba4 in ModelResource::save (this=0x9b9f330) at src/tools/radiant/radiant/referencecache.cpp:378
format = (const MapFormat *) 0x961f778
moduleName = 0x9626cb8 "mapufo"
#19 0x082ddde9 in SaveReferences () at src/tools/radiant/radiant/referencecache.cpp:598
i = {m_node = 0x97f5b28}
disableScreenUpdates = {<No data fields>}
#20 0x082a6908 in Map_Save () at src/tools/radiant/radiant/map.cpp:939
timer = {m_timer = {m_start = {m_milliseconds = 705919}}, m_message = 0x8382873 "map save"}
#21 0x082a6f05 in SaveMap () at src/tools/radiant/radiant/map.cpp:1441
No locals.
#22 0x082a1189 in Function0<void, &(SaveMap())>::call () at src/tools/radiant/libs/generic/functional.h:102
No locals.
#23 0x082a1197 in Caller0To1<Function0<void, &(SaveMap())>, void*>::call () at src/tools/radiant/libs/generic/functional.h:158
No locals.
#24 0x082a11b7 in BindFirstOpaque<Caller0To1<Function0<void, &(SaveMap())>, void*> >::thunk (environment=0x0) at src/tools/radiant/libs/generic/callback.h:104
No locals.
#25 0x0821d643 in Callback0<void>::operator() (this=0x966ad30) at src/tools/radiant/libs/generic/callback.h:235
No locals.
#26 0x08365c36 in accel_closure_callback (group=0x9632e00, widget=0x9641038, key=115, modifiers=GDK_CONTROL_MASK, data=0x966ad30)
at src/tools/radiant/libs/gtkutil/accelerator.cpp:468
No locals.
#27 0xb7c65bb7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#28 0x09632e00 in ?? ()
No symbol table info available.
#29 0x09641038 in ?? ()
No symbol table info available.
#30 0x00000073 in ?? ()
No symbol table info available.
#31 0xb78a6e69 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#32 0xb78bb61b in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#33 0x0966ae78 in ?? ()
No symbol table info available.
#34 0xbffb16a0 in ?? ()
No symbol table info available.
#35 0x00000004 in ?? ()
No symbol table info available.
#36 0xb78bcfd7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#37 0xb78bd5f9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#38 0xb7b7285f in gtk_accel_group_activate () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#39 0xb7b7296a in gtk_accel_groups_activate () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#40 0xb7d99662 in gtk_window_activate_key () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#41 0xb7d996fc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#42 0x09641038 in ?? ()
No symbol table info available.
#43 0x09af7ad8 in ?? ()
No symbol table info available.
#44 0x09633aa8 in ?? ()
No symbol table info available.
#45 0xb7e84d94 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#46 0xb7d996d0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#47 0x09641038 in ?? ()
No symbol table info available.
#48 0xbffb1a98 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#49 0xb7c66154 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#50 0x09641038 in ?? ()
No symbol table info available.
#51 0x09af7ad8 in ?? ()
No symbol table info available.
#52 0x09632d28 in ?? ()
No symbol table info available.
#53 0xb78d7670 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#54 0xbffb1db4 in ?? ()
No symbol table info available.
#55 0x0963ba68 in ?? ()
No symbol table info available.
#56 0xbffb1ac8 in ?? ()
No symbol table info available.
#57 0xb78a5789 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#58 0x0963ba68 in ?? ()
No symbol table info available.
#59 0xbffb1cd0 in ?? ()
No symbol table info available.
#60 0x00000002 in ?? ()
No symbol table info available.
#61 0xbffb1cbc in ?? ()
No symbol table info available.
#62 0xb7d996d0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#63 0xbffb1b58 in ?? ()
No symbol table info available.
#64 0xb78d7670 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#65 0xb7c660f0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#66 0x0963ba68 in ?? ()
No symbol table info available.
#67 0xbffb1b58 in ?? ()
No symbol table info available.
#68 0xb78a6e69 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#69 0x09641038 in ?? ()
No symbol table info available.
#70 0x00000000 in ?? ()
No symbol table info available.

===== Comments Ported from Sourceforge =====

====== richlv (2008-12-22 15:28:28) ======

well, i tried to find out which rev broke it, but this turns out to be hard...

found out so far :

20911 - doesn&#039;t start
20957 - doesn&#039;t start
20982 - doesn&#039;t start
20994 - doesn&#039;t start
21006 - doesn&#039;t compile
21021 - bad
====== tlh2000 (2008-12-22 21:08:55) ======

fixed in curren trunk - thanks for reporting
====== richlv (2008-12-23 09:03:23) ======

confirming the fix in rev 21151
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif