Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. K, I finally got bored of playing DQB2 and am in...

    K, I finally got bored of playing DQB2 and am in the mood to program again, I tried looking up that __atomic but couldn't understand how to use it to achieve similar behavior that is thread safe,...
  2. I'm certainly dabling in the idea of a bootable...

    I'm certainly dabling in the idea of a bootable mitsy compiler, I think it would be most useful for new systems where jnstalling a whole OS just to get optimal binaries of a compiler would be a bit...
  3. Remember how I'm making my own compiler? I wanted...

    Remember how I'm making my own compiler? I wanted something to fallback on when pthreads is unavailable and the first step to that is a que mechanism that can be used along side pthreads (which I'm...
  4. Judging from what I saw on wikipedia...

    Judging from what I saw on wikipedia I'd say yes but without any knowledge of the resources, this is merely to prevent changes occurring to the accompanying data while another is trying to change or...
  5. Dunno what that is, gimme a moment to look it up

    Dunno what that is, gimme a moment to look it up
  6. Someone will probably ask about how I plan to...

    Someone will probably ask about how I plan to remove permission since decrementing can confuse the thread managing the que, it's a simple as this:


    void zque_rem_change_perm( zque_t *zque )
    {...
  7. Had an idea for thread queing, looking for thoughts

    This is currently all I have (because I don't wanna accidentally crash my computer if possible):


    typedef struct zque {
    int id;
    int ret;
    _Bool active;
    uint thread;
    uint glance, change;...
  8. Replies
    3
    Views
    148

    I think I fixed the error, either way I haven't...

    I think I fixed the error, either way I haven't been able to change the interrupt yet, on another note I tried adding in another register I learned off only for the compiler to say MOV doesn't...
  9. Replies
    3
    Views
    148

    Well I managed to fix most of the errors, the one...

    Well I managed to fix most of the errors, the one that remains is that size mismatch which I have no idea how to fix since I don't even know what the problem is


    int set_page_perm( void * addr,...
  10. Replies
    3
    Views
    148

    Been looking into the syntax of asm now that...

    Been looking into the syntax of asm now that gospel is over and got as far as this:


    #include <inttypes.h>
    #include <string.h>

    typedef unsigned int uint;
    typedef unsigned char uchar;...
  11. Replies
    3
    Views
    148

    Help me correct this asm please

    I rarely use assembly so I ended up getting this wrong somehow, would also like to just dump all registers into the 'dst' parameter, as for the reason I made this, had an idea to use executed...
  12. Apparently it was caused by a poorly programmed...

    Apparently it was caused by a poorly programmed realloc/malloc, they apparently do not pad the wanted size with enough room for the variables they want to attach, I've now added in a variable to add...
  13. Well somehow got gede to boot up which allowed me...

    Well somehow got gede to boot up which allowed me to see where the error actually occured, turned out that somehow option->opt was no set at some point despite my handler expicitly declaring it after...
  14. Need help finding clues to a fault involving a call to system()

    Here's the current order of actions
    1. I recompile and launch gasp
    2. gasp generates a shell string for use in system() so that it can launch itself under root user mode (sudo/pkexec)
    3. gasp...
  15. I think it may have been a memory issue, I...

    I think it may have been a memory issue, I fiddled about with some stuff so that text allocations would be all initialised via a loop in main(), finally got through after that, also changed the -D...
  16. Need a little help spotting potential causes of a problem

    First a link to the tree before I forget:
    GitHub - awsdert/gasp at 3b829258bbaa716314b15b023ed0367e5fcf6ed1

    These are the scenarios that I'm programming around (using > to represent launch...
  17. 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.
  18. 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...
  19. 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 )
  20. 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...
  21. 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...
  22. 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...
  23. 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...
  24. 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...
  25. 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...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4