[GH-ISSUE #168] I just get double free or corruption (out): Aborted #39

Closed
opened 2026-03-07 19:19:48 +03:00 by kerem · 3 comments
Owner

Originally created by @tekjunkie6502 on GitHub (Aug 7, 2024).
Original GitHub issue: https://github.com/007revad/Synology_M2_volume/issues/168

DS918+
Version: 7.1.1-42962 Update 6

I just get an error below,

@DSNAS:~$ sudo -s /var/services/homes/jippie/syno_create_m2_volume.sh -h
double free or corruption (out)
Aborted

Originally created by @tekjunkie6502 on GitHub (Aug 7, 2024). Original GitHub issue: https://github.com/007revad/Synology_M2_volume/issues/168 DS918+ Version: 7.1.1-42962 Update 6 I just get an error below, ``` @DSNAS:~$ sudo -s /var/services/homes/jippie/syno_create_m2_volume.sh -h double free or corruption (out) Aborted ```
kerem closed this issue 2026-03-07 19:19:48 +03:00
Author
Owner

@007revad commented on GitHub (Aug 7, 2024):

double free or corruption (out)
This is a memory error from the Synology. It most likely means that free was called twice on the same block of memory, or that something was overwritten that shouldn't have been. The "free" command is not used in the script.

Did you download the "Source code.zip" from here: https://github.com/007revad/Synology_M2_volume/releases/tag/v2.0.28

Did you view or edit the syno_create_m2_volume.sh file? If you viewed it on a computer and saved it you may have changed the line endings.

How are connecting via SSH to the Synology? Putty? Windows Power Shell?

<!-- gh-comment-id:2273332324 --> @007revad commented on GitHub (Aug 7, 2024): > double free or corruption (out) This is a memory error from the Synology. It most likely means that free was called twice on the same block of memory, or that something was overwritten that shouldn't have been. The "free" command is not used in the script. Did you download the "Source code.zip" from here: https://github.com/007revad/Synology_M2_volume/releases/tag/v2.0.28 Did you view or edit the syno_create_m2_volume.sh file? If you viewed it on a computer and saved it you may have changed the line endings. How are connecting via SSH to the Synology? Putty? Windows Power Shell?
Author
Owner

@tekjunkie6502 commented on GitHub (Aug 7, 2024):

I am on linux mint and I used DSM to extract the files.
I connect via SSH.

But it has nothing to do with your script, which is not handy as I have no clue.
...
#!/usr/bin/env bash
echo "poppo"
...
As soon as I add "#!/usr/bin/env bash" is caused the same error

https://github.com/acmesh-official/acme.sh/issues/3972
People with the same error other scripts

<!-- gh-comment-id:2273399864 --> @tekjunkie6502 commented on GitHub (Aug 7, 2024): I am on linux mint and I used DSM to extract the files. I connect via SSH. But it has nothing to do with your script, which is not handy as I have no clue. ... #!/usr/bin/env bash echo "poppo" ... As soon as I add "#!/usr/bin/env bash" is caused the same error [https://github.com/acmesh-official/acme.sh/issues/3972](url) People with the same error other scripts
Author
Owner

@tekjunkie6502 commented on GitHub (Aug 7, 2024):

nothing to do with this script error in my system

<!-- gh-comment-id:2273502519 --> @tekjunkie6502 commented on GitHub (Aug 7, 2024): nothing to do with this script error in my system
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_M2_volume#39
No description provided.