{"id":19128789,"url":"https://github.com/peerlibrary/meteor-segfault-handler","last_synced_at":"2025-11-13T08:01:10.331Z","repository":{"id":18354474,"uuid":"21534468","full_name":"peerlibrary/meteor-segfault-handler","owner":"peerlibrary","description":"Capture node.js stack trace on SIGSEGV and SIGBUS signals","archived":false,"fork":false,"pushed_at":"2015-01-17T16:47:29.000Z","size":170,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-22T16:14:53.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/ddopson/node-segfault-handler","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peerlibrary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-06T05:51:31.000Z","updated_at":"2015-01-17T16:47:29.000Z","dependencies_parsed_at":"2022-08-25T12:12:04.079Z","dependency_job_id":null,"html_url":"https://github.com/peerlibrary/meteor-segfault-handler","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/peerlibrary/meteor-segfault-handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerlibrary%2Fmeteor-segfault-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerlibrary%2Fmeteor-segfault-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerlibrary%2Fmeteor-segfault-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerlibrary%2Fmeteor-segfault-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peerlibrary","download_url":"https://codeload.github.com/peerlibrary/meteor-segfault-handler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerlibrary%2Fmeteor-segfault-handler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284177650,"owners_count":26960330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-13T02:00:06.582Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T06:05:40.191Z","updated_at":"2025-11-13T08:01:10.249Z","avatar_url":"https://github.com/peerlibrary.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"segfault-handler package\n========================\n\nMeteor package for capturing Meteor stack trace on `SIGSEGV` and `SIGBUS` signals and receiving a callback\nwhen they occur. It is built upon [node-segfault-handler](https://github.com/ddopson/node-segfault-handler)\nnode.js package.\n\nAdding this package to your [Meteor](http://www.meteor.com/) application adds `SegfaultHandler` object into\nthe global scope.\n\nYou can use `SegfaultHandler.registerHandler` to register a callback which receives `stack`, `signal`, and\n`address` arguments. You can use that callback to log the signal or in some other way handle the signal,\nbut you should be careful that code is not too complex. When `SIGSEGV` or `SIGBUS` signal is received by\nyour Meteor application it means that it did an illegal memory operation and its state is undefined.\n\nServer side only.\n\nInstallation\n------------\n\n```\nmeteor add peerlibrary:segfault-handler\n```\n\nExample\n-------\n\n```coffee\nSegfaultHandler.registerHandler (stack, signal, address) -\u003e\n  message = \"Received SIGSEGV/SIGBUS (#{ signal }) for address 0x#{ address.toString(16) }\"\n  stack = stack.join '\\n'\n  Log.error \"#{ message }\\n#{ stack }\"\n\n  Errors.insert\n    message: message\n    stack: stack\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerlibrary%2Fmeteor-segfault-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeerlibrary%2Fmeteor-segfault-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerlibrary%2Fmeteor-segfault-handler/lists"}