[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #6245: [patch] [clang] kernel crash at hash_insert()
From:       "bonefish" <trac () haiku-os ! org>
Date:       2010-06-29 17:26:55
Message-ID: 051.bd2b114ac8479795a332ab48ecf30b4e () haiku-os ! org
[Download RAW message or body]

#6245: [patch] [clang] kernel crash at hash_insert()
---------------------------+------------------------------------------------
 Reporter:  kaliber        |       Owner:  axeld         
     Type:  bug            |      Status:  new           
 Priority:  normal         |   Milestone:  R1            
Component:  System/Kernel  |     Version:  R1/Development
 Keywords:  clang          |   Blockedby:                
    Patch:  1              |    Platform:  All           
 Blocking:                 |  
---------------------------+------------------------------------------------

Comment(by bonefish):

 Replying to [comment:4 kaliber]:
 > Replying to [comment:3 andreasf]:
 > > Any explanation ''why'' it crashes and why this change fixes it?
 > > Patch itself looks okay, but it might be working around a bug in
 clang.
 >
 > ((addr_t)&vnode->all_next - (addr_t)vnode) was a negative number somehow
 in this case. I'm not sure how it's possible.

 That's not exactly inspiring trust in the compiler. BTW, the long-term
 goal is to replace the C hash implementation by OpenHashTable.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6245#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic