Stack Smashing Detected - Requests Library #23

Closed
opened 2025-09-19 11:57:28 +10:00 by DiamondNether90 · 3 comments

When trying to run the following code, the terminal errors with

*** stack smashing detected ***: terminated
fish: Job 1, 'ground test.grnd' terminated by signal SIGABRT (Abort)

The code is

extern "request"
pusharg "https://example.com"
call !request:simpleRequest &store
When trying to run the following code, the terminal errors with ``` *** stack smashing detected ***: terminated fish: Job 1, 'ground test.grnd' terminated by signal SIGABRT (Abort) ``` The code is ``` extern "request" pusharg "https://example.com" call !request:simpleRequest &store ```
Author
Member

(btw this happens with any link afaik)

(btw this happens with any link afaik)
Owner

it works on my machine

In all seriousness, what's actually going on? do you have CPR properly installed? if you're not able to have installed it through your package manager, check your version and see if you're running a git build.

*it works on my machine* In all seriousness, what's actually going on? do you have CPR properly installed? if you're not able to have installed it through your package manager, check your version and see if you're running a git build.
Author
Member

Running sudo tee /etc/ld.so.conf.d/cpr.conf fixed the issue

Running `sudo tee /etc/ld.so.conf.d/cpr.conf` fixed the issue
This repo is archived. You cannot comment on issues.
No Label
2 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ground/ground-old#23