You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "richardinemi (via GitHub)" <gi...@apache.org> on 2025/05/06 12:39:19 UTC
[I] [Bug][Backend] GIN fatal error: unknown caller pc [incubator-devlake]
richardinemi opened a new issue, #8427:
URL: https://github.com/apache/incubator-devlake/issues/8427
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened

### What do you expect to happen
It could be link with the fact that i have upgrade some base image version on dockerfile and it’s very difficult to track exactly the issue because i can’t reproduce it on local.
### How to reproduce
It’s appear onnly on kubernetes cloud deployment and i can’t reproduce the error on local. It’s work well when i’m deploying with helm or docker compose on local.
### Anything else
_No response_
### Version
v1.0.1
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Backend] GIN fatal error: unknown caller pc [incubator-devlake]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #8427:
URL: https://github.com/apache/incubator-devlake/issues/8427#issuecomment-2854427237
<!-- Greeting -->
Hello @richardinemi! I'm [Dosu](https://dosu.dev), your friendly bot here to help you with bugs, answer questions, and guide you towards becoming a contributor. I'm here to assist you while you wait for a human maintainer. Let's tackle this issue together!
<!-- Answer -->
The error you're encountering might be related to compatibility issues between the Gin framework and the base image version used in your Kubernetes deployment. Since you mentioned upgrading some base image versions in the Dockerfile, it's possible that these changes are affecting the runtime environment in a way that leads to the "unknown caller pc" error.
Here are a few steps you can take to troubleshoot and potentially resolve the issue:
1. **Check Base Image Versions**: Ensure that the base image versions in your Dockerfile are compatible with the Gin framework version (`v1.9.1`) used in the project <sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/go.mod)</sup>. You can compare the versions used locally versus those in the cloud deployment.
2. **Review Dockerfile Dependencies**: Verify the dependencies and their versions listed in the Dockerfile. The current versions are:
- Golang: `golang:1.20.5-bookworm`
- libgit2: `v1.3.2`
- Mockery: `github.com/vektra/mockery/v2@v2.20.0`
- Swag: `github.com/swaggo/swag/cmd/swag@v1.16.1`
- Python: `python:3.9-slim-bookworm` <sup>[[2]](https://github.com/apache/incubator-devlake/blob/main/backend/Dockerfile)</sup>.
3. **Kubernetes-Specific Issues**: Since the error only appears in Kubernetes cloud deployment, consider checking for any Kubernetes-specific configurations or limitations that might affect the Gin framework. There is a known issue related to Kubernetes deployment in the project, specifically a "Go Panic in OpenShift Kubernetes" caused by the Dynatrace agent <sup>[[3]](https://github.com/apache/incubator-devlake-website/blob/main/docs/Troubleshooting/Installation.md)</sup><sup>[[4]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.21/Troubleshooting/Installation.md)</sup>. Although this might not be directly related, reviewing similar issues could provide insights.
4. **Environment Differences**: Investigate any differences between your local and cloud environments, such as network configurations, resource limits, or security settings that might impact the application's behavior.
5. **Logs and Monitoring**: Enable detailed logging and monitoring in your Kubernetes deployment to capture more information about the error and its context. This might help identify the root cause.
If these steps don't resolve the issue, consider isolating the problem by deploying a minimal version of your application with only the Gin framework and its dependencies to see if the error persists.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/6a748110-c386-41a0-99f9-836925cebc5e?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/6a748110-c386-41a0-99f9-836925cebc5e?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/6a748110-c386-41a0-99f9-836925cebc5e?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/6a748110-c386-41a0-99f9-836925cebc5e?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/6a748110-c386-41a0-99f9-836925cebc5e?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/6a748110-c386-41a0-99f9-836925cebc5e?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/6a748110-c386-41a0-99f9-836925cebc5e?feedback_type=other)</sup>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Backend] GIN fatal error: unknown caller pc [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8427:
URL: https://github.com/apache/incubator-devlake/issues/8427#issuecomment-3066297205
This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Backend] GIN fatal error: unknown caller pc [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8427:
URL: https://github.com/apache/incubator-devlake/issues/8427#issuecomment-3040480906
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Backend] GIN fatal error: unknown caller pc [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8427: [Bug][Backend] GIN fatal error: unknown caller pc
URL: https://github.com/apache/incubator-devlake/issues/8427
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org