swarm-support
[Top][All Lists]
Advanced

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

randomized actions segfaults for me too


From: Paul E. Johnson
Subject: randomized actions segfaults for me too
Date: Sun, 28 Feb 1999 11:33:28 -0600

Dear Anybody.

Axel von Kamp posted here that he got a seg fault from the randomized
actions, and I asked for a copy of the test code. On my Redhat Linux 5.2
machine, I get a seg fault too. This is interesting mostly because the
seg fault seems not to happen on Solaris.
I wonder if the memory leak that Marcus Daniels noted is related to the
seg fault, which seems to be triggered by dropping an object.

Here is the output and gdb bt:

address@hidden test]$ ./test 
m3
m1
m2
Segmentation fault (core dumped)
address@hidden test]$ gdb test core 
GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `./test'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/swarm/libspace.so.2...done.
Reading symbols from /usr/lib/swarm/libanalysis.so.3...done.
Reading symbols from /usr/lib/swarm/libsimtools.so.3...done.
Reading symbols from /usr/lib/swarm/libsimtoolsgui.so.1...done.
Reading symbols from /usr/lib/swarm/libtkobjc.so.4...done.
Reading symbols from /usr/lib/swarm/libtclobjc.so.0...done.
Reading symbols from /usr/lib/swarm/libactivity.so.2...done.
Reading symbols from /usr/lib/swarm/librandom.so.1...done.
Reading symbols from /usr/lib/swarm/libobjectbase.so.3...done.
Reading symbols from /usr/lib/swarm/libcollections.so.2...done.
Reading symbols from /usr/lib/swarm/libdefobj.so.2...done.
Reading symbols from /usr/lib/swarm/libmisc.so.1...done.
Reading symbols from /usr/lib/libBLT.so.2...done.
Reading symbols from /usr/lib/libtk8.0.so...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/libtcl8.0.so...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/lib/libpng.so.2...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libpthread.so.0...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x4044d902 in chunk_free (ar_ptr=0x404a2420, p=0x808f380) at
malloc.c:2948
malloc.c:2948: No such file or directory.
(gdb) bt
#0  0x4044d902 in chunk_free (ar_ptr=0x404a2420, p=0x808f380) at
malloc.c:2948
#1  0x4044d7c1 in __libc_free (mem=0x808f388) at malloc.c:2872
#2  0x4018677c in xfree (buf=0x808f388) at xmalloc.c:65
#3  0x401751ad in _i_Zone_c__freeIVarsComponent_ (self=0x807c520, 
    _cmd=0x401807d8, anObject=0x808f388) at Zone.m:284
#4  0x40170373 in _i_Object_s__drop (self=0x808f388, _cmd=0x401807f8)
    at DefObject.m:250
#5  0x40170414 in _i_Object_s__dropAllocations_ (self=0x808f388, 
    _cmd=0x400b1090, componentAlloc=1) at DefObject.m:274
#6  0x400a3427 in _i_GroupPermutedIndex_c__dropAllocations_
(self=0x808f388, 
    _cmd=0x40180738, componentAlloc=1) at ActionGroup.m:452
#7  0x4017003e in _obj_dropAlloc (mapalloc=0xbffffb54,
objectAllocation=1)
    at DefObject.m:148
#8  0x400a8720 in _i_Activity_c__mapAllocations_ (self=0x808f0f0, 
    _cmd=0x40180798, mapalloc=0xbffffb54) at XActivity.m:606
#9  0x40170228 in _i_Object_s__drop (self=0x808f0f0, _cmd=0x401807f8)
    at DefObject.m:225
#10 0x40170414 in _i_Object_s__dropAllocations_ (self=0x808f0f0, 
    _cmd=0x400b3b40, componentAlloc=1) at DefObject.m:274
#11 0x400a7e3b in _i_Activity_c___run_ (self=0x808da38, _cmd=0x400b3b20)
    at XActivity.m:152
#12 0x400a7d05 in _i_Activity_c__run (self=0x808da38, _cmd=0x8054d14)
    at XActivity.m:72
---Type <return> to continue, or q <return> to quit---
#13 0x8049ba9 in main (argc=1, argv=0xbffffc50) at
ActionGroupRandomized.m:74
(gdb)

-- 
Paul E. Johnson                         email: address@hidden
Dept. of Political Science              http://lark.cc.ukans.edu/~pauljohn
University of Kansas                    Office: (785) 864-9086
Lawrence, Kansas 66045                  FAX: (785) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]