Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
JPScore
JPScore
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 92
    • Issues 92
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • JuPedSim
  • JPScoreJPScore
  • Issues
  • #174

Closed
Open
Opened Feb 11, 2016 by Mohcine Chraibi@chraibi1Owner

Segmentation Fault

The problem occurs since commit edf536ae.

Simulation with these files:

  • UBF_routing.xml
  • UBF_dummy_id_6_seed_3011.xml
  • UBF_geo_extra_rooms.xml

The simulation starts with this error:

ERROR:   Cannot find valid destination for ped [16] 
located in room [0] subroom [0] going to destination [-1]

I could trace the problem back to the call of Pedestrian::GetV0Norm()

 const Point& target = _navLine->GetCentre()

target is invalid:

read memory from 0x28 failed (0 of 8 bytes read)

therefore the following call

     double nav_elevation = sub->GetElevation(target);

leads to SegFault.

@Arne maybe you can fix this swiftly..

Changing the router from quickest to global solves the problem. But here the very first problem (ped 16 not finding his ways) does not occur. Maybe, we delete a ped, and then try later to access his parameters?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: jupedsim/jpscore#174