Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rtl function table may be partially corrupt #5243

Closed
jiahao opened this issue Dec 28, 2013 · 8 comments
Closed

Rtl function table may be partially corrupt #5243

jiahao opened this issue Dec 28, 2013 · 8 comments
Labels
kind:bug Indicates an unexpected problem or unintended behavior system:windows Affects only Windows

Comments

@jiahao
Copy link
Member

jiahao commented Dec 28, 2013

julia> ; ls ~/nosuchfile
readline: Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x7ffba2a0bb96 -- RtlLeaveCriticalSection at ???: offset a2a0bb96
RtlLeaveCriticalSection at ???: offset a2a0bb96
RtlEnterCriticalSection at ???: offset a2a0b623
vfprintf at ???: offset a09e3161
vfprintf at ???: offset a09e30fe
jl_read_buffer at ???: offset 4104f6
jl_read_buffer at ???: offset 4120a9
anonymous at multi.jl:156
??? at ???: offset 23468f0
??? at ???: offset 42ea890
??? at ???: offset 3e61c40
ls: ~/nosuchfile: No such file or directory

Version 0.3.0-pre+705 (commit 1668d1b), built on MinGW-builds/MSYS (x86_64-w64-mingw32). This does not seem to be a problem in 0.2-release. Without ~, produces a process failed error without crashing REPL.

@ihnorton
Copy link
Member

I don't think we support tilde expansion at all right now (see #1136 and #3919). Definitely shouldn't crash, regardless.

@vtjnash
Copy link
Sponsor Member

vtjnash commented Dec 28, 2013

32-bit or 64-bit? curious mostly just because it generated a (mostly erroneous) backtrace.

also, git hashes are much more useful than version numbers

edit: also, this doesn't crash for me

@jiahao
Copy link
Member Author

jiahao commented Dec 28, 2013

Updated with more details.

@jiahao
Copy link
Member Author

jiahao commented Dec 28, 2013

It's interesting what works and what doesn't:

  • ; ls * works
  • ; ls .* works
  • ; ls ~ works
  • ; ls ~/* works
  • ; ls ~/.* fails consistently
  • ; ls /usr/* works
  • ; ls /usr/.* fails consistently

so it looks like it's not limited to ~. (The tilde expansion is being handled by the shell, I think, not by Julia).

@vtjnash
Copy link
Sponsor Member

vtjnash commented Dec 28, 2013

still doesn't crash for me.

unrelated observation: offset is getting truncated to an int before printing

@vtjnash
Copy link
Sponsor Member

vtjnash commented Dec 28, 2013

@jiahao are you on IRC?

any idea who is printing readline:? does the various parts of the error message always get printed in the same order? I'm surprised ls: ~/nosuchfile: No such file or directory manages to get printed after it supposedly crashed.

@jiahao
Copy link
Member Author

jiahao commented Dec 28, 2013

Ugh, apparently this manages to corrupt stdin. I tried to trap the bug in gdb but it manages to make gdb unresponsive.

@vtjnash
Copy link
Sponsor Member

vtjnash commented Dec 31, 2013

This seems to actually be a dup of #5248.

Although I also fixed the issue reference by the replacement title of this issue in 3f423e3

@vtjnash vtjnash closed this as completed Dec 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Indicates an unexpected problem or unintended behavior system:windows Affects only Windows
Projects
None yet
Development

No branches or pull requests

3 participants