[Bug other/89702] 03 issue with SIGALRM causes program to SEGV on Solaris
karl.burgess at oracle dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 13 17:40:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89702
--- Comment #3 from Karl Burgess <karl.burgess at oracle dot com> ---
(In reply to Andrew Pinski from comment #2)
> >Solaris SunOS 5.10
>
> This might mean it is a kernel issue too.
> What does gdb show when it crashes?
> info registers
Program terminated with signal 11, Segmentation fault.
#0 isLegalUTF8 (length=1, source=0x812e40f 'A' <repeats 200 times>...)
at ConvertUTF.c:131
131 switch (length) {
(gdb) where
#0 isLegalUTF8 (length=1, source=0x812e40f 'A' <repeats 200 times>...)
at ConvertUTF.c:131
#1 ConvertUTF8toUTF16 (sourceStart=sourceStart@entry=0x8047c70,
sourceEnd=sourceEnd@entry=0x9961740 "\001",
targetStart=targetStart@entry=0x8047c6c,
targetEnd=targetEnd@entry=0xcb61748, flags=flags@entry=lenientConversion)
at ConvertUTF.c:169
#2 0x08051311 in ConvertData (size=<synthetic pointer>, pData=0x8061740)
at main.c:32
#3 main (argc=<optimized out>, argv=<optimized out>) at main.c:87
(gdb) info registers
eax 0x0 0
ecx 0x9afb0e6 162509030
edx 0x812e40f 135455759
ebx 0x1 1
esp 0x8047c2a 0x8047c2a
ebp 0x812e410 0x812e410
esi 0xffff0000 -65536
edi 0x41 65
eip 0x8050ee8 0x8050ee8 <ConvertUTF8toUTF16+152>
eflags 0x297 [ CF PF AF SF IF ]
cs 0x3b 59
ss 0x43 67
ds 0x43 67
es 0x43 67
fs 0x0 0
gs 0x1c3 451
(gdb)
More information about the Gcc-bugs
mailing list