Re: UML Class Connection Point PATCH against CVS



Le Wed, Jun 26, 2002, à 11:29:32PM +0200, Cyrille Chepelov a écrit:
Le Wed, Jun 26, 2002, à 01:48:56PM -0700, Tim Ellis a écrit:

Sure. Attached. Except it's Dia via CVS as of five minutes ago, rather
than 0.90.

The patch looks fine, but I'm exhausted for this evening. Logging off (if
no-one has included it tomorrow, I think I will).
        
I patched, compiled, and here is what 
        DEBUGGER=valgrind app/run_dia.sh samples/UML-demo.dia
gives me:

(excerpt)

==15835== Invalid write of size 4
==15835==    at 0x453D4A03: umlclass_load (class.c:1338)
==15835==    by 0x8060C3C: read_objects (load_save.c:114)
==15835==    by 0x8061797: diagram_data_load (load_save.c:445)
==15835==    by 0x805E900: diagram_load_into (diagram.c:82)
==15835==    Address 0x43F9AF50 is 0 bytes after a block of size 880 alloc'd
==15835==    at 0x4004404F: (within /usr/lib/valgrind/valgrind.so)
==15835==    by 0x40634AD1: (within /usr/lib/libglib-2.0.so.0.0.4)
==15835==    by 0x453D406A: umlclass_load (class.c:1160)
==15835==    by 0x8060C3C: read_objects (load_save.c:114)
==15835== 
==15835== Invalid write of size 4
==15835==    at 0x453D4A09: umlclass_load (class.c:1339)
==15835==    by 0x8060C3C: read_objects (load_save.c:114)
==15835==    by 0x8061797: diagram_data_load (load_save.c:445)
==15835==    by 0x805E900: diagram_load_into (diagram.c:82)
==15835==    Address 0x43F9AF54 is 4 bytes after a block of size 880 alloc'd
==15835==    at 0x4004404F: (within /usr/lib/valgrind/valgrind.so)
==15835==    by 0x40634AD1: (within /usr/lib/libglib-2.0.so.0.0.4)
==15835==    by 0x453D406A: umlclass_load (class.c:1160)
==15835==    by 0x8060C3C: read_objects (load_save.c:114)
==15835== 
==15835== Invalid write of size 4
==15835==    at 0x453D4A03: umlclass_load (class.c:1338)
==15835==    by 0x8060C3C: read_objects (load_save.c:114)
==15835==    by 0x8061797: diagram_data_load (load_save.c:445)
==15835==    by 0x805E900: diagram_load_into (diagram.c:82)
==15835==    Address 0x43F9AF78 is 8 bytes before a block of size 2048
alloc'd
==15835==    at 0x4004404F: (within /usr/lib/valgrind/valgrind.so)
==15835==    by 0x40634AD1: (within /usr/lib/libglib-2.0.so.0.0.4)
==15835==    by 0x405B20B5: (within /usr/lib/libpango-1.0.so.0.0.3)
==15835==    by 0x404EAF4A: (within /usr/lib/libpangox-1.0.so.0.0.3)

==15835== Invalid write of size 4
==15835==    at 0x453D4A09: umlclass_load (class.c:1339)
==15835==    by 0x8060C3C: read_objects (load_save.c:114)
==15835==    by 0x8061797: diagram_data_load (load_save.c:445)
==15835==    by 0x805E900: diagram_load_into (diagram.c:82)
==15835==    Address 0x43F9AF7C is 4 bytes before a block of size 2048
alloc'd
==15835==    at 0x4004404F: (within /usr/lib/valgrind/valgrind.so)
==15835==    by 0x40634AD1: (within /usr/lib/libglib-2.0.so.0.0.4)
==15835==    by 0x405B20B5: (within /usr/lib/libpango-1.0.so.0.0.3)
==15835==    by 0x404EAF4A: (within /usr/lib/libpangox-1.0.so.0.0.3)
==15835== 
==15835== Invalid write of size 8
==15835==    at 0x453D289E: umlclass_update_data (class.c:489)
==15835==    by 0x453D4ABE: umlclass_load (class.c:1371)
==15835==    by 0x8060C3C: read_objects (load_save.c:114)
==15835==    by 0x8061797: diagram_data_load (load_save.c:445)
==15835==    Address 0x43F9AF58 is 8 bytes after a block of size 880 alloc'd
==15835==    at 0x4004404F: (within /usr/lib/valgrind/valgrind.so)
==15835==    by 0x40634AD1: (within /usr/lib/libglib-2.0.so.0.0.4)
==15835==    by 0x453D406A: umlclass_load (class.c:1160)
==15835==    by 0x8060C3C: read_objects (load_save.c:114)
==15835== 
==15835== Invalid write of size 8
==15835==    at 0x453D28AB: umlclass_update_data (class.c:488)
==15835==    by 0x453D4ABE: umlclass_load (class.c:1371)
==15835==    by 0x8060C3C: read_objects (load_save.c:114)
==15835==    by 0x8061797: diagram_data_load (load_save.c:445)
==15835==    Address 0x43F9AF60 is not stack'd, malloc'd or free'd
==15835== 
==15835== Invalid read of size 1
==15835==    at 0x405B1A79: (within /usr/lib/libpango-1.0.so.0.0.3)
==15835==    by 0x405B2C66: (within /usr/lib/libpango-1.0.so.0.0.3)
==15835==    by 0x405B26EC: (within /usr/lib/libpango-1.0.so.0.0.3)
==15835==    by 0x405B15EF: (within /usr/lib/libpango-1.0.so.0.0.3)
==15835==    Address 0x33333347 is not stack'd, malloc'd or free'd
app/run_dia.sh: line 9: 15835 Segmentation Fault  $DEBUGGER
/home/cyrille/Code/2002/dia/dia-namedcvs/dia/app/dia $*


        -- Cyrille

        


        -- Cyrille



-- 
Grumpf.

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list

-- 
Grumpf.




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