http://bugs.winehq.org/show_bug.cgi?id=33882
Bug #: 33882 Summary: Windows version of GTags is crashing complaining about memory Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineserver AssignedTo: wine-bugs@winehq.org ReportedBy: pg_nedev@abv.bg Classification: Unclassified
Created attachment 44957 --> http://bugs.winehq.org/attachment.cgi?id=44957 This is gotten from Wine crash screen
Hi,
I'm using GTags for Windows that's working fine on Windows but on Linux using Wine it crashes complaining about not having enough memory. It only happens when I'm indexing large projects (for example Linux kernel source). I've attached the backtrace.
The console error messages are:
sort: cannot create temporary file: \s1r.: Permission denied wine: Unhandled page fault on read access to 0x585f0000 at address 0x415d27 (thread 002a), starting debugger... fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046} $ sort: write failed: -: No space left on device
GTags for Windows can be found at http://adoxa.3eeweb.com/global/index.html (GLOBAL 6.2.8) or as link from http://www.gnu.org/software/global/download.html (DOS and Windows 32 version), which will actually lead you to the address above.
Thanks, Pavel
http://bugs.winehq.org/show_bug.cgi?id=33882
pg_nedev@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.6-rc3
http://bugs.winehq.org/show_bug.cgi?id=33882
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://adoxa.3eeweb.com/glo | |bal/index.html Ever Confirmed|0 |1
--- Comment #1 from Austin English austinenglish@gmail.com 2013-06-25 13:37:07 CDT --- Confirming.
austin@aw25 ~ $ du -h glo628wb.zip 788K glo628wb.zip austin@aw25 ~ $ sha1sum glo628wb.zip 07e53905e21d6d1a07b663d4022fe22b715b894e glo628wb.zip austin@aw25 ~ $ wine --version wine-1.6-rc2-49-g15171d8
you can reproduce this with the wine source tree.
http://bugs.winehq.org/show_bug.cgi?id=33882
--- Comment #2 from Austin English austinenglish@gmail.com 2013-06-25 13:37:20 CDT --- Created attachment 44966 --> http://bugs.winehq.org/attachment.cgi?id=44966 backtrace
http://bugs.winehq.org/show_bug.cgi?id=33882
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com Component|wineserver |-unknown
http://bugs.winehq.org/show_bug.cgi?id=33882
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
https://bugs.winehq.org/show_bug.cgi?id=33882
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://adoxa.3eeweb.com/glo |http://adoxa.altervista.org |bal/index.html |/global/dl.php?f=win32 CC| |focht@gmx.net Component|-unknown |msvcrt Summary|Windows version of GTags is |gtags (GNU GLOBAL) 6.2.x |crashing complaining about |crashes on indexing of |memory |large projects
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
Native 'msvcrt' works around.
$ sha1sum glo62Bwb.zip da0499e2e908ba0bf66a44046481054c89f3ab1b glo62Bwb.zip
$ du -sh glo62Bwb.zip 812K glo62Bwb.zip
$ wine --version wine-1.7.19-70-gd6a59f7
Regards
http://bugs.winehq.org/show_bug.cgi?id=33882
--- Comment #4 from pg_nedev@abv.bg --- quote: "Native 'msvcrt' works around."
Hi,
Using native msvcrt.dll did not work for me - the bug is still there. I installed vcrun6, forced native mode, tried with original msvcrt.dll - no success. My wineprefix is 32bit, Win XP mode. Tried on Wine 1.6 and Wine 1.7.18. Maybe it will be OK on Wine 1.7.19 as Anastasius pointed?
Thanks, Pavel
http://bugs.winehq.org/show_bug.cgi?id=33882
--- Comment #5 from pg_nedev@abv.bg --- I tried with Wine 1.7.19 and native msvcrt - the memory issue seems to be gone as Anastasius pointed but there is still one problem:
"sort: cannot create temporary file: \s14.: Permission denied"
Just for reference, with builtin msvcrt the errors are
"sort: cannot create temporary file: \s14.: Permission denied gtags: short of memory."
Regards, Pavel
http://bugs.winehq.org/show_bug.cgi?id=33882
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #6 from Piotr Caban piotr.caban@gmail.com --- Could you please write more detailed steps to reproduce the bug? At least `wine gtags.exe linux-3.12.20-src-dir` is not crashing for me.
http://bugs.winehq.org/show_bug.cgi?id=33882
--- Comment #7 from pg_nedev@abv.bg --- Hi,
In the main source folder (in your case linux-3.12.20-src-dir) I'm running:
wine gtags.exe -c
which reports:
sort: cannot create temporary file: \s14.: Permission denied
This is with native msvcrt.dll. You'll need to have gtags.exe and sort.exe in the src folder. If I remove the sort.exe then gtags.exe passes with some warning about sort not completed.
It appears sort.exe which is invoked from gtags.exe does not have permissions to create its temporaries.
Thanks, Pavel
http://bugs.winehq.org/show_bug.cgi?id=33882
--- Comment #8 from Piotr Caban piotr.caban@gmail.com --- "sort: cannot create temporary file: \s14.: Permission denied" The application expects that top level directory on drive that contains source is writeable. The function runs tmpnam() and tries to create file. It fails on z: drive because / (root path) is not writeable. Probably support for VirtualStore will solve this issue some day, but I don't expect that it will be implemented soon.
If you create link to source on wine's c drive the messages will be gone.
I'm still not sure why the application crashes with out of memory message with builtin msvcrt.
http://bugs.winehq.org/show_bug.cgi?id=33882
--- Comment #9 from pg_nedev@abv.bg --- Thanks for the workaround!
http://bugs.winehq.org/show_bug.cgi?id=33882
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b0424313fd16efea4a08732f4ed | |530df30d350cd Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Piotr Caban piotr.caban@gmail.com --- The crash while using bultin msvcrt is fixed by commit b0424313fd16efea4a08732f4ed530df30d350cd. I'm marking this bug as fixed. The issue with non working tmpnam is covered by bug 16948.
https://bugs.winehq.org/show_bug.cgi?id=33882
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.20.