I thought of this after a recent bug I found. I use Vivaldi browser and recently it updated. After the update my mouse cursor was not visible when within the browser window. Other programs worked fine. I tried visual studio and steam and epic game store all had my mouse, Vivaldi didn’t.

I closed all instances of Vivaldi via task nanager(was unable to click the x) and restarted it. That fixed the bug and I haven’t been able to replicate so I don’t have anything to submit for a bug report. Just a really strange thing.

What have been your weirdest bugs?

  • jh29a@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    Definitely (being young and recency bias) all the weird stuff happening in the lua engine in the old ComputerCraft versions (1.45ish and 1.75) I’m playing.

    I’m not really testing rigorously enough, but it seems to have been in 1.45, which i stopped playing because of other reasons (turtle api too primitive), making a function a() return a function b() that captures one of a’s local variables, made it crash.

    now on 1.75 it doesn’t do that anymore, but now I pass some functions through the output of a coroutine, and they just sometimes turn into nil when I call them the second time. it literally throws “attempt to call nil on line 245” when line 245 is like:

    242 if func == nil then
    243  -- something else
    244 else
    245   resA, resB = func()
    246 end
    

    I even printed func before calling it, and it told me it was a function, except earlier, where it told me it was nil. Now I’m going to stop using coroutines and hope the architecture of my program changes enough so the bug goes away.

    I’m playing the Direwolf20 season 7 minecraft modpack btw

    • jh29a@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 days ago

      ok the last one was because i misspelled an identifier and because when you call a function in a table, my stupid lua attributes the problem to the call site and not where the function is defined