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

Seg fault on world generation #3928

Closed
i2amroy opened this issue Oct 28, 2013 · 5 comments

Comments

Projects
None yet
5 participants
@i2amroy
Copy link
Member

commented Oct 28, 2013

I'm getting this happening occasionally but I haven't been able to reproduce reliably yet.

@minakitty

This comment has been minimized.

Copy link
Contributor

commented Oct 29, 2013

Could this be related to #3137 ?

@namarrgon

This comment has been minimized.

Copy link
Contributor

commented Nov 14, 2013

I get a reproducible (read 100%) segfault on world generation on two systems up till b381798.

It doesn't seem related to #3137 but since the OP has no further info i'll hijack this issue.

I haven't touched cataclysm for a few weeks so i can't tell when this started but if the backtrace is of no use I'll bisect it when i have some time.

Program received signal SIGABRT, Aborted.
0x00007ffff6fe53d9 in raise () from /usr/lib/libc.so.6
(gdb) backtrace
#0  0x00007ffff6fe53d9 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff6fe67d8 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff7022e64 in __libc_message () from /usr/lib/libc.so.6
#3  0x00007ffff702862e in malloc_printerr () from /usr/lib/libc.so.6
#4  0x00007ffff7029307 in _int_free () from /usr/lib/libc.so.6
#5  0x00000000004c896e in deallocate (this=0x12778c0, __p=0x12797c0) at /usr/include/c++/4.8.2/ext/new_allocator.h:110
#6  _M_put_node (this=0x12778c0, __p=0x12797c0) at /usr/include/c++/4.8.2/bits/stl_tree.h:374
#7  _M_destroy_node (this=0x12778c0, __p=0x12797c0) at /usr/include/c++/4.8.2/bits/stl_tree.h:396
#8  std::_Rb_tree<std::string, std::pair<std::string const, cOpt>, std::_Select1st<std::pair<std::string const, cOpt> >, std::less<std::string>, std::allocator<std::pair<std::string const, cOpt> > >::_M_erase (this=this@entry=0x12778c0, 
    __x=0x12797c0) at /usr/include/c++/4.8.2/bits/stl_tree.h:1127
#9  0x00000000004c88a4 in std::_Rb_tree<std::string, std::pair<std::string const, cOpt>, std::_Select1st<std::pair<std::string const, cOpt> >, std::less<std::string>, std::allocator<std::pair<std::string const, cOpt> > >::_M_erase (
    this=this@entry=0x12778c0, __x=0x1279720) at /usr/include/c++/4.8.2/bits/stl_tree.h:1125
#10 0x00000000004c88a4 in std::_Rb_tree<std::string, std::pair<std::string const, cOpt>, std::_Select1st<std::pair<std::string const, cOpt> >, std::less<std::string>, std::allocator<std::pair<std::string const, cOpt> > >::_M_erase (
    this=this@entry=0x12778c0, __x=0x1279680) at /usr/include/c++/4.8.2/bits/stl_tree.h:1125
#11 0x00000000004c88a4 in std::_Rb_tree<std::string, std::pair<std::string const, cOpt>, std::_Select1st<std::pair<std::string const, cOpt> >, std::less<std::string>, std::allocator<std::pair<std::string const, cOpt> > >::_M_erase (
    this=this@entry=0x12778c0, __x=0x1279540) at /usr/include/c++/4.8.2/bits/stl_tree.h:1125
#12 0x00000000004c88a4 in std::_Rb_tree<std::string, std::pair<std::string const, cOpt>, std::_Select1st<std::pair<std::string const, cOpt> >, std::less<std::string>, std::allocator<std::pair<std::string const, cOpt> > >::_M_erase (
    this=0x12778c0, __x=0x1279290) at /usr/include/c++/4.8.2/bits/stl_tree.h:1125
#13 0x0000000000640527 in ~_Rb_tree (this=0x12778c0, __in_chrg=<optimized out>) at /usr/include/c++/4.8.2/bits/stl_tree.h:671
#14 ~map (this=0x12778c0, __in_chrg=<optimized out>) at /usr/include/c++/4.8.2/bits/stl_map.h:96
#15 WORLD::~WORLD (this=0x12778b0, __in_chrg=<optimized out>) at worldfactory.h:22
#16 0x00000000006380a1 in worldfactory::make_new_world (this=0xd281c0) at worldfactory.cpp:122
#17 0x0000000000578153 in game::opening_screen (this=0x7ffff7f62010) at main_menu.cpp:452
#18 0x0000000000407f38 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:102
(gdb)
@namarrgon

This comment has been minimized.

Copy link
Contributor

commented Nov 26, 2013

This doesn't happen as of 1af62d1.

@dwarfkoala

This comment has been minimized.

Copy link

commented Dec 3, 2013

Is this fixed? Can it be closed?

@namarrgon

This comment has been minimized.

Copy link
Contributor

commented Dec 3, 2013

I didn't have time to bisect it but since my last comment it works-as-expected™.

Close it. It can always be reopened if the problem reemerges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.