Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Turned out the crash was caused by a mishandled...

    Turned out the crash was caused by a mishandled conversion of code, fixed and working without crashes now, now I just gotta figure out why the scan end prematurely.
  2. Found the cause of that one, turns out I need to...

    Found the cause of that one, turns out I need to set the value of nodes earlier than I had placed it, didn't expect it to be NULL because it didn't crash when setting the 'space' pointer, finally got...
  3. Found where it crashes: int dump_files_init(...

    Found where it crashes:


    int dump_files_init( dump_t *dump ) {
    uint i;
    uchar *_;
    nodes_t *nodes;
    space_t *space;

    if ( !dump )
  4. Never mind found the issue with that one, turned...

    Never mind found the issue with that one, turned out I forgot to put the members of the 1st item in an object so it somehow never filled the text list, still getting a sudden crash when I try to scan...
  5. It seem my fixes were unrelated to the crash,...

    It seem my fixes were unrelated to the crash, apparently I got lucky for a while where this crash should've occurred, I forced it to appear in every place it should do so by adding a concatenation...
  6. Remembered the thought, it was about how I was...

    Remembered the thought, it was about how I was leaking memory when clearing the data in a dump_t object, unfortunately attempting to resolve that problem lead to gasp crashing before it even reported...
  7. Managedto find the source of that corrupt ion...

    Managedto find the source of that corrupt ion after noticing a specific instance of clearing a sub object to 0 doesn't preserve the given buffer and size values, after moving the common clear out...
  8. Just reattempted a debugging session only to find...

    Just reattempted a debugging session only to find gede pops up that error upon launching deep-gasp-d.elf, I'm starting to think gede doesn't like being launched under pkexec from user mode, if you...
  9. The problem is it's not a global variable and it...

    The problem is it's not a global variable and it floats around a fair bit making it hard to track without just printing it's data, also I suck at using command line debugging which is why I'm using...
  10. Need help finding the cause of a probably memory corruption

    Tried using gede but at the point of gasp crashing it is somehow expects different to what it receives (think it said expecting var but got }), I managed to find the line of code it crashes at by...
  11. Thread: Math as Code

    by awsdert
    Replies
    0
    Views
    93

    Math as Code

    Just found out about this resource, much easier for me to learn to understand various math symbols with this, I suggest this thread be made a sticky and anyone finding similar resources post them on...
  12. Replies
    0
    Views
    96

    Memory dump is failing somehow

    After investigating the data the later proc_handle_aobscan() was actually comparing against I found all the read data to be 0, I've now commented out the call so I can print the values before they...
  13. Replies
    1
    Views
    136

    Managed to fix it, mishandled the return values...

    Managed to fix it, mishandled the return values of 2 different functions which prevented the scan from being done in the 1st place, so not overwritten, just never filled to begin with

    Edit: Forgot...
  14. Replies
    1
    Views
    136

    Need help finding an unintended overwrite

    I've confirmed that 'lua_proc_handle_prep_scan' (called by 'lua_proc_handle_dump' and 'lua_proc_handle_bytescan') indeed receives the correct range but sometime between there and attempting to start...
  15. Thread: cron and c.out

    by awsdert
    Replies
    19
    Views
    398

    That just circles back to my point that the...

    That just circles back to my point that the number isn't being overwritten correctly, jc, for clarity I mean something like this example in the case addTo was made to just return num + 1

    The text...
  16. Thread: cron and c.out

    by awsdert
    Replies
    19
    Views
    398

    Er just realised I said lseek instead of fseek,...

    Er just realised I said lseek instead of fseek, would edit the post but I've just turned off my pc to go to bed and editing with a phone is annoyoing to do
  17. Thread: cron and c.out

    by awsdert
    Replies
    19
    Views
    398

    Er, why are you flushing stdout when you haven't...

    Er, why are you flushing stdout when you haven't sent anything to it yet???
    Also instead of opening the files twice under I suggest the following:


    weather_file =...
  18. Well addresses are fixed, now I just gotta figure...

    Well addresses are fixed, now I just gotta figure out that leak, turned out I had messed up somehow right before I started dumping, now I use a container function to sort that out consistently at...
  19. Thread: cron and c.out

    by awsdert
    Replies
    19
    Views
    398

    Don't be too sure of that, even expert...

    Don't be too sure of that, even expert programmers (of which I would like to call myself but not dumb enough to try) can and will make mistakes in their code, just recently I made the mistake of...
  20. Thread: cron and c.out

    by awsdert
    Replies
    19
    Views
    398

    I beg to differ, see if you can spot why from the...

    I beg to differ, see if you can spot why from the quote :)
    Anyways what is cron?

    Edit: Oh so it was just a schedular
  21. Managed to fix it, can't remember all the...

    Managed to fix it, can't remember all the possible causes I found but among them a definite cause would be forgetting to shift the file offset back before writing the data (although that should've...
  22. Fixed a lock up caused by incorrect pipe usage,...

    Fixed a lock up caused by incorrect pipe usage, still can't get the results showing however, could really use the help in identifying the cause of that (besides the commented out draw call, I'll wait...
  23. After some decent shuteye I spotted a few issues...

    After some decent shuteye I spotted a few issues and fixed them, I also added a few "fprintf( stderr" statements to make sure I was getting into the loop that at least reads through each region's...
  24. Need a some help spotting the cause of an issue

    First a link to the code:
    GitHub - awsdert/gasp at 6d6ed79f6653fec9509fe69a5edfd2276f1993c7

    Second is the names of the relevant functions to look at:


    proc_handle_dumper()...
  25. Replies
    5
    Views
    337

    Yeah I noticed that last night and fixed it but...

    Yeah I noticed that last night and fixed it but that didn't resolve my main problem so I figured it wasn't worth mentioning, I have managed to fix that main problem just now although with some API...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4