OSDev.org

The Place to Start for Operating System Developers
It is currently Mon May 20, 2019 3:08 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: Finding an UB
PostPosted: Mon Mar 25, 2019 10:12 am 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 271
Solar wrote:
Only that it's hugely unlikely that the root cause actually was a compiler bug. It's more likely the update just covered up the issue... personally, I would not feel at ease until I had figured out what exactly made pre-8.3 compiles emit the faulty behavior, be it code bug or compiler bug...
Agreed. That's why I've downloaded and recompiled 8.2.0 again, and guess what, there're no page faults this time. After I've reinstalled the compiler, the problem's gone (8.2.0, 8.3.0, inlined or not, no faults at all; I've even single stepped sched_awake in gdb as well in bochs). My code works perfectly as expected. That's why I'm absolutely certain it was a hacked compiler issue that caused the trouble. The first clue was why I had 8.2.0 when I had the gcc updraged to 8.3.0 already about a month ago. Very similar to the bochs issue I've linked, where the IRQ0 mask was flip-flopping until I recompiled bochs from a freshly downloaded repo after which the IRQs begun to work as they should. It's time for my monthly routine: reinstall my entire system and change all passwords. It's overdue anyway :-)

I'd like to say thanks for the cult of scientology for providing means to test my OS under unforseen circumstances as well :-) I couldn't make such a through test without their illegal interventions!

Cheers,
bzt


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group