Hello, The following issue has been updated:
192 - mtn sync crashes on Cygwin (after recent Cygwin update) Project: monotone Status: New Reported by: Stephen Leake URL: https://code.monotone.ca/p/monotone/issues/192/ Labels: Type:Incorrect Behavior Priority:Medium Comments (last first): # By Stephen Leake, Oct 7, 2011: I filed bug 156 at http:bugs.randombit.org. Can we upload a new build of botan 1.8.2 (similar to a Debian binNMU), or does Jack Lloyd have to do that? # By Stephen Leake, Oct 7, 2011: recompiling libbotan.a from the botan Cygwin source package, and then relinking mtn.exe with that, fixes the crash. So we need a new upload of botan to Cygwin. # By Stephen Leake, Oct 5, 2011: Steps to reproduce the problem: ------------------------------- 1. update Cygwin (see attached log from cygcheck -s) 2. mtn sync <whatever> Expected result: ---------------- normal sync Actual results: --------------- mtn aborts. There have been many updates in Cygwin recently, mostly compiling with gcc 4.5. So I recompiled Cygwin from source (from monotone checkout of head: 06738e14fae8309878e62cab9ea191be8fe891ce); that gives the same error. Running that in gdb gives a stack trace: #0 bug_signal (signo=6) at ../monotone/src/unix/main.cc:70 #1 0x610295c9 in _cygtls::call_signal_handler () from c:\bin\cygwin1.dll #2 0x610c93c0 in sig_send () from c:\bin\cygwin1.dll #3 0x610c6057 in _pinfo::kill () from c:\bin\cygwin1.dll #4 0x610c643c in kill0 () from c:\bin\cygwin1.dll #5 0x610c6551 in kill () from c:\bin\cygwin1.dll #6 0x610c658c in raise () from c:\bin\cygwin1.dll #7 0x610c65f5 in abort () from c:\bin\cygwin1.dll #8 0x610f52dd in dlfree () from c:\bin\cygwin1.dll #9 0x00679f9f in Botan::Library_State::option () #10 0x0067a1bd in Botan::Library_State::get_allocator () #11 0x0065670a in Botan::Allocator::get () #12 0x00677253 in Botan::Filter::Filter () #13 0x006539ba in Botan::Hash_Filter::Hash_Filter () #14 0x004acd4f in _fu1851___ZNSs4_Rep20_S_empty_rep_storageE () at ../monotone/src/transforms.cc:62 #15 0x04b43430 in ?? () #16 0x0022bce8 in ?? () #17 0x00000000 in ?? () So the problem is in the Botan library sleake@GSOD200817651L$ cygcheck -c botan Cygwin Package Information Package Version Status botan 1.8.2-1 OK Output of `mtn version --full`: ------------------------------- monotone 1.0.90 (base revision: unknown) Running on : CYGWIN_NT-5.1 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 C++ compiler : GNU C++ version 4.5.3 C++ standard library: GNU libstdc++ version 20110428 Boost version : 1_46_1 SQLite version : 3.7.3 (compiled against 3.7.3) Lua version : Lua 5.1 PCRE version : 8.13 2011-08-16 (compiled against 8.13) Botan version : 1.8.2 (compiled against 1.8.2) Changes since base revision: unknown Attachments: - cygcheck.log - 29.52 kB https://code.monotone.ca/p/monotone/issues/view/attachment/35/cygcheck.log -- Issue: https://code.monotone.ca/p/monotone/issues/192/ _______________________________________________ Monotone-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/monotone-devel
