Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGSEGV #1541

Open
ruvn-1fgas opened this issue Jan 15, 2025 · 0 comments
Open

SIGSEGV #1541

ruvn-1fgas opened this issue Jan 15, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ruvn-1fgas
Copy link

Describe the bug
Worker is restaring after running any task

Logs

/usr/local/go/src/runtime/asm_amd64.s:1571 runtime.goexit()
invalid character 'p' after top-level value
/go/pkg/mod/github.com/crawlab-team/[email protected]/trace.go:13 github.com/crawlab-team/go-trace.TraceError()
/go/pkg/mod/github.com/crawlab-team/[email protected]/task/handler/service.go:409 github.com/crawlab-team/crawlab-core/task/handler.(*Service).run()
/go/pkg/mod/github.com/crawlab-team/[email protected]/task/handler/service.go:119 github.com/crawlab-team/crawlab-core/task/handler.(*Service).Fetch()
/usr/local/go/src/runtime/asm_amd64.s:1571 runtime.goexit()
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x170739f]

To Reproduce

We are deploying it to kubernetes, so here it is:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: crawlab-worker
  namespace: crawlab
spec:
  replicas: 1
  selector:
    matchLabels:
      app: crawlab-worker
  template:
    metadata:
      labels:
        app: crawlab-worker
    spec:
      containers:
      - image: crawlabteam/crawlab:latest
        imagePullPolicy: IfNotPresent
        name: crawlab
        env:
        - name: CRAWLAB_NODE_MASTER
          value: "N"
        - name: CRAWLAB_GRPC_ADDRESS
          value: "IP:HOST"
        - name: CRAWLAB_FS_FILER_URL
          value: "http://IP/api/filter"
      restartPolicy: Always

Steps to reproduce the behavior:

  1. Run any task on worker
@ruvn-1fgas ruvn-1fgas added the bug Something isn't working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant