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

Segfault when holding direction key #41

Closed
Conscio opened this issue Mar 8, 2012 · 1 comment
Closed

Segfault when holding direction key #41

Conscio opened this issue Mar 8, 2012 · 1 comment

Comments

@Conscio
Copy link

Conscio commented Mar 8, 2012

With new version It started to crash when running somewhere for a while.
Here is a backtace:
#0 0x080c485e in std::vector<itype_id, std::allocator<itype_id> >::size (this=0x3c)

at /usr/include/c++/4.6/bits/stl_vector.h:571

#1 0x080c46d4 in std::vector<itype_id, std::allocator<itype_id> >::vector (this=0xbfda0174,

__x=...) at /usr/include/c++/4.6/bits/stl_vector.h:279

#2 0x082dcbfc in map::place_items (this=0xbfdf0318, loc=mi_road, chance=5, x1=0, y1=0, x2=23,

y2=23, ongrass=false, turn=4977) at mapgen.cpp:6034

#3 0x082b29a4 in map::draw_map (this=0xbfdf0318, terrain_type=ot_road_ns, t_north=ot_road_ns,

t_east=ot_house_west, t_south=ot_road_new, t_west=ot_house_east, t_above=ot_null, 
turn=4977, g=0xb7f08008) at mapgen.cpp:624

#4 0x082afceb in map::generate (this=0xbfdf0318, g=0xb7f08008, om=0xb7f0acbc, x=148, y=256,

turn=4977) at mapgen.cpp:142

#5 0x082984e9 in map::loadn (this=0xbfe8b4fc, g=0xb7f08008, worldx=144, worldy=257, gridx=4,

gridy=0) at map.cpp:1731

#6 0x08296403 in map::load (this=0xbfe8b4fc, g=0xb7f08008, wx=144, wy=257) at map.cpp:1454
#7 0x0816270a in game::update_map (this=0xb7f08008, x=@0xbff5ef24, y=@0xbff5ef28)

at game.cpp:5540

#8 0x081600cb in game::plmove (this=0xb7f08008, x=62, y=71) at game.cpp:5186
#9 0x08145a45 in game::get_input (this=0xb7f08008) at game.cpp:1112
#10 0x081437eb in game::do_turn (this=0xb7f08008) at game.cpp:630
#11 0x08278fc1 in main (argc=1, argv=0xbffff254) at main.cpp:35

Sorry if this is not a right place for bug reports

@Whales
Copy link
Owner

Whales commented Mar 8, 2012

Fixed, thank you.

@Whales Whales closed this as completed Mar 8, 2012
kevingranade pushed a commit to kevingranade/Cataclysm that referenced this issue Feb 20, 2013
Add bindist files to the .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants