xFCFFDFFFFEFFFAF has quit [Ping timeout: 252 seconds]
Arthuria has joined #osdev
Arthuria has quit [Ping timeout: 260 seconds]
edr has quit [Quit: Leaving]
PapaFrog has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
xFCFFDFFFFEFFFAF has joined #osdev
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
gorgonical has quit [Ping timeout: 260 seconds]
PapaFrog has joined #osdev
gorgonical has joined #osdev
<gorgonical>
well well well. if it isn't my old friend, flaky wifi
<gorgonical>
does anyone here use pijul for source control? somehow it caught my eye and I'm trying to discern if it's a way out of the git madness
chibill has joined #osdev
agent314 has joined #osdev
<geist>
hmm, doesn't ring a bell
agent314 has quit [Ping timeout: 268 seconds]
<gorgonical>
The selling point is that the internals are implemented as a series of diffs/patches on top of a mathematical framework, guaranteeing order independence and other attractive properties, in theory
<gorgonical>
Instead of git's internal snapshot mechanism
<gorgonical>
One of the main claims is that it will avoid the behavior observed in 3 way merges where order of merging can affect how the final repo looks. They say such a thing is not possible. But I don't know if this is true, how useful it is, tec
<zid`>
sounds like git but complicated in a different way
<gorgonical>
perhaps. But I feel like every time I use git for anything other than add; commit; push I have to consult manpages to figure out what the hell it does. Maybe I am just dumb
<zid`>
That's 99% of what you need to do anyway, it should be somewhat rare you need to do something more complicated, and double checking with the manual seems fine?
<zid`>
Like "I want to re-root this repo off a different commit" is not a typical oepration, needing to google it or whatever seems fine to me?
<gorgonical>
But all the hard/difficult stuff in git is when you rebase/merge anyway, so wouldn't it make more sense to switch to a system that makes that as error-proof as possible?
<gorgonical>
It's a good question anyway: what is it that git makes as easy as possible?
<gorgonical>
concurrent edits? distributed repos?
<zid`>
I just rebase -i
<zid`>
everything
<zid`>
done
<gorgonical>
rebase -i is the only way to make sense of the rebase process
<zid`>
it also does like, impossible ass things in other cmseses
<zid`>
so the fact you can rebase at all is rad
<gorgonical>
Yeah but that sounds like what pijul is saying it's even better at
<zid`>
I don't need something to be better at something sneaky I probably shoudn't be doing anyway, especially considering it already does it so well, shrug
<gorgonical>
How do you reckon it should be done differently? My regular workflow is to do a bunch of commits, saving work in coarse-grained chunks with commit messages like "got x, y, and z working" by fixing a bunch of tangentially-related things.
<gorgonical>
Then, after the dust has settled, rebase -i allows me to turn that big mess into actual "good" commits
<zid`>
Why would I want it done differently
<zid`>
I said it's already too powerful
<gorgonical>
Ooh
<zid`>
we need to stop it before it escapes and starts to overtake the universe
<gorgonical>
I still don't get the "I shouldn't be doing anyway"
<zid`>
In theory, a CMS shouldn't be allowing me to futz with history etc
xFCFFDFFFFEFFFAF has quit [Remote host closed the connection]
<zid`>
I should have just done it right the first time
<gorgonical>
but why not? if you want to snip out a fully-independent commit, what difference does it make?
<zid`>
but thankfully, we're allowed that power, as long as we promise
<zid`>
not to abuse it
<zid`>
you can do *terrible* things with rebase, if you wish
<zid`>
But as long as you don't go farther back than the head you intend to push onto, it's gg
srjek has quit [Ping timeout: 240 seconds]
MrCryo has joined #osdev
xFCFFDFFFFEFFFAF has joined #osdev
MrCryo has quit [Remote host closed the connection]
<vdamewood>
Hi, people etc.
xFCFFDFFFFEFFFAF has quit [Killed (Sario (<No reason given>))]
<Ermine>
hi vdamewood
<Ermine>
gorgonical: imo version control is not the hill worth dying on
<Ermine>
Though I heard CVS is very simple
bradd has quit [Ping timeout: 256 seconds]
oldgalileo has quit [Ping timeout: 256 seconds]
<kof673>
just to answer the q: > You may want to have upwards of 10 or 15 gigabytes available to build the compiler. [rust] if i get there, i will find some old c89 thing lol
staceee has quit [Read error: Connection reset by peer]
Goodbye_Vincent has quit [Read error: Connection reset by peer]
Bonstra has quit [Read error: Connection reset by peer]
hl has quit [Read error: Connection reset by peer]
Bitweasil has quit [Read error: Connection reset by peer]
remexre has quit [Ping timeout: 268 seconds]
kanzure has quit [Ping timeout: 268 seconds]
tommybomb_ is now known as tommybomb
Goodbye_Vincent2 is now known as Goodbye_Vincent
gjn_ is now known as gjn
Ermine_ is now known as Ermine
staceee_ is now known as staceee
Bitweasil- has joined #osdev
randm has quit [Ping timeout: 268 seconds]
erai has joined #osdev
V has quit [Ping timeout: 268 seconds]
rwb is now known as rb
randm_ is now known as randm
remexre_ is now known as remexre
graphitemaster has joined #osdev
V has joined #osdev
dalme has joined #osdev
GeDaMo has joined #osdev
ZombieChicken has quit [Quit: WeeChat 4.2.1]
gog has joined #osdev
osdev199 has joined #osdev
<osdev199>
Hello, I'm getting the invalid opcode (vector nr. 6) exception on executing the bash shell (a compiled 64-bit linux elf binary for x86-64 arch) in my os on my real machine. The `rip` is outside the loaded segments of the bash shell. How to debug this? Thanks.
netbsduser has joined #osdev
<GeDaMo>
osdev199: did you compile this program yourself? At what point do you get the error?
<osdev199>
GeDaMo: yes. I don't know. This is my question itself :p
<GeDaMo>
You don't know if you compiled the program?
<osdev199>
yes, I compiled bash by myself.
<GeDaMo>
Does the error happen when you launch the program? Or does it run for a time?
<osdev199>
I was getting an exception earlier indicating the stack segment fault. In the disassembly, I found that this occured after running few instructions. I then fixed it and this occured. So yes, it does run for a time.
<GeDaMo>
Have you tried running under qemu?
<osdev199>
yes. The exception msg is not getting printed but on debugging using gdb, I get the rip and the backtraces having very large addresses.
npc has joined #osdev
<GeDaMo>
Is this the only program that behaves this way on your OS?
<osdev199>
This is my first userspace program that I'm trying to execute with minimum possible kernel code. And yes, for more info, I'm executing it in kernel mode.
<GeDaMo>
osdev199: I'd be inclined to try a much simpler program, maybe a Hello, World just to see if it runs to completion
<osdev199>
Ok. I will try it now.
<osdev199>
Thank you.
osdev199 has quit [Remote host closed the connection]
agent314 has quit [Ping timeout: 268 seconds]
agent314 has joined #osdev
osdev199 has joined #osdev
<osdev199>
GeDaMo: I tried your suggestion and I'm getting the same exception with the same `rip` (0x67a10008) on my real machine!
tomaw has quit [Read error: Connection reset by peer]
oldgalileo has joined #osdev
<GeDaMo>
osdev199: Maybe try stepping through the loading process to see how it gets there
tomaw_ has joined #osdev
<osdev199>
Ok.
tomaw_ is now known as tomaw
xenos1984 has quit [Read error: Connection reset by peer]
j00ru has quit [Ping timeout: 256 seconds]
<osdev199>
GeDaMo: strange! before `stepi`, if I do `x/10i $rip` to display the code at the PC position, I'm getting the first 10 instructions as same `add %al,(%rax)`.
<GeDaMo>
Zeroes
xenos1984 has joined #osdev
srjek has joined #osdev
osdev199 has quit [Remote host closed the connection]
osdev199 has joined #osdev
<osdev199>
GeDaMo: It is going into an infinite loop with the instruction `loop 0xfffff922`. Don't know how it got there and why it is happening here! https://pastebin.com/gwLPhur6
<GeDaMo>
I'm not sure why there's a rex prefix on that loop
<GeDaMo>
Is that code in your kernel?
<osdev199>
There is no rex prefix. It's `0xfffff922:mov %eax,0x7ffffc(,%rcx,4)` and `0xfffff929:loop 0xfffff922` at the end of the paste.
<GeDaMo>
Line 41 "0xfffffba0:rex loop 0xfffffb9d"
<osdev199>
there is no `loop` mnemonic in my kernel's disassembly.
<osdev199>
Yes. But the code of which I'm talking about is at line #62.
<GeDaMo>
Is it in the program you're trying to run? Is it possible this is just garbage data?
<osdev199>
Oh yes. Forgot about my program!
netbsduser has quit [Ping timeout: 252 seconds]
<osdev199>
No. ditto. there is no `loop` mnemonic.
bauen1 has quit [Ping timeout: 264 seconds]
dalme has quit [Ping timeout: 260 seconds]
<GeDaMo>
So the "code" that's being run may not be your program or your kernel
<osdev199>
Yes. But instead of stepping if I do `continue`, then I get the output in the qemu window except the interrupt handler's message and the `rip` is 0x2f08231e5a. on finding the code at `rip`, it says "Cannot access memory at address <rip addr>".
<osdev199>
But in the previous stepping, the rip was different.
<osdev199>
GeDaMo: Maybe you want the code and the binaries?
j00ru has joined #osdev
edr has joined #osdev
navi has joined #osdev
gsekulski has joined #osdev
osdev199 has quit [Remote host closed the connection]
osdev199 has joined #osdev
osdev199 has quit [Remote host closed the connection]
gsekulski has quit [Ping timeout: 268 seconds]
m257 has joined #osdev
bauen1 has joined #osdev
k_hachig has joined #osdev
gsekulski has joined #osdev
npc has quit [Ping timeout: 272 seconds]
srjek has joined #osdev
Arthuria has joined #osdev
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
Arthuria has joined #osdev
theruran has quit [Quit: Connection closed for inactivity]
frumon has joined #osdev
zetef has joined #osdev
theyneversleep has joined #osdev
Left_Turn has joined #osdev
gsekulski has quit [Quit: Leaving.]
zetef has quit [Remote host closed the connection]
osdev199 has joined #osdev
theyneversleep has quit [Remote host closed the connection]
m257 has quit [Quit: Client closed]
m257 has joined #osdev
Arthuria has quit [Ping timeout: 256 seconds]
agent314 has quit [Ping timeout: 255 seconds]
dalme has joined #osdev
osdev199 has quit [Remote host closed the connection]
Nixkernal_ has joined #osdev
Nixkernal has quit [Read error: Connection reset by peer]
bauen1 has quit [Ping timeout: 240 seconds]
voidah has quit [Ping timeout: 252 seconds]
bauen1 has joined #osdev
node1 has joined #osdev
zetef has joined #osdev
Halofreak1990 has joined #osdev
zetef has quit [Remote host closed the connection]
node1 has quit [Quit: Client closed]
node1 has joined #osdev
node1 has quit [Quit: Client closed]
node1 has joined #osdev
srjek has quit [Ping timeout: 240 seconds]
spareproject has joined #osdev
m257 has quit [Ping timeout: 250 seconds]
gog has quit [Quit: Konversation terminated!]
oldgalileo has quit [Ping timeout: 268 seconds]
skipwich_ is now known as skipwich
k_hachig has quit [Ping timeout: 268 seconds]
netbsduser has joined #osdev
bauen1 has quit [Ping timeout: 260 seconds]
Bitweasil- is now known as Bitweasil
foudfou has quit [Remote host closed the connection]
gog has joined #osdev
foudfou has joined #osdev
* Ermine
gives gog a piece of cheese
Left_Turn has quit [Ping timeout: 240 seconds]
<mcrod>
gog: may I pet you
dalme has quit [Read error: Connection reset by peer]
dalme has joined #osdev
k_hachig has joined #osdev
k_hachig has quit [Ping timeout: 268 seconds]
Starfoxxes has quit [Quit: Leaving]
spareproject has quit [Remote host closed the connection]
zxrom has joined #osdev
eschaton has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
oldgalileo has joined #osdev
teardown has quit [Ping timeout: 260 seconds]
k_hachig has joined #osdev
oldgalileo has quit [Ping timeout: 268 seconds]
teardown_ has joined #osdev
node1 has quit [Quit: Client closed]
node1 has joined #osdev
<gog>
hi
* gog
fascinate
<gog>
hi mcrod you may pet me
<nikolar>
Hello gov
<nikolar>
(not what I meant but still works lol)
<gorgonical>
Someone tell me why using motif is a bad idea
<nikolar>
it's not
<nikolar>
use it
<nikolar>
enjoy it
<gorgonical>
Or said another way: what is the simplest, easiest gui toolkit I can use
<nikolar>
uh
<nikolar>
nuklear?
<gorgonical>
Looks nice
<zid`>
winapi
<nikolar>
it's immediate mode if that's important to you
<nikolar>
winapi bad
<gorgonical>
I basically just want something I can use for informal, private gui applications and shit. I found a lua binding to motif that seems very nice
<zid`>
winapi good
<nikolar>
winapi is windows => winapi bad
<zid`>
winapi good -> despite windows
<zid`>
it's all the non-winapi bits that suck
<zid`>
like the kernel and mfc and com and stuff
<nikolar>
well i can't use winapi on linux can i (wine doesn't count)
<zid`>
just because you're too lazy to draw your own widgets
<zid`>
doesn't mean everybody is
<nikolar>
do it
<nikolar>
and then you can say that
<zid`>
I didn't say I wasn't also too lazy
<nikolar>
well then
<nikolar>
winapi bad
<zid`>
have you actually used winapi btw
<nikolar>
nope
<zid`>
It's actually.. really good
<zid`>
It's consistent wall the way through and basically covers.. everything a desktop does
<zid`>
rather than being split across 40 libraries with different styles
<zid`>
as compared to say, linux
<zid`>
s/wall/all
<nikolar>
i am not opposed to the idea os using winapi itself but sadly it has one massive dependency
<nikolar>
called windows
<zid`>
just gut wine
<zid`>
smh
<nikolar>
also windows is hardly a coherent visual experience
<nikolar>
zid`: doesn't count
<zid`>
mmc theme forever
<nikolar>
lol
<zid`>
I miss being able to disable aero and having usable widgets