René's URL Explorer Experiment


Title: Singletons in Registry.cc destroyed by Registry::~Registry · Issue #327 · stepcode/stepcode · GitHub

Open Graph Title: Singletons in Registry.cc destroyed by Registry::~Registry · Issue #327 · stepcode/stepcode

X Title: Singletons in Registry.cc destroyed by Registry::~Registry · Issue #327 · stepcode/stepcode

Description: The TypeDescriptors for built in types in Registry.cc: const TypeDescriptor * t_sdaiINTEGER = NULL; const TypeDescriptor * t_sdaiREAL = NULL; const TypeDescriptor * t_sdaiNUMBER = NULL; const TypeDescriptor * t_sdaiSTRING = NULL; const T...

Open Graph Description: The TypeDescriptors for built in types in Registry.cc: const TypeDescriptor * t_sdaiINTEGER = NULL; const TypeDescriptor * t_sdaiREAL = NULL; const TypeDescriptor * t_sdaiNUMBER = NULL; const TypeD...

X Description: The TypeDescriptors for built in types in Registry.cc: const TypeDescriptor * t_sdaiINTEGER = NULL; const TypeDescriptor * t_sdaiREAL = NULL; const TypeDescriptor * t_sdaiNUMBER = NULL; const TypeD...

Opengraph URL: https://github.com/stepcode/stepcode/issues/327

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Singletons in Registry.cc destroyed by Registry::~Registry","articleBody":"The TypeDescriptors for built in types in Registry.cc:\n\nconst TypeDescriptor  \\* t_sdaiINTEGER = NULL;\nconst TypeDescriptor  \\* t_sdaiREAL = NULL;\nconst TypeDescriptor  \\* t_sdaiNUMBER = NULL;\nconst TypeDescriptor  \\* t_sdaiSTRING = NULL;\nconst TypeDescriptor  \\* t_sdaiBINARY = NULL;\nconst TypeDescriptor  \\* t_sdaiBOOLEAN = NULL;\nconst TypeDescriptor  \\* t_sdaiLOGICAL = NULL;\n\nAre initialised as singletons by the Registry::Registry constructor.\n\nWhen multiple Registry objects are created (e.g. STEPfile creates one for processing headers), the first Registry::~Registry destructor called will nuke these type definitions, despite other Registry objects still existing and needing them.\n\nOne potential (and very simple) fix is to just leave them initialised, and drop the following code from Registry::~Registry:\n\n```\nif( t_sdaiINTEGER ) {\n    delete t_sdaiINTEGER;\n    t_sdaiINTEGER = NULL;\n}\nif( t_sdaiREAL ) {\n    delete t_sdaiREAL;\n    t_sdaiREAL = NULL;\n}\nif( t_sdaiSTRING ) {\n    delete t_sdaiSTRING;\n    t_sdaiSTRING = NULL;\n}\nif( t_sdaiBINARY ) {\n    delete t_sdaiBINARY;\n    t_sdaiBINARY = NULL;\n}\nif( t_sdaiBOOLEAN ) {\n    delete t_sdaiBOOLEAN;\n    t_sdaiBOOLEAN = NULL;\n}\nif( t_sdaiLOGICAL ) {\n    delete t_sdaiLOGICAL;\n    t_sdaiLOGICAL = NULL;\n}\nif( t_sdaiNUMBER ) {\n    delete t_sdaiNUMBER;\n    t_sdaiNUMBER = NULL;\n}\n```\n\nI ran into this when running some test code under valgrind.\n","author":{"url":"https://github.com/pcjc2","@type":"Person","name":"pcjc2"},"datePublished":"2015-04-04T23:16:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/327/stepcode/issues/327"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7ab83735-c192-ad7c-1cb2-ebcc74b5583b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB2DE:242157:3B958BC:4DF245A:6974C88A
html-safe-nonce89f43865366e2aaa15175c51baed92d2fefe72f822bf400626d1a8094d5f378b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkRFOjI0MjE1NzozQjk1OEJDOjRERjI0NUE6Njk3NEM4OEEiLCJ2aXNpdG9yX2lkIjoiMzA2NDUwMjc5NTc0MzA1Mzk2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac173b83e3996a8e12ada3f0c2620d4b271102d19348305bc382a079d0a1e8c1e0
hovercard-subject-tagissue:66377837
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/stepcode/stepcode/327/issue_layout
twitter:imagehttps://opengraph.githubassets.com/83409d08c41f02c83f108712026c3ce2baae454af5cefe666bc5dae18cb2befe/stepcode/stepcode/issues/327
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/83409d08c41f02c83f108712026c3ce2baae454af5cefe666bc5dae18cb2befe/stepcode/stepcode/issues/327
og:image:altThe TypeDescriptors for built in types in Registry.cc: const TypeDescriptor * t_sdaiINTEGER = NULL; const TypeDescriptor * t_sdaiREAL = NULL; const TypeDescriptor * t_sdaiNUMBER = NULL; const TypeD...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepcjc2
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/stepcode/stepcode git https://github.com/stepcode/stepcode.git
octolytics-dimension-user_id1761770
octolytics-dimension-user_loginstepcode
octolytics-dimension-repository_id1975387
octolytics-dimension-repository_nwostepcode/stepcode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1975387
octolytics-dimension-repository_network_root_nwostepcode/stepcode
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
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stepcode/stepcode/issues/327#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstepcode%2Fstepcode%2Fissues%2F327
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fstepcode%2Fstepcode%2Fissues%2F327
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=stepcode%2Fstepcode
Reloadhttps://github.com/stepcode/stepcode/issues/327
Reloadhttps://github.com/stepcode/stepcode/issues/327
Reloadhttps://github.com/stepcode/stepcode/issues/327
stepcode https://github.com/stepcode
stepcodehttps://github.com/stepcode/stepcode
Notifications https://github.com/login?return_to=%2Fstepcode%2Fstepcode
Fork 129 https://github.com/login?return_to=%2Fstepcode%2Fstepcode
Star 489 https://github.com/login?return_to=%2Fstepcode%2Fstepcode
Code https://github.com/stepcode/stepcode
Issues 63 https://github.com/stepcode/stepcode/issues
Pull requests 1 https://github.com/stepcode/stepcode/pulls
Actions https://github.com/stepcode/stepcode/actions
Projects 0 https://github.com/stepcode/stepcode/projects
Wiki https://github.com/stepcode/stepcode/wiki
Security 0 https://github.com/stepcode/stepcode/security
Insights https://github.com/stepcode/stepcode/pulse
Code https://github.com/stepcode/stepcode
Issues https://github.com/stepcode/stepcode/issues
Pull requests https://github.com/stepcode/stepcode/pulls
Actions https://github.com/stepcode/stepcode/actions
Projects https://github.com/stepcode/stepcode/projects
Wiki https://github.com/stepcode/stepcode/wiki
Security https://github.com/stepcode/stepcode/security
Insights https://github.com/stepcode/stepcode/pulse
New issuehttps://github.com/login?return_to=https://github.com/stepcode/stepcode/issues/327
New issuehttps://github.com/login?return_to=https://github.com/stepcode/stepcode/issues/327
Singletons in Registry.cc destroyed by Registry::~Registryhttps://github.com/stepcode/stepcode/issues/327#top
https://github.com/mpictor
v0.9 releasehttps://github.com/stepcode/stepcode/milestone/10
https://github.com/pcjc2
https://github.com/pcjc2
pcjc2https://github.com/pcjc2
on Apr 4, 2015https://github.com/stepcode/stepcode/issues/327#issue-66377837
mpictorhttps://github.com/mpictor
v0.9 releaseNo due datehttps://github.com/stepcode/stepcode/milestone/10
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.