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

Unhandled panic when exporting variables #824

Closed
lmorg opened this issue Jul 5, 2024 · 0 comments · Fixed by #823
Closed

Unhandled panic when exporting variables #824

lmorg opened this issue Jul 5, 2024 · 0 comments · Fixed by #823
Labels
bug Unexpected behavior deployed to `develop` Feature built. Currently BETA testing in the `develop` branch

Comments

@lmorg
Copy link
Owner

lmorg commented Jul 5, 2024

Describe the bug:
Unhandled panic

Expected behaviour:
Not to crash

Screenshots:

.murex_modules » SSH_AUTH_SOCK=/var/folders/jc/z_166_bd26n6wtf3z9dbm_z40000gn/T//ssh-icbcGyY82Bee/agent.25341; export SSH_AUTH_SOCK;
Error in `SSH_AUTH_SOCK=/var/folders/jc/z_166_bd26n6wtf3z9dbm_z40000gn/T//ssh-icbcGyY82Bee/agent.25341` (0,1): fork/exec SSH_AUTH_SOCK=/var/folders/jc/z_166_bd26n6wtf3z9dbm_z40000gn/T//ssh-icbcGyY82Bee/agent.25341: no such file or directory
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x8 pc=0x102ce88c0]

goroutine 4964 [running]:
github.com/lmorg/murex/builtins/core/typemgmt.cmdExport(0x140004b9328)
        github.com/lmorg/murex/builtins/core/typemgmt/variables.go:128 +0x200
github.com/lmorg/murex/lang.executeProcess(0x140004b9328)
        github.com/lmorg/murex/lang/process.go:322 +0xeb8
created by github.com/lmorg/murex/lang.runModeNormal in goroutine 4928
        github.com/lmorg/murex/lang/interpreter_pc.go:49 +0x4c

Platform (please complete the following information):

  • OS, output from uname -a if supported: macOS
  • Terminal Emulator: iTerm2
  • Murex version, output from version --no-app-name: 6.1.x

Additional context
None

@lmorg lmorg added the bug Unexpected behavior label Jul 5, 2024
@lmorg lmorg changed the title Crash when exporting variables Unhandled panic when exporting variables Jul 5, 2024
@lmorg lmorg linked a pull request Jul 5, 2024 that will close this issue
lmorg added a commit that referenced this issue Jul 5, 2024
@lmorg lmorg added in progress Issue is currently being worked on (possibly in a feature branch) deployed to `develop` Feature built. Currently BETA testing in the `develop` branch labels Jul 6, 2024
@lmorg lmorg mentioned this issue Jul 6, 2024
@lmorg lmorg removed the in progress Issue is currently being worked on (possibly in a feature branch) label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior deployed to `develop` Feature built. Currently BETA testing in the `develop` branch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant