pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libgpg-error core dumps on Solaris 10 sparc with gcc 4.9.2



For me removing the patch still has core-dumps. I've compiled it with
both gcc 4.9.2 and the latest Sun Compiler:

pstack core
core 'core' of 22421:   gpg-error
 ff210438 ???????? (ffbff220, 4a3, 1, 6, 6, 1)
 ff3e6aac ???????? (1, 6, 0, 6, ffbffeff, 0)
 fef97bb0 raise    (6, 0, ff077080, fefde0f0, ffffffff, 6) + c
 fef729f0 abort    (ffbff380, 1, ff0733f4, ffb04, ff075518, 0) + 110
 fef72c2c _assert  (ff0ac480, ff0ac470, 77, ff0a39a0, ff820, ff0bf448) + 64
 ff0a393c get_lock_object (ff0bfacc, ff0a32d4, ff0a7228, ff0a7058, 1, 0) + 5c
 ff0a39a4 _gpgrt_lock_lock (ff0bfacc, ffffff, ff000000, 0, 0, fffc00) + 4
 ff0a7120 _gpgrt_fflush (0, 0, ff0bfacc, 0, 0, 0) + c8
 ff0a7228 do_deinit (1, 1cc4, ff077940, ff0792c0, ff132a00, 1c00) + 10
 fef731b8 _exithandle (ff079540, ff077940, 1c00, 4, ff132a00, 6) + 40
 fef61178 exit     (1, 14fc0, ff0770c0, a1010, 0, 21) + 4
 00011a54 main     (1, ffbff89c, ffbff8a4, 25640, 14fc0, ffbff9d4) + 744
 00010bf0 _start   (1, ffbff89c, ffbff8a4, ffbff9d4, ffffffff, 18) + 5c

I'm on Solaris 10 sparc with the latest patches.

uname -a
SunOS solarisz11 5.10 Generic_Virtual sun4v sparc sun4v

cc -V
cc: Sun C 5.13 SunOS_sparc 2014/10/20

On Tue, May 12, 2015 at 5:27 AM, Uwe Klaus <uklaus%hgb-leipzig.de@localhost> wrote:
> On Tue, 12 May 2015, Joerg Sonnenberger wrote:
>
>>>>> Anyone know whats going on or how to fix this?
>>>>
>>>> revert patch from patches/patch-src_estream.c
>>>
>>>
>>> Is there a way to change this code so it'll work on both NetBSD and
>>> Solaris?
>>
>>
>> I don't see why it shouldn't work on Solaris.
>
> I only can report that gpg-error with applied patch patch-src_estream.c
> fails under solaris 10 sparc as well as solaris 11 sparc.
>
> # uname -a
> SunOS l52.sun.hgb-leipzig.de 5.10 Generic_150400-22 sun4u sparc
> SUNW,SPARC-Enterprise
>
> # cc -V
> cc: Sun C 5.11 SunOS_sparc Patch 145354-06 2013/04/30
>
> ### with patches/patch-src_estream.c
> # /opt/pkg/bin/gpg-error
> Usage: gpg-error GPG-ERROR [...]
> Assertion failed: !"sizeof lock obj", file posix-lock.c, line 119
> Abort (core dumped)
>
> # pstack core
> core 'core' of 157:     /opt/pkg/bin/gpg-error
>  ff14ebc4 _lwp_kill (6, 0, ff1c7080, ff12e06c, ffffffff, 6) + 8
>  ff0c29b0 abort    (ffbff720, 1, ff1c33ec, ffb3c, ff1c5518, 0) + 110
>  ff0c2bec _assert  (ff33fc18, ff33fbd0, 77, ff333124, ff858, ff34fed0) + 64
>  ff333078 get_lock_object (ff350594, ff33fbd0, ff34fec4, 1, fffefd0c, 10000)
> + 54
>  ff333128 _gpgrt_lock_lock (ff350594, 0, ff34fec4, 6d0, 1c3a4, 400) + 4
>  ff33768c _gpgrt_fflush (0, ff34fec4, 0, 794, 400, 1c1a8) + 4c
>  ff333d38 do_deinit (0, ff34fec4, 400, ff000000, 780, 400) + 28
>  ff33d094 _fini    (0, 1, ff302a00, ff3ec984, 1, ff3ef6d0) + 4
>  ff3b5374 call_fini (ff3ec164, ff3614a8, 0, 0, ff3ec3a8, 0) + d0
>  ff3b54b8 atexit_fini (ff3ec164, 0, ff1c7940, ff1c92c0, ff302a00, ff3614a8)
> + 8c
>  ff0c3178 _exithandle (ff1c9540, ff1c7940, 1c00, 4, ff302a00, 6) + 40
>  ff0b1138 exit     (1, 155cc, ff1c70c0, a10b8, 0, 21) + 4
>  00012148 main     (1, ffbffd5c, ffbffd64, 25800, ff300100, 15400) + 424
>  00010e38 _start   (0, 0, 0, 0, 0, 0) + 108
>
> ### without patches/patch-src_estream.c
> # /opt/pkg/bin/gpg-error
> Usage: gpg-error GPG-ERROR [...]
>
> --------------------------------------------------
>
> # uname -a
> SunOS l63 5.11 11.2 sun4v sparc sun4v
>
> # cc -V
> cc: Sun C 5.12 SunOS_sparc Patch 148917-07 2013/10/18
>
> ### with patches/patch-src_estream.c
> # /opt/pkg/bin/gpg-error
> Usage: gpg-error GPG-ERROR [...]
> Assertion failed: !"sizeof lock obj", file posix-lock.c, line 119
> Abort (core dumped)
>
> # pstack core
> core 'core' of 25748:   /opt/pkg/bin/gpg-error
>  ff15cedc __lwp_sigqueue (6, ffffffef, ffffffec, ffbff5c8, 5, 6) + 8
>  ff0dbc0c abort    (ffbff6c8, ff202244, 6, 1, ff203b50, 0) + 108
>  ff0dc8ec _assert  (ff3612f0, ff3612a8, 77, ff3ee388, ffbff6c8, ff202244) +
> 64
>  ff3547fc get_lock_object (ff371c60, ff37159c, 10000, fffefd54, 10000, 1) +
> 6c
>  ff3548b0 _gpgrt_lock_lock (ff371c60, ff37159c, 6c4, 400, 4, ff3ee144) + 4
>  ff358dac _gpgrt_fflush (0, ff37159c, 0, 400, 1, 1) + 4c
>  ff3554a8 do_deinit (0, ff37159c, 400, 2, 774, 400) + 20
>  ff35e76c _fini    (0, 0, 1, ff062a40, 0, 3) + 4
>  ff3ba424 call_fini (ff3ee168, ff073250, 0, 41081, ff3ee92c, ff3ee2e0) + 118
>  ff3ba55c atexit_fini (ff3ee174, 41081, ff3ee2e0, ff3ee92c, 1081, ff3ee168)
> + 7c
>  ff0dd62c _exithandle (ff060000, ff060100, ff206840, 2880, 2800, 21) + 50
>  ff0cb78c exit     (1, ffbffc9c, ffbffca4, ff206840, 1, ff060140) + 4
>  000110d4 _start   (0, 0, 0, 0, 0, 259cc) + 108
>
> ### without patches/patch-src_estream.c
> # /opt/pkg/bin/gpg-error
> Usage: gpg-error GPG-ERROR [...]
>
> ------------------------------------
>
>


Home | Main Index | Thread Index | Old Index