[M3devel] Fwd: Re: [CM3] #1148: CVSup stalls on several platforms

Olaf Wagner wagner at elegosoft.com
Sat Aug 28 00:31:51 CEST 2010


I compiled the latest code on my FreeBSD 8 system and found that it
sometimes hangs when shutting down the connection. Here is a backtrace:

(m3gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x00000008033087dc in poll () from /lib/libc.so.7
(m3gdb) bt
#0  0x00000008033087dc in poll () from /lib/libc.so.7
#1  0x000000080315a85e in poll () from /lib/libthr.so.3
#2  0x0000000801d7e0bd in ThreadInternal__Poll (fd=8, read=1, m3timeout=1)
     at ../src/thread/Common/ThreadInternal.c:31
#3  0x0000000801d8161a in XIOWait (Cannot resolve type with uid DMxDjQ
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:627
#4  0x0000000801d814c2 in IOAlertWait (fd=8, read=TRUE, timeoutInterval=-1)
     at ../src/thread/PTHREAD/ThreadPThread.m3:603
#5  0x00000008012f1528 in ReadPipe (fd=8) at ../src/SigHandler.m3:221
#6  0x00000008012f0d80 in DoDispatch () at ../src/SigHandler.m3:138
#7  0x00000008012f0b58 in DispatcherRun (closure=16_00000008005cc378)
     at ../src/SigHandler.m3:112
#8  0x0000000801d806a5 in RunThread (Cannot resolve type with uid DMxDjQ
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:450
#9  0x0000000801d80359 in ThreadBase (param=16_0000000803c76f80)
     at ../src/thread/PTHREAD/ThreadPThread.m3:422
#10 0x0000000803158511 in pthread_getprio () from /lib/libthr.so.3
#11 0x0000000000000000 in ?? ()

There seem to be no other threads at this point.

Olaf

Quoting Jay K <jay.krell at cornell.edu>:

>
> Michael, thank you. Please add it to the bug.
>
>  - Jay
>
>
> ----------------------------------------
>> Date: Fri, 27 Aug 2010 13:25:57 +0200
>> From: michael.anderson at elego.de
>> To: m3devel at elegosoft.com
>> Subject: Re: [M3devel] Fwd: Re: [CM3] #1148: CVSup stalls on   
>> several platforms
>>
>> Quoting Olaf Wagner :
>>
>> > Quoting Jay K :
>> >
>> >> Can you add more information to the bug as to how to reproduce   
>> the problem?
>> >> Exact files? cvsup.conf or whatnot?
>> >> Exact command lines?
>> >>
>>
>>
>> I'm able to reliably reproduce the problem with this command:
>>
>> /usr/local/cm3/bin/cvsup -g -L 2 cvsupfile.cm3
>>
>> where the cvsupfile contains:
>>
>> *default host=birch.elego.de
>> *default base=/home/mand/tmp/cvsup
>> *default prefix=/home/mand/tmp/cvs
>> *default release=cvs
>> *default delete use-rel-suffix
>> *default preserve
>> cm3
>>
>> Sometimes the first sync will finish, but a subsequent sync will hang.
>>
>> >> I don't use cvsup, don't know how to set it up.
>> >> Before when I debugging this it wasn't too difficult though.
>> >>
>> >> Perhaps we can put something in m3-sys/m3tests even?
>> >
>> > I will try to set up an automated cvsup test at the weekend.
>> > In our DCVS distribution we had quite a few replication tests;
>> > perhaps I can burrow something from that.
>> >
>> > It won't go into m3tests though, but rather be a subdir to cvsup.
>> > m3-sys/m3tests is for language/compiler tests.
>> >
>> > Olaf
>> > --
>> > Olaf Wagner -- elego Software Solutions GmbH
>> > Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
>> > phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
>> > http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
>> > Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr:   
>> DE163214194
>>
>>
>>
>> --
>> Michael Anderson
>> IT Services & Support
>>
>> elego Software Solutions GmbH
>> Gustav-Meyer-Allee 25
>> Building 12.3 (BIG) room 227
>> 13355 Berlin, Germany
>>
>> phone +49 30 23 45 86 96 michael.anderson at elegosoft.com
>> fax +49 30 23 45 86 95 http://www.elegosoft.com
>>
>> Geschaeftsfuehrer: Olaf Wagner, Sitz Berlin
>> Amtsgericht Berlin-Charlottenburg, HRB 77719, USt-IdNr: DE163214194
>>
>>
>



-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list