Views: 23,299,362 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 12-13-24 01:51 AM
Guest:

0 users reading "std::bad_alloc" when trying to launch ROM from FTP server | 1 bot

Main - Development - "std::bad_alloc" when trying to launch ROM from FTP server Hide post layouts | New reply


SSUPII
Posted on 06-01-24 08:52 AM Link | #6689
Opened "/run/user/1000/gvfs/ftp:host=192.168.1.129,port=2221/ROM/NDS/POKEMON P_APAI01_5.nds" with FileMode 0x1 (effective mode "rb")
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Annullato (core dump creato)

This is the last output for the emulator when a ROM is placed on a mounted FTP server with GVfs.

Loading ROMs from other media of course just works, but something breaks when attempting to run from the FTP server.

kikilxve
Posted on 06-01-24 04:10 PM (rev. 2 of 06-01-24 04:13 PM) Link | #6690
Why exactly would you need to run a ROM from a FTP server? Can't you just, like, download It from there?
Also, Is your melonDS up to date?
And are you sure you didn't leak an IP address on that? Because i can see one.

____________________
i love pinkpantheress -v-
sleepy today, it's the same tomorrow.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
go to https://pict.chat (sometimes i'm there)
https://dontasktoask.com
filler text

Generic aka RSDuck
Posted on 06-01-24 04:19 PM (rev. 2 of 06-01-24 04:20 PM) Link | #6692
it is a local IP address (starting with 192.168) so there is no danger.

It is hard to say where the bad alloc comes from (whether it is from melonDS or maybe the FTP driver). If you can maybe try compiling a debug build of melonDS and then run it with gdb to get a stack trace?

____________________
Take me to your heart / never let me go!

"clearly you need to mow more lawns and buy a better pc" - Hydr8gon


Main - Development - "std::bad_alloc" when trying to launch ROM from FTP server Hide post layouts | New reply

Page rendered in 0.037 seconds. (2048KB of memory used)
MySQL - queries: 30, rows: 83/83, time: 0.031 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.