René's URL Explorer Experiment


Title: Segfaults and wrong parse errors when using object_hook · Issue #48 · python-rapidjson/python-rapidjson · GitHub

Open Graph Title: Segfaults and wrong parse errors when using object_hook · Issue #48 · python-rapidjson/python-rapidjson

X Title: Segfaults and wrong parse errors when using object_hook · Issue #48 · python-rapidjson/python-rapidjson

Description: First, I am not really sure about my diagnosis because it is not easy to reproduce, but I have ran tests often and long enough to be quite sure. It seems like I'm seeing segfaults or irreproducible (i.e. when feeding the json again, it p...

Open Graph Description: First, I am not really sure about my diagnosis because it is not easy to reproduce, but I have ran tests often and long enough to be quite sure. It seems like I'm seeing segfaults or irreproducible...

X Description: First, I am not really sure about my diagnosis because it is not easy to reproduce, but I have ran tests often and long enough to be quite sure. It seems like I'm seeing segfaults or irreproduc...

Opengraph URL: https://github.com/python-rapidjson/python-rapidjson/issues/48

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Segfaults and wrong parse errors when using object_hook","articleBody":"First, I am not really sure about my diagnosis because it is not easy to reproduce, but I have ran tests often and long enough to be quite sure. It seems like I'm seeing segfaults or irreproducible (i.e. when feeding the json again, it parses just fine) parse errors (\"ValueError: Parse error at offset 2881568: Terminate parsing due to Handler error.\") when using rapidjson.loads with an object_hook callback.\r\n\r\nUsing Python's faulthandler, the segfaults come from no definite place. The offset the parse error happens is always on the \"},\" between two records (so after the object_hook callback has been called?).\r\n\r\nI tried this with Alpine Linux 3.4.4 and their Python 3.5 apks,  a freshly compiled Python 3.5.2, and also a freshly compiled Python 3.5.2 on latest Debian. python-rapidjson is 0.0.6 from PyPI.\r\n\r\nMy application is a AWS Kinesis client app, which just parses jsons from the incoming stream and writes these to S3. I cannot reproduce without writing to S3, so it seems like boto3/urllib3/socket interaction is required for this to happen. Chances to see this increase when under load (continuously parsing ~9MB jsons) and using multiple threads, although I experienced these faults also completely single threaded.\r\n","author":{"url":"https://github.com/lightblu","@type":"Person","name":"lightblu"},"datePublished":"2016-11-21T09:09:06Z","url":"https://github.com/python-rapidjson/python-rapidjson/issues/48"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:59e3bc4f-1299-149d-f5e6-8ccbb4e47b4d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB844:24C844:C4EDF8:102F7FF:6AF85B0E
html-safe-nonce5df4e17b55ad22dc94894d2cbc8a92148ecec1c51b3e50529a6d61e390b00b34
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODQ0OjI0Qzg0NDpDNEVERjg6MTAyRjdGRjo2QUY4NUIwRSIsInZpc2l0b3JfaWQiOiIxMjQ3MTEwMTA5MTM4MDE3MDM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd02d332c91787552691727b0587c02c292d33dfc7496504a9271140f3dd972f3
hovercard-subject-tagissue:190656765
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/python-rapidjson/python-rapidjson/48/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e592e2e2ec532ca17068ce0ff954d5402b99fcb40e5c8e611138cfee7ca57c15/python-rapidjson/python-rapidjson/issues/48
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e592e2e2ec532ca17068ce0ff954d5402b99fcb40e5c8e611138cfee7ca57c15/python-rapidjson/python-rapidjson/issues/48
og:image:altFirst, I am not really sure about my diagnosis because it is not easy to reproduce, but I have ran tests often and long enough to be quite sure. It seems like I'm seeing segfaults or irreproducible...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelightblu
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-preview
go-importgithub.com/python-rapidjson/python-rapidjson git https://github.com/python-rapidjson/python-rapidjson.git
octolytics-dimension-user_id25253642
octolytics-dimension-user_loginpython-rapidjson
octolytics-dimension-repository_id42155092
octolytics-dimension-repository_nwopython-rapidjson/python-rapidjson
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id42155092
octolytics-dimension-repository_network_root_nwopython-rapidjson/python-rapidjson
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
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-rapidjson/python-rapidjson/issues/48#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-rapidjson%2Fpython-rapidjson%2Fissues%2F48
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-rapidjson%2Fpython-rapidjson%2Fissues%2F48
Sign uphttps://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=python-rapidjson%2Fpython-rapidjson
Reloadhttps://github.com/python-rapidjson/python-rapidjson/issues/48
Reloadhttps://github.com/python-rapidjson/python-rapidjson/issues/48
Reloadhttps://github.com/python-rapidjson/python-rapidjson/issues/48
python-rapidjsonhttps://github.com/python-rapidjson
python-rapidjsonhttps://github.com/python-rapidjson/python-rapidjson
Codehttps://github.com/python-rapidjson/python-rapidjson
Issues12 (12)https://github.com/python-rapidjson/python-rapidjson/issues
Pull requests7 (7)https://github.com/python-rapidjson/python-rapidjson/pulls
Actionshttps://github.com/python-rapidjson/python-rapidjson/actions
Projectshttps://github.com/python-rapidjson/python-rapidjson/projects
Wikihttps://github.com/python-rapidjson/python-rapidjson/wiki
Security and qualityhttps://github.com/python-rapidjson/python-rapidjson/security
Insightshttps://github.com/python-rapidjson/python-rapidjson/pulse
https://github.com/python-rapidjson/python-rapidjson
New issuehttps://github.com/login?return_to=https://github.com/python-rapidjson/python-rapidjson/issues/48
New issuehttps://github.com/login?return_to=https://github.com/python-rapidjson/python-rapidjson/issues/48
Segfaults and wrong parse errors when using object_hookhttps://github.com/python-rapidjson/python-rapidjson/issues/48#top
https://github.com/lightblu
lightbluhttps://github.com/lightblu
on Nov 21, 2016https://github.com/python-rapidjson/python-rapidjson/issues/48#issue-190656765
https://github.com/lelit
lelithttps://github.com/lelit
on Jan 26, 2017https://github.com/python-rapidjson/python-rapidjson/issues/48#issuecomment-275529798
lelithttps://github.com/lelit
on Mar 4, 2017https://github.com/python-rapidjson/python-rapidjson/issues/48#event-986475414
Fix a refcount error when passing object_hook to loads()https://github.com/lelit/python-rapidjson/commit/d415bc75cdd4f1a0e3a5a76b8bbea1c175481324
d415bc7https://github.com/lelit/python-rapidjson/commit/d415bc75cdd4f1a0e3a5a76b8bbea1c175481324
https://github.com/lelit
lelithttps://github.com/lelit
on Mar 5, 2017https://github.com/python-rapidjson/python-rapidjson/issues/48#issuecomment-284239216
lelithttps://github.com/lelit
completedhttps://github.com/python-rapidjson/python-rapidjson/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 5, 2017https://github.com/python-rapidjson/python-rapidjson/issues/48#event-986824126
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-rapidjson/python-rapidjson/issues/48
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-rapidjson/python-rapidjson/issues/48
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.