Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3587 closed defect (fixed)

Segfault (on OSX) in PickEntitiesAtPoint

Reported by: wraitii Owned by: wraitii
Priority: Should Have Milestone: Alpha 19
Component: UI & Simulation Keywords:
Cc: Patch:

Description

I was playing a 3v3 MP game when the game segfaulted, see the attached report.

Relevant stuff is on thread 0.

 EXC_BAD_ACCESS

KERN_INVALID_ADDRESS

hread 0 Crashed:: Dispatch queue: com.apple.main-thread

0   pyrogenesis                   	0x000000011011a3a7 void std::!__1::!__sort!<EntitySelection::PickEntityAtPoint(CSimulation2&, CCamera const&, int, int, int, bool)::$_0&, std::__1::pair<float, CEntityHandle>*>(std::!__1::pair<float, CEntityHandle>*, std::!__1::pair<float, CEntityHandle>*, EntitySelection::!PickEntityAtPoint(CSimulation2&, CCamera const&, int, int, int, bool)::$_0&) + 1415 (!algorithm:3980)

1   pyrogenesis                   	0x0000000110118b00 EntitySelection::!PickEntityAtPoint(CSimulation2&, CCamera const&, int, int, int, bool) + 768 (!CmpPtr.h:68)

2   pyrogenesis                   	0x000000011039c1f0 bool ScriptInterface::call<unsigned int, int, int, &((anonymous namespace)::!PickEntityAtPoint(ScriptInterface::!CxPrivate*, int, int))>(JSContext*, unsigned int, JS::Value*) + 736 (!RootingAPI.h:733)

3   ???                           	0x0000000147344150 0 + 5489574224

Attachments (1)

Crash (52.4 KB ) - added by wraitii 8 years ago.

Download all attachments as: .zip

Change History (3)

by wraitii, 8 years ago

Attachment: Crash added

comment:1 by wraitii, 8 years ago

Owner: set to wraitii
Resolution: fixed
Status: newclosed

In 17228:

Check if units are in the world in UnitRenderer::PickAllEntitiesAtPoint. Probably fixes #3587, though I'm not sure as it proved unreproducible.

comment:2 by wraitii, 8 years ago

Component: Core engineUI & Simulation
Milestone: BacklogAlpha 19
Note: See TracTickets for help on using tickets.