Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
getdp
getdp
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • getdp
  • getdpgetdp
  • Issues
  • #38

Closed
Open
Opened Mar 27, 2017 by Christophe Geuzaine@geuzaineOwner

Segmentation fault in GetDP 2.11.0 64-bit Windows

Working with the enclosed files, the command getdp 2D_eucard_v3.pro -pre ResolutionH -msh 2D_eucard_v3.msh behaves differently between the 32 and 64-bit versions of the GetDP 2.11.0 Windows executable. With the 32-bit version, the command works fine whereas with the 64-bit executable it generates a segmentation fault.

The error seems to happen while executing

GlobalQuantity_P = (struct GlobalQuantity*)
  List_Pointer(QuantityStorage_P->FunctionSpace->GlobalQuantity,
  *(int*) List_Pointer(DefineQuantity_P->IndexInFunctionSpace,0)

in file Kernel/Treatment_Formulation.cpp around line 669. In the 64-bit Windows version, the pointer to QuantityStorage_P->FunctionSpace is invalid (0xFFFFFFFF00000001) while it was ok in the 32-bit version. I figured the problem could be circumvented by increasing NBR_MAX_BASISFUNCTIONS in Interface/ProData.h.

2D_eucard_v3.pro

2D_eucard_parameters_v3.geo

2D_eucard_v3.geo

2D_eucard_macros_v3.geo

2D_eucard_display_v3.geo

Edited Aug 05, 2017 by Christophe Geuzaine
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: getdp/getdp#38