On first one it should add data to REDIS
redis-server --version => Redis server v=7.2.0 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=5314023887780e89
On second one u get data out from redis;
By using redis u get back data to make full path to file(btw it is one of CDNs secure mechanism. Redis keep keys as random values that was sent to client and a path to actual file);
In my prod The client gets the picture but in this rep code postman cant get back picture;
Then error occurs
What is the expected behavior?
After point 6 it should be no error
What do you see instead?
error: script "dev" was terminated by signal SIGSEGV (Address boundary error) Segmentation fault
Additional information
There is no error when libriry redis is installed and was connected redis-server and never use function getPhotoFromRedis in class Caching. Postman in such case easy get back file whithout any errors.
What version of Bun is running?
1.0.29+a146856d1
What platform is your computer?
Linux 5.15.133.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
Full code Full error reproduce
bun dev
;redis-server --version => Redis server v=7.2.0 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=5314023887780e89
What is the expected behavior?
After point 6 it should be no error
What do you see instead?
error: script "dev" was terminated by signal SIGSEGV (Address boundary error) Segmentation fault
Additional information
There is no error when libriry redis is installed and was connected redis-server and never use function getPhotoFromRedis in class Caching. Postman in such case easy get back file whithout any errors.
https://github.com/oven-sh/bun/assets/65418952/52191f76-202c-4dd7-aed4-3ca37e507047