René's URL Explorer Experiment


Title: Problem on RPI5 with Python13 · Issue #510 · lmbelo/python4delphi · GitHub

Open Graph Title: Problem on RPI5 with Python13 · Issue #510 · lmbelo/python4delphi

X Title: Problem on RPI5 with Python13 · Issue #510 · lmbelo/python4delphi

Description: Hi, using the last version of P4D on RPI 5 leads to Exception External SIGSEGV. Problem is in method function GetCallBack(Self: TObject; Method: Pointer; ArgNum: Integer; CallType: TCallType): Pointer; nmap didn't allocate the memory. I ...

Open Graph Description: Hi, using the last version of P4D on RPI 5 leads to Exception External SIGSEGV. Problem is in method function GetCallBack(Self: TObject; Method: Pointer; ArgNum: Integer; CallType: TCallType): Poin...

X Description: Hi, using the last version of P4D on RPI 5 leads to Exception External SIGSEGV. Problem is in method function GetCallBack(Self: TObject; Method: Pointer; ArgNum: Integer; CallType: TCallType): Poin...

Opengraph URL: https://github.com/lmbelo/python4delphi/issues/510

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problem on RPI5 with Python13","articleBody":"Hi,\nusing the last version of P4D on RPI 5 leads to Exception External SIGSEGV. \nProblem is in method function  GetCallBack(Self: TObject; Method: Pointer; ArgNum: Integer;\n  CallType: TCallType): Pointer; \n\nnmap didn't allocate the memory.\n\n\nI have solved this problem changing the method code in way\n```pascal\n{$IFDEF CPUARM64}\nfunction  GetCallBack(Self: TObject; Method: Pointer; ArgNum: Integer;\n  CallType: TCallType): Pointer;\nconst\n  S1: array[0..79] of byte = (\n//big-endian\n//offset  \u003c_start\u003e:\n  $fd, $7b, $bf, $a9,  //\tstp\tx29, x30, [sp, #-16]!\n  $fd, $03, $00, $91,  //\tmov\tx29, sp\n  $e0, $07, $bf, $a9,  //\tstp\tx0, x1, [sp, #-16]!\n  $e2, $0f, $bf, $a9,  //\tstp\tx2, x3, [sp, #-16]!\n  $e4, $17, $bf, $a9,  //\tstp\tx4, x5, [sp, #-16]!\n  $e6, $1f, $bf, $a9,  //\tstp\tx6, x7, [sp, #-16]!\n  $0a, $00, $00, $10,  //\tadr\tx10, #0 \u003c_start+0x18\u003e\n  $40, $15, $40, $f9,  //\tldr\tx0, [x10, #40]\n  $49, $19, $40, $f9,  //\tldr\tx9, [x10, #48]\n  $e7, $2f, $c1, $a8,  //\tldp\tx7, x11, [sp], #16\n  $e5, $1b, $c1, $a8,  //\tldp\tx5, x6, [sp], #16\n  $e3, $13, $c1, $a8,  //\tldp\tx3, x4, [sp], #16\n  $e1, $0b, $c1, $a8,  //\tldp\tx1, x2, [sp], #16\n  $20, $01, $3f, $d6,  //\tblr\tx9\n  $fd, $7b, $c1, $a8,  //\tldp\tx29, x30, [sp], #16\n  $c0, $03, $5f, $d6,  //\tret\n  $00, $00, $00, $00,  //\t.word\t0x00000000 //Self\n  $00, $00, $00, $00,  //\t.word\t0x00000000\n  $00, $00, $00, $00,  //\t.word\t0x00000000 //Method\n  $00, $00, $00, $00   //\t.word\t0x00000000\n);\nconst\n  PageSize = 4096;\nvar\n  P, Q: PByte;\n  LLiteralPool: TArray\u003cpointer\u003e;\n  I: Integer;\n  addr: Pointer;\nbegin\n  GetCodeMem(Q, SizeOf(S1));\n  if Q = nil then\n  begin\n    addr := fpMmap(nil, PageSize, PROT_READ or PROT_WRITE or PROT_EXEC, MAP_PRIVATE or MAP_ANONYMOUS, -1, 0);\n    if addr = Pointer(-1) then\n    \t{$IFDEF UNIX}\n      raise Exception.Create('mmap failed: ' + SysErrorMessage(GetLastOSError));\n    \t{$ENDIF}\n    Q := PByte(addr);\n  end;\n\n  P := Q;\n  Move(S1, P^, SizeOf(S1));\n\n  LLiteralPool := TArray\u003cpointer\u003e.Create(Self, Method);\n\n  Inc(P, Length(S1) - (Length(LLiteralPool) * SizeOf(pointer)));\n  for I := Low(LLiteralPool) to High(LLiteralPool) do begin\n    Move(LLiteralPool[I], P^, SizeOf(pointer));\n    Inc(P, SizeOf(pointer));\n  end;\n  {$IFDEF UNIX}\n  if fpMprotect(Pointer(Q), SizeOf(S1), PROT_READ or PROT_EXEC) \u003c\u003e 0 then\n    raise Exception.Create('mprotect failed: ' + SysErrorMessage(GetLastOSError));\n  {$ENDIF}\n\n  {$IF DEFINED(OSX) AND DEFINED(CPUARM64)}\n    {\n      macOS for M1 has a bug (Apple Feedback FB8994773) in which mprotect\n      rejects a permission change from NONE -\u003e RWX.\n      Solution: give RW permission, make memory changes, then change RW to X\n    }\n    //X permission to the entire page for executions...\n    if mprotect(CodeMemPages, PageSize, PROT_EXEC) \u003c\u003e 0 then\n      raise EMProtectError.CreateFmt('MProtect error: %s', [\n        SysErrorMessage({$IFDEF FPC}GetLastOSError{$ELSE}GetLastError{$ENDIF}())]);\n  {$IFEND}\n\n  Result := Pointer(Q); //set arm mode\nend;\n{$ENDIF CPUARM64}      \n```\nMaybe that will help to someone.\n\nBest regards\nBojan\n\n","author":{"url":"https://github.com/comdora","@type":"Person","name":"comdora"},"datePublished":"2025-11-22T11:59:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/510/python4delphi/issues/510"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:86420a64-5977-689e-aed6-31b9d97f06c1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD70A:3CD7D9:2271BA6:2D23796:6A5CAB29
html-safe-noncea850149310bd39ff67e9308a7a7ec704394babde6c896040765f12ddf3ff02c9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzBBOjNDRDdEOToyMjcxQkE2OjJEMjM3OTY6NkE1Q0FCMjkiLCJ2aXNpdG9yX2lkIjoiNTIxNTgwNjEyMTM4MzM0MDg0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacced8f68833a2798d099728c824ab88e9c2d79f5307938f88b68b2ea2ee0dba84
hovercard-subject-tagissue:3654606605
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lmbelo/python4delphi/510/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bdc1a13a23426c18908bed68b7fa2c207f38b9a70500cd9bcc0d41ef4dcee1ee/lmbelo/python4delphi/issues/510
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bdc1a13a23426c18908bed68b7fa2c207f38b9a70500cd9bcc0d41ef4dcee1ee/lmbelo/python4delphi/issues/510
og:image:altHi, using the last version of P4D on RPI 5 leads to Exception External SIGSEGV. Problem is in method function GetCallBack(Self: TObject; Method: Pointer; ArgNum: Integer; CallType: TCallType): Poin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecomdora
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/lmbelo/python4delphi git https://github.com/lmbelo/python4delphi.git
octolytics-dimension-user_id8376898
octolytics-dimension-user_loginlmbelo
octolytics-dimension-repository_id41310993
octolytics-dimension-repository_nwolmbelo/python4delphi
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id41310993
octolytics-dimension-repository_network_root_nwolmbelo/python4delphi
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lmbelo/python4delphi/issues/510#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flmbelo%2Fpython4delphi%2Fissues%2F510
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flmbelo%2Fpython4delphi%2Fissues%2F510
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=lmbelo%2Fpython4delphi
Reloadhttps://github.com/lmbelo/python4delphi/issues/510
Reloadhttps://github.com/lmbelo/python4delphi/issues/510
Reloadhttps://github.com/lmbelo/python4delphi/issues/510
lmbelo https://github.com/lmbelo
python4delphihttps://github.com/lmbelo/python4delphi
Please reload this pagehttps://github.com/lmbelo/python4delphi/issues/510
Notifications https://github.com/login?return_to=%2Flmbelo%2Fpython4delphi
Fork 335 https://github.com/login?return_to=%2Flmbelo%2Fpython4delphi
Star 1.1k https://github.com/login?return_to=%2Flmbelo%2Fpython4delphi
Code https://github.com/lmbelo/python4delphi
Issues 8 https://github.com/lmbelo/python4delphi/issues
Pull requests 2 https://github.com/lmbelo/python4delphi/pulls
Discussions https://github.com/lmbelo/python4delphi/discussions
Actions https://github.com/lmbelo/python4delphi/actions
Projects https://github.com/lmbelo/python4delphi/projects
Wiki https://github.com/lmbelo/python4delphi/wiki
Security and quality 0 https://github.com/lmbelo/python4delphi/security
Insights https://github.com/lmbelo/python4delphi/pulse
Code https://github.com/lmbelo/python4delphi
Issues https://github.com/lmbelo/python4delphi/issues
Pull requests https://github.com/lmbelo/python4delphi/pulls
Discussions https://github.com/lmbelo/python4delphi/discussions
Actions https://github.com/lmbelo/python4delphi/actions
Projects https://github.com/lmbelo/python4delphi/projects
Wiki https://github.com/lmbelo/python4delphi/wiki
Security and quality https://github.com/lmbelo/python4delphi/security
Insights https://github.com/lmbelo/python4delphi/pulse
Problem on RPI5 with Python13https://github.com/lmbelo/python4delphi/issues/510#top
Fixedhttps://github.com/lmbelo/python4delphi/issues?q=state%3Aopen%20label%3A%22Fixed%22
https://github.com/comdora
comdorahttps://github.com/comdora
on Nov 22, 2025https://github.com/lmbelo/python4delphi/issues/510#issue-3654606605
Fixedhttps://github.com/lmbelo/python4delphi/issues?q=state%3Aopen%20label%3A%22Fixed%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.