Current-Users archive

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

Re: repeatable cvs(1) coredump



On Thu, Jul 15, 2021 at 07:56:50PM +0200, Martin Husemann wrote:
> > > #0  0x0000786f41f96a74 in strncmp () from /usr/lib/libc.so.12
> > > #1  0x0000786f41f1fd61 in __getenvslot (name=name@entry=0x786f41fb2409 "NLSPATH", l_name=l_name@entry=7,
> > >     allocate=allocate@entry=false) at /usr/src/lib/libc/stdlib/_env.c:261
> > > #2  0x0000786f41f1fef1 in __findenvvar (name=name@entry=0x786f41fb2409 "NLSPATH", l_name=l_name@entry=7)
> > >     at /usr/src/lib/libc/stdlib/_env.c:333
> > > #3  0x0000786f41f1f946 in getenv (name=name@entry=0x786f41fb2409 "NLSPATH")
> > >     at /usr/src/lib/libc/stdlib/getenv.c:73
> 
> This probably depends on your current ENV, can you narrow
> it down by unsetting things untill it works?

Hm, I tried

unset $(env | sed "s/=.*//")

after which I had to set 'PATH', but still get the core dump in such
an environment.

(gdb) bt
#0  0x00007564c3b96a74 in strncmp () from /usr/lib/libc.so.12
#1  0x00007564c3b1fd61 in __getenvslot (name=name@entry=0x7564c3ba0faa "TZ", l_name=l_name@entry=2, allocate=allocate@entry=false)
    at /usr/src/lib/libc/stdlib/_env.c:261
#2  0x00007564c3b1fef1 in __findenvvar (name=name@entry=0x7564c3ba0faa "TZ", l_name=l_name@entry=2)
    at /usr/src/lib/libc/stdlib/_env.c:333
#3  0x00007564c3b1f946 in getenv (name=name@entry=0x7564c3ba0faa "TZ") at /usr/src/lib/libc/stdlib/getenv.c:73
#4  0x00007564c3b6ad15 in __tzset_unlocked50 () at /usr/src/lib/libc/time/localtime.c:1453
#5  0x00007564c3b6adce in localtime_tzset (setname=true, tmp=0x7564c4013d20, timep=0x7f7fff6e2a40)
    at /usr/src/lib/libc/time/localtime.c:1626
#6  __locatime50 (timep=0x7f7fff6e2a40) at /usr/src/lib/libc/time/localtime.c:1635
#7  0x00000001698902ff in get_date (result=result@entry=0x7f7fff6e2cc0, p=p@entry=0x7564c7f67068 "2019-03-19 12:12:22 +0000", 
    now=<optimized out>, now@entry=0x0) at /usr/src/external/gpl2/xcvs/dist/lib/getdate.y:1195
#8  0x00000001698408a3 in format_date_alloc (datestr=datestr@entry=0x7564c7f67068 "2019-03-19 12:12:22 +0000")
    at /usr/src/external/gpl2/xcvs/bin/xcvs/../../dist/src/main.c:1509
#9  0x000000016981cb9d in handle_mt (args=<optimized out>, len=<optimized out>)
    at /usr/src/external/gpl2/xcvs/bin/xcvs/../../dist/src/client.c:3014
#10 0x000000016982128f in get_server_responses ()
    at /usr/src/external/gpl2/xcvs/bin/xcvs/../../dist/src/client.c:3219
#11 0x00000001698213fb in get_responses_and_close ()
    at /usr/src/external/gpl2/xcvs/bin/xcvs/../../dist/src/client.c:3302
#12 0x000000016983be38 in cvslog (argc=1, argv=<optimized out>)
    at /usr/src/external/gpl2/xcvs/bin/xcvs/../../dist/src/log.c:406
#13 0x0000000169895587 in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/external/gpl2/xcvs/bin/xcvs/../../dist/src/main.c:1206


 Thomas


Home | Main Index | Thread Index | Old Index