# [OmniOS-discuss] sed on bloody crashes when compiling cdrtools

Josef 'Jeff' Sipek jeffpc at josefsipek.net
Fri Sep 12 15:14:00 UTC 2014

- Previous message: [OmniOS-discuss] sed on bloody crashes when compiling cdrtools
- Next message: [OmniOS-discuss] sed on bloody crashes when compiling cdrtools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Fri, Sep 12, 2014 at 11:05:31AM -0400, Dan McDonald wrote:
    >
    > On Sep 12, 2014, at 11:03 AM, Dan Vatca <dan at syneto.net> wrote:
    >
    > > Yes. And it also reproduces with a simple transliteration. But it does go awry only with /usr/bin/sed, not with /usr/gnu/bin/sed. Replacements also work just fine.
    >
    > Hmmm.
    >
    > I want to try this out on on OI with a very latest illumos-gate.  I
    > suspect it was introduced with some recent changes in that space.

    Here's OI hipster:

    jeffpc at meili:~>5$ uname -a
    SunOS meili 5.11 illumos-4ef97ab i86pc i386 i86pc Solaris
    jeffpc at meili:~>6$ echo "x" | /usr/bin/sed 'y%,%,%'
    Segmentation Fault (core dumped)
    jeffpc at meili:~>7$ pstack core
    core 'core' of 1739:	/usr/bin/sed y%,%,%
     feeb68f9 _UTF8_mbsnrtowcs (0, 8046e5c, ffffffff, 0, 0, 3) + 2d
     feea8e9d mbsrtowcs_l (0, 8046e5c, 0, 0, fee01a00, 8067d66) + 35
     feea8ee1 mbsrtowcs (0, 8046e5c, 0, 0, 0, 0) + 42
     08053f2e compile_tr (8067d61, 806a274, 0, fefcac27, fee10048, 38) + 132
     0805493c compile_stream (806a260, 804776c, 8047738, 80531aa, 1, 80478c9) + 7b8
     08054af3 compile  (0, 3, 0, 0, 3, feffb0a4) + 10
     080531b5 main     (804772c, fef72668, 8047760, 805251b, 2, 804776c) + 1a8
     0805251b _start   (2, 80478bc, 80478c9, 0, 80478d0, 80478e2) + 83

    Jeff.

    --
    Failure is not an option,
    It comes bundled with your Microsoft product.

- Previous message: [OmniOS-discuss] sed on bloody crashes when compiling cdrtools
- Next message: [OmniOS-discuss] sed on bloody crashes when compiling cdrtools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list