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

Re: adesklets não funciona e não exibe mensagem de erro.



Em Seg, 2006-10-02 às 14:07 -0300, jgerd escreveu:
> 
> Este link http://dag.wieers.com/howto/compatibility/ explica o que
> está acontecendo
> Da uma olhada no ítem Glibc malloc check

Ok João, o fiz:

Glibc malloc check Applies to RHEL4 and Fedora Core 3+. 

Newer versions of glibc perform additional internal sanity checks to
prevent and detect data corruption as early as possible. By default,
should corruption be detected, a message similar to the following will
be displayed on standard error (or logged via syslog if stderr is not
open): *** glibc detected *** double free or corruption: 0x0937d008 ***
By default, the program that generated this error will also be killed;
however, this (and whether or not an error message is generated) can be
controlled via the MALLOC_CHECK_ environment variable. You can disable
these internal sanity checks one time per process by doing:

MALLOC_CHECK_=0 cmd

If MALLOC_CHECK_ is explicitly set a value other than 0, this causes
glibc to perform more tests that are more extensive than the default,
and may impact performance.

Should you have a program from a third party ISV that triggers these
corruption checks and displays a message, you should file a defect
report with the application's vendor, since this indicates a serious
bug.

Desistalei todo o adesklets (binários e configurações). Comecei do zero
e, como root, pela via das dúvidas:

ledfis:/root/adesklets-0.6.1# MALLOC_CHECK_=0 && ./configure
ledfis:/root/adesklets-0.6.1# MALLOC_CHECK_=0 && make
ledfis:/root/adesklets-0.6.1# MALLOC_CHECK_=0 && make install

Depois de instalado o yab via /utils/adesklets_instaler, o erro persiste
durante o processo de configuração:

marcelo@ledfis:~$ adesklets_installer
marcelo@ledfis:~$ cd .desklets/yab-0.0.2/
marcelo@ledfis:~/.desklets/yab-0.0.2$ python yab.py
Do you want to (r)egister this desklet or to (t)est it? t
Now testing...
============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================
*** glibc detected *** double free or corruption (out): 0x080b04f8 ***
Traceback (most recent call last):
  File "yab.py", line 48, in ?
    import adesklets
  File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 43, in ?

adesklets.error_handler.ADESKLETSError: adesklets process exited -
Exception exceptions.AttributeError: <exceptions.AttributeError instance
at 0xa7cfd08c> in <bound method _Communicator.__del__ of
<adesklets.communicator._Communicator instance at 0xa7c73fac>> ignored
marcelo@ledfis:~/.desklets/yab-0.0.2$

marcelo@ledfis:~$ MALLOC_CHECK_=0 && adesklets
marcelo@ledfis:~$

Nada aconteceu...

Acho que terei de encaixar este comando MALLOC_CHECK_=0 no meio do
script em python...

Vou desistir e esperar o pacote na proxima testing.

Obrigado a todos.

Marcelo










Reply to: