Menu

#50 MSYS down after system update.

1.0
closed
Alexx83
None
2014-08-26
2014-06-26
LiTuX
No

I did a system update yesterday (pacman -Syu --force because of /etc/skel/.vimrc), then msys got crashed:
+ double click on mingw64_shell.bat, MinTTY complained could not load icon from '/msys2.ico';
+ close this messagebox, in the mintty window, it shows /bin/bash: No such file or directory;
+ try running bash --login in the bin folder, I got 0 [main] bash 3428 cygwin_exception::open_stackdumpfile: Dumping stack trace to bash.exe.stackdump;
+ I've tried sh, python et.al., some of them ended with such a stack dump;
+ and the dumped file is, for example, like this:

Stack trace:
Frame        Function    Args
00000238390  0018006F8D3 (005FCB5C340, 00000000000, 00180142970, 00000000000)
0000000000B  00180070E2A (00000238570, 00000000000, 000000001DC, 00000000000)
00000238570  0018011D9E8 (00000000000, 0000023AB30, 00000000D64, 0000000001B)
00000240000  0018006FDCD (00000000000, 00000000000, 000002393B0, 00000238870)
000002388F0  7FFC6559D9AD (00180040000, 00000000000, 0018026E468, 000002388C0)
000002388F0  7FFC6554B203 (00000000000, 0060004D680, 00000239680, 0000023A728)
000002396A8  7FFC6559CB6E (000002396A4, 0060004D680, 006000477B0, 0060004D680)
000002396A8  005FCB4539A (00000000FF0, 001004747B0, 00100478805, 0060004C680)
000002396A8  005FCB3CD7F (00000000000, 000002396CC, 001801D37C0, 00100000001)
00000000000  005FCB3CFE5 (003FD7558B7, 00100474020, 001004A1C48, 0010047D106)
00100478805  003FD767BB8 (000002398B8, 00000000012, 001004A1C48, 0010047D106)
00100478805  003FD7521AD (0000041B0A8, 00000000000, 00000239881, 0000041B0C8)
00100478805  00100449215 (00000000000, 00000000128, 00000000001, 00100479CE0)
00100478805  001004026E5 (00100478A68, 00000239A10, 000000000C8, 00000000000)
000000000C8  00100404373 (00100478A68, 00000239BA0, 0010041AADA, 000000000C8)
000000000C8  00100406DEB (7FFC65529869, 00000000000, 00000000016, 00000000001)
End of stack trace (more stack frames may be present)

Because I can't make the shell ready, pacman can not run correctly, thus I don't know how to upgrade or downgrade all those packages, to make msys2 at lease the same before I did the update.

My environment is windows 8.1 x64, codepage 936. This issue exists in another PC with windows server 2012 R2, codepage 936. The system is up-to-date.

BTW, I've found that in dash, the root it reports is not the msys2 folder, but its parent folder. (i.e., for example, I've unpack the basic system to C:\msys2, thus dash is here: C:\msys2\bin\dash.exe, and in this dash, / is actually C:\ but not C:\msys2).

Discussion

  • Alexx83

    Alexx83 - 2014-08-26
    • status: open --> closed
    • assigned_to: Alexx83