Current-Users archive

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

Re: libpthread problem in perl



In article <Pine.NEB.4.64.0808032016190.11408%quicky.whooppee.com@localhost>,
Paul Goyette  <paul%whooppee.com@localhost> wrote:
>I just updated several systems from 4.99.67 to 4.99.72 and it seems that 
>there's a bit of a libpthread problem.  Specifically, perl-5.8.8 has 
>started aborting with the following error:
>
>quicky:paul {109} zcat /var/log/authlog.1.gz | /etc/sshdict.perl
>perl: Error detected by libpthread: Invalid mutex.
>Detected by file "/build/src/lib/libpthread/pthread_mutex.c", line 141, 
>function "pthread_mutex_destroy".
>See pthread(3) for information.
>Abort (core dumped)
>quicky:paul {110}
>
>The backtrace looks like this:
>
>Core was generated by `perl'.
>Program terminated with signal 6, Aborted.
>#0  0x00007f7ffd232d1a in kill () from /usr/lib/libc.so.12
>(gdb) bt
>#0  0x00007f7ffd232d1a in kill () from /usr/lib/libc.so.12
>#1  0x00007f7ffd50a754 in pthread__errorfunc () from 
>/usr/lib/libpthread.so.0
>#2  0x00007f7ffd508064 in pthread_mutex_destroy ()
>    from /usr/lib/libpthread.so.0
>#3  0x0000000000401b5d in main ()
>(gdb)
>
>The /etc/sshdict.perl script is available if anyone wants it, but all it 
>does is scan its input for ssh dictionary attacks.
>
>So, some questions:
>
>1. Is this expected behavior?
>2. If I reinstall perl from pkgsrc, will the problem go away?
>3. If I reinstall, will I then have to reinstall all the p5-* packages?

I believe:
1. yes, fallout from the pthread_mutex_t changes.
2. yes
3. no

christos



Home | Main Index | Thread Index | Old Index