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

Segfault after ^C during long REPL printout #12883

Closed
protogeezer opened this issue Aug 31, 2015 · 1 comment
Closed

Segfault after ^C during long REPL printout #12883

protogeezer opened this issue Aug 31, 2015 · 1 comment
Labels
io Involving the I/O subsystem: libuv, read, write, etc. REPL Julia's REPL (Read Eval Print Loop)

Comments

@protogeezer
Copy link

The R data frame can be downloaded from https://github.com/coreysparks/data
The data frame is 18000x5000...
Two different tracebacks are included.

et-imac-retina:julia sjbespa$ ./julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.0-pre+7105 (2015-08-30 15:16 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 349a4e1* (0 days old master)
|__/                   |  x86_64-apple-darwin14.5.0

julia> eclsk_cs = read_rda("/Users/sjbespa/research/Education/30 - data/ECLSK-1998/ECLSK-coreysparks/data-master/eclsk.Rdata", convertdataframes=true);

julia> ecls_df = eclsk_cs["eclsk"]
5000x18949 DataFrames.DataFrame
| Row  | CHILDID    | PARENTID   | S1_ID  | S2_ID  | S3_ID  | S4_ID  | S5_ST_ID | S5_ID  | S6_ST_ID | S6_ID  | S7_ID  |
|------|------------|------------|--------|--------|--------|--------|----------|--------|----------|--------|--------|
| 1    | "0001001C" | "0001001P" | "0001" | "0001" | NA     | "0002" | NA       | NA     | NA       | NA     | NA     |
| 2    | "0001002C" | "0001002P" | "0001" | "0001" | NA     | "6005" | "6005"   | "6005" | "6005"   | "A053" | "C001" |
| 3    | "0001003C" | "0001003P" | "0001" | "0001" | NA     | "9997" | "9997"   | "9997" | NA       | NA     | NA     |
| 4    | "0001004C" | "0001004P" | "0001" | "0001" | NA     | "6009" | "6009"   | "6009" | NA       | NA     | NA     |
| 5    | "0001005C" | "0001005P" | "0001" | "0001" | NA     | "0003" | "7197"   | "7197" | NA       | NA     | NA     |
| 6    | "0001006C" | "0001006P" | "0001" | "0001" | NA     | "6026" | "6026"   | "6026" | NA       | NA     | NA     |
| 7    | "0001007C" | "0001007P" | "0001" | "0001" | NA     | "6027" | "6027"   | "6027" | "6027"   | "6027" | "C009" |
| 8    | "0001008C" | "0001008P" | "0001" | "0001" | NA     | "9997" | "9997"   | "9997" | "9997"   | "9997" | "D245" |
⋮
| 4992 | "0343009C" | "0343009P" | "0343" | "0343" | "0343" | "0343" | "0343"   | "0343" | NA       | NA     | NA     |
| 4993 | "0343010C" | "0343010P" | "0343" | "0343" | "0343" | "0343" | "0343"   | "0343" | NA       | NA     | "A455" |
| 4994 | "0343011C" | "0343011P" | "0343" | "0343" | "0343" | "0343" | "0343"   | "0343" | "0343"   | "0343" | NA     |
| 4995 | "0343012C" | "0343012P" | "0343" | "0343" | "0343" | "0343" | "0343"   | "0343" | "0343"   | "0343" | "E388" |
| 4996 | "0343013C" | "0343013P" | "0343" | "0343" | "0343" | "0343" | "0343"   | "0343" | "0343"   | "0343" | "0343" |
| 4997 | "0343014C" | "0343014P" | "0343" | "0343" | "0343" | "0343" | "0343"   | "0343" | "0343"   | "0343" | "0343" |
| 4998 | "0343015C" | "0343015P" | "0343" | "0343" | "0343" | "0343" | "0343"   | "0343" | "0343"   | "0343" | "0343" |
| 4999 | "0343016C" | "0343016P" | "0343" | "0343" | "0343" | "0343" | "0343"   | "0343" | "0343"   | "0343" | "C632" |
| 5000 | "0343017C" | "0343017P" | "0343" | "0343" | "0343" | "0343" | "0343"   | "0343" | "0343"   | "0343" | NA     |

.
. [~25K lines later]
.
| Row  | C1PW61  | C1PW62  | C1PW63  | C1PW64  | C1PW65  | C1PW66  | C1PW67  | C1PW68  | C1PW69  | C1PW70  | C1PW71  |
|------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
| 1    | 170.06  | 169.288 | 171.48  | 174.327 | 340.961 | 172.219 | 171.192 | 171.48  | 171.48  | 171.48  | 168.017 |
| 2    | 170.06  | 169.288 | 171.48  | 174.327 | 340.961 | 172.219 | 171.192 | 171.48  | 171.48  | 171.48  | 168.017 |
| 3    | 170.06  | 169.288 | 171.48  | 174.327 | 340.961 | 172.219 | 171.192 | 171.48  | 171.48  | 171.48  | 168.017 |
| 4    | 170.06  | 169.288 | 171.48  | 174.327 | 340.961 | 172.219 | 171.192 | 171.48  | 171.48  | 171.48  | 168.017 |
| 5    | 170.06  | 169.288 | 171.48  | 174.327 | 340.961 | 172.219 | 171.192 | 171.48  | 171.48  | 171.48  | 168.017 |
| 6    | 170.06  | 169.288 | 171.48  | 174.327 | 340.961 | 172.219 | 171.192 | 171.48  | 171.48  | 171.48  | 168.017 |
| 7    | 170.06  | 169.288 | 171.48  | 174.327 | 340.961 | 172.219 | 171.192 | 171.48  | 171.48  | 171.48  | 168.017 |
| 8    | 170.06  | 169.288 | 171.48  | 174.327 | 340.961 | 172.219 | 171.192 | 171.48  | 171.48  | 171.48  | 168.017 |
⋮
| 4992 | 186.218 | 186.218 | 186.218 | 184.503 | 185.318 | 185.22  | 186.194 | 185.938 | 184.142 | 182.982 | 189.397 |
| 4993 | 186.218 | 186.218 | 186.218 | 184.503 | 185.318 | 185.22  | 186.^C185."Error showing value of type 

^CERROR: InterruptException:
 in enq_work at ./task.jl:322
 in uv_writecb_task at ./stream.jl:1010
 in jlcapi_uv_writecb_task_19298 at /Users/sjbespa/work/julia/julia-0.4.0-dev/julia/usr/lib/julia/sys.dylib
 in process_events at ./stream.jl:695
 in wait at ./task.jl:360
 in stream_wait at ./stream.jl:285
 in uv_write at ./stream.jl:939
 in buffer_or_write at ./stream.jl:952
 in write at ./stream.jl:992
 in print at ./strings/io.jl:29
 in print at strings/io.jl:6
 in print_response at REPL.jl:140
 in print_response at REPL.jl:122
 in anonymous at REPL.jl:624
 in run_interface at ./LineEdit.jl:1610
 in run_frontend at ./REPL.jl:863
 in run_repl at ./REPL.jl:167
 in _start at ./client.jl:453
===================================
| 4999 | 21.0     | 4.0     | 1.0      | 2.0     | 2.0      | 3.0     | 12.0     | 2.0     | 1.0     | 1.0      | 1.0      | 4.0      | 4^C Error showing value of type ERROR: AssertionError: d != C_NULL
 in uv_writecb_task at ./stream.jl:1005
 in jlcapi_uv_writecb_task_19241 at /Users/sjbespa/work/julia/julia-0.4.0-dev/julia/usr/lib/julia/sys.dylib
 in process_events at ./stream.jl:695
 in wait at ./task.jl:360
 in stream_wait at ./stream.jl:285
 in uv_write at ./stream.jl:939
 in buffer_or_write at ./stream.jl:952
 in write at ./stream.jl:992
 in print at ./strings/io.jl:29
 in print at strings/io.jl:6
 in print_response at REPL.jl:140
 in print_response at REPL.jl:122
 in anonymous at REPL.jl:624
 in run_interface at ./LineEdit.jl:1610
 in run_frontend at ./REPL.jl:863
 in run_repl at ./REPL.jl:167
 in _start at ./client.jl:453
signal (11): Segmentation fault: 11
uv__write_callbacks at /Users/sjbespa/work/julia/julia-0.4.0-dev/julia/deps/libuv/src/unix/stream.c:890
uv__run_pending at /Users/sjbespa/work/julia/julia-0.4.0-dev/julia/deps/libuv/src/unix/core.c:637
process_events at ./stream.jl:695
wait at ./task.jl:360
stream_wait at ./stream.jl:285
uv_write at ./stream.jl:939
buffer_or_write at ./stream.jl:968
write at ./stream.jl:992
print at ./strings/io.jl:29
jlcall_print_19140 at /Users/sjbespa/work/julia/julia-0.4.0-dev/julia/usr/lib/julia/sys.dylib (unknown line)
with_output_color at util.jl:316


Segmentation fault: 11

[pao: code block formatting, fix unintentional Markdown headline]

@pao pao changed the title InterruptExceptions after ^C during long REPL printout Segfault after ^C during long REPL printout Aug 31, 2015
@pao pao added the REPL Julia's REPL (Read Eval Print Loop) label Aug 31, 2015
@JeffBezanson
Copy link
Member

Segfault fixed by #12839

@JeffBezanson JeffBezanson added the io Involving the I/O subsystem: libuv, read, write, etc. label Sep 17, 2015
JeffBezanson added a commit that referenced this issue Sep 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
io Involving the I/O subsystem: libuv, read, write, etc. REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

No branches or pull requests

3 participants