Package: libtext-aspell-perl
Severity: important
Tags: patch

Using this package in a threaded environment causes segfault
the offending code is:


        if ( self->speller )
            delete_aspell_speller(self->speller);

        safefree( (char*)self );


safefree crashes probably because of multiple threads using same object

perl offers a way to avoid this problem
the fix, at least for segfault is adding

sub CLONE_SKIP { 1 };

before

bootstrap Text::Aspell $VERSION;

in Aspell.pm

this solved the segfault for me but I don't use perl and mod perl
(a friend asked me for help because of the segfault)
so some tests are needed to check if there are no side
effects

Regards


-- System Information:
Debian Release: lenny/sid
  APT prefers java
  APT policy: (500, 'java'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.8-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libtext-aspell-perl depends on:
ii  libaspell15                   0.60.5-1   GNU Aspell spell-checker runtime l
ii  libc6                         2.7-3      GNU C Library: Shared libraries
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.7]     5.8.8-12   The Pathologically Eclectic Rubbis

libtext-aspell-perl recommends no packages.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to