close Warning: Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 13 years ago

#765 closed defect (fixed)

crash del GUI en Linux

Reported by: josp Owned by: josp
Priority: blocker Milestone: GUI 0.6
Component: GUI Keywords:
Cc:

Description

Al abrir el interfaz gráfica de MMS en Linux se queda bloqueado todo Tolbase. En el terminal se imprime este mensaaje:

*** glibc detected *** /opt/ActiveTcl-8.4/bin/wish: realloc(): invalid next size: 0x0b3f57f8 ***

Change History (5)

comment:1 Changed 13 years ago by josp

Owner: changed from lramirez to CN=Jorge Suit Perez Ronda
Status: newaccepted

comment:2 Changed 13 years ago by josp

valgrind es un gran a liado en la solución de este tipo de errores, según parece el error está en treectrl2.4

==14006== 
==14006== Invalid write of size 4
==14006==    at 0x13CD4F6F: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006==  Address 0x10047a94 is 0 bytes after a block of size 12 alloc'd
==14006==    at 0x4026FDE: malloc (vg_replace_malloc.c:207)
==14006==    by 0x402715F: realloc (vg_replace_malloc.c:429)
==14006==    by 0x4128723: TclpRealloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x4130D3B: Tcl_Realloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x13CD53ED: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006== 
==14006== Invalid write of size 4
==14006==    at 0x13CD4F71: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006==  Address 0x10047a98 is 4 bytes after a block of size 12 alloc'd
==14006==    at 0x4026FDE: malloc (vg_replace_malloc.c:207)
==14006==    by 0x402715F: realloc (vg_replace_malloc.c:429)
==14006==    by 0x4128723: TclpRealloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x4130D3B: Tcl_Realloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x13CD53ED: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006== 
==14006== Invalid write of size 4
==14006==    at 0x13CD4F74: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006==  Address 0x10047a9c is 8 bytes after a block of size 12 alloc'd
==14006==    at 0x4026FDE: malloc (vg_replace_malloc.c:207)
==14006==    by 0x402715F: realloc (vg_replace_malloc.c:429)
==14006==    by 0x4128723: TclpRealloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x4130D3B: Tcl_Realloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x13CD53ED: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006== 
==14006== Invalid read of size 4
==14006==    at 0x13CD5274: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006==  Address 0x10047a9c is 8 bytes after a block of size 12 alloc'd
==14006==    at 0x4026FDE: malloc (vg_replace_malloc.c:207)
==14006==    by 0x402715F: realloc (vg_replace_malloc.c:429)
==14006==    by 0x4128723: TclpRealloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x4130D3B: Tcl_Realloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x13CD53ED: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006== 
==14006== Invalid read of size 4
==14006==    at 0x13CD5277: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006==  Address 0x10047a94 is 0 bytes after a block of size 12 alloc'd
==14006==    at 0x4026FDE: malloc (vg_replace_malloc.c:207)
==14006==    by 0x402715F: realloc (vg_replace_malloc.c:429)
==14006==    by 0x4128723: TclpRealloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x4130D3B: Tcl_Realloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x13CD53ED: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006== 
==14006== Invalid read of size 4
==14006==    at 0x13CD5279: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
==14006==  Address 0x10047a98 is 4 bytes after a block of size 12 alloc'd
==14006==    at 0x4026FDE: malloc (vg_replace_malloc.c:207)
==14006==    by 0x402715F: realloc (vg_replace_malloc.c:429)
==14006==    by 0x4128723: TclpRealloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x4130D3B: Tcl_Realloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x13CD53ED: TreeItem_WalkSpans (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)
--14006-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting
--14006-- si_code=1;  Faulting address: 0x23415C0C;  sp: 0x62a18e6c

valgrind: the 'impossible' happened:
   Killed by fatal signal
==14006==    at 0x380328AE: vgPlain_arena_malloc (m_mallocfree.c:239)
==14006==    by 0x62A1891F: ???

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==14006==    at 0x4026FDE: malloc (vg_replace_malloc.c:207)
==14006==    by 0x41286BC: TclpAlloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x4130BF4: Tcl_Alloc (in /opt/ActiveTcl-8.4/lib/libtcl8.4.so)
==14006==    by 0x13CB30D9: TrackOnScreenColumnsForItem (in /opt/ActiveTcl-8.4/lib/teapot/package/linux-glibc2.3-ix86/lib/treectrl2.4/libtreectrl2.4.so)

comment:3 Changed 13 years ago by josp

(In [2675]) refs #765, trasladando cambio desde la rama 0.6

comment:4 Changed 13 years ago by josp

En [2674], se asegura que se use la versión 2.2.9 de treectrl, la cual se ha verificado que funciona correctamente.

comment:5 Changed 13 years ago by josp

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.