This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Recent Go patch broke Alpha bootstrap


On Fri, Nov 15, 2013 at 3:52 AM, Ian Lance Taylor <iant@google.com> wrote:

>>>>> panic: runtime error: invalid memory address or nil pointer dereference
>>>>> [signal 0xb code=0x1 addr=0x1c]
>>>
>>>>> FAIL: runtime/pprof
>>>>> gmake[2]: *** [runtime/pprof/check] Error 1
>>>>>
>>>>> This one is new, I have to look into it a bit deeper.
>>>>
>>>>
>>>> I don't know what is happening here.  I can't recreate it.  There was
>>>> a different problem that could arise in runtime/pprof, that was fixed
>>>> by a patch I submitted on Saturday
>>>> (http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01016.html).  So it's
>>>> possible that this is fixed now.
>>>
>>> The failure is specific to !USING_SPLIT_STACK targets:
>>
>> The same error triggered on CentOS 5.10 x86_64 (another
>> !USING_SPLIT_STACK target) for 32bit lib (net, runtime). The panic:
>> string is the same, only addr=0x9f. There are also a couple of
>> segfaults (database/sql, net/http) and abort in sync/atomic.
>
> Could you check to see if this patch fixes the problem?  Thanks.

Unfortunately, it doesn't.

I still see panic in runtime (trace below), segfault in sync,
database/sql, net/http and abort in sync/atomic on 32bit CentOS 5.10
library.

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x9f]

goroutine 1 [chan receive]:
testing.RunTests
        ../../../../gcc-svn/trunk/libgo/go/testing/testing.go:470
testing.Main
        ../../../../gcc-svn/trunk/libgo/go/testing/testing.go:401
main.main
        /home/uros/gcc-build/x86_64-unknown-linux-gnu/32/libgo/gotest28068/test/_testmain.go:256

goroutine 64 [running]:
        goroutine running on other thread; stack unavailable
created by testing.RunTests
        ../../../../gcc-svn/trunk/libgo/go/testing/testing.go:469

goroutine 75 [runnable]:
created by runtime_test.testConcurrentReadsAfterGrowth
        /home/uros/gcc-build/x86_64-unknown-linux-gnu/32/libgo/gotest28068/test/map_test.go:261

goroutine 84 [runnable]:
created by runtime_test.testConcurrentReadsAfterGrowth
        /home/uros/gcc-build/x86_64-unknown-linux-gnu/32/libgo/gotest28068/test/map_test.go:266

goroutine 82 [runnable]:
created by runtime_test.testConcurrentReadsAfterGrowth
        /home/uros/gcc-build/x86_64-unknown-linux-gnu/32/libgo/gotest28068/test/map_test.go:266

goroutine 73 [runnable]:
created by runtime_test.testConcurrentReadsAfterGrowth
        /home/uros/gcc-build/x86_64-unknown-linux-gnu/32/libgo/gotest28068/test/map_test.go:261

goroutine 77 [runnable]:
created by runtime_test.testConcurrentReadsAfterGrowth
        /home/uros/gcc-build/x86_64-unknown-linux-gnu/32/libgo/gotest28068/test/map_test.go:261

goroutine 80 [runnable]:
created by runtime_test.testConcurrentReadsAfterGrowth
        /home/uros/gcc-build/x86_64-unknown-linux-gnu/32/libgo/gotest28068/test/map_test.go:266

goroutine 69 [runnable]:
created by runtime_test.testConcurrentReadsAfterGrowth
        /home/uros/gcc-build/x86_64-unknown-linux-gnu/32/libgo/gotest28068/test/map_test.go:261

goroutine 78 [runnable]:
created by runtime_test.testConcurrentReadsAfterGrowth

[... Many more same goroutine logs...]

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]