Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Segmentation fault #9

Open
chienlinhuang1116 opened this issue Mar 11, 2016 · 3 comments
Open

Segmentation fault #9

chienlinhuang1116 opened this issue Mar 11, 2016 · 3 comments

Comments

@chienlinhuang1116
Copy link

Hi, When running the example, sometimes it showed the message. Do you have any idea?

Thanks,
Chien-Lin

line 10: 12026 Segmentation fault th cifar10.lua --numNodes 4 --nodeIndex 1 --batchSize 10 --cuda --gpu 1

@zakattacktwitter
Copy link
Contributor

Hi, Not much information to go on there. Perhaps trying running under gdb/lldb?

@chienlinhuang1116
Copy link
Author

Hi, What is gdb/lldb? Thank you.

Chien-Lin

@chienlinhuang1116
Copy link
Author

Hi, We can use “gdb lua” to load Lua into GDB and type “run speech.lua” to see the debugging information. However, it’s not easy to reproduce the error of “segmentation fault”. I guess it is a hardware issue, and might only happen when the machine is busy.

Starting program: /usr/bin/lua speech.lua
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffec3e5700 (LWP 3260)]
[New Thread 0x7fffe1ecc700 (LWP 3261)]
[New Thread 0x7fffd904b700 (LWP 3262)]
[New Thread 0x7fffd002d700 (LWP 3263)]
[New Thread 0x7fffc7075700 (LWP 3264)]
[New Thread 0x7fffbe05d700 (LWP 3265)]
Detaching after fork from child process 3279.
Detaching after fork from child process 3281.
Detaching after fork from child process 3283.
Detaching after fork from child process 3285.
[New Thread 0x7fffa2cfb700 (LWP 3296)]
Detaching after fork from child process 3297.
Detaching after fork from child process 3299.
[New Thread 0x7fffa0db1700 (LWP 3301)]
Detaching after fork from child process 3302.
Detaching after fork from child process 3304.
Train a neural network
[Thread 0x7fffa0db1700 (LWP 3301) exited]
[Thread 0x7fffbe05d700 (LWP 3265) exited]
[Thread 0x7fffc7075700 (LWP 3264) exited]
[Thread 0x7fffd002d700 (LWP 3263) exited]
[Thread 0x7fffd904b700 (LWP 3262) exited]
[Thread 0x7fffe1ecc700 (LWP 3261) exited]
[Thread 0x7fffec3e5700 (LWP 3260) exited]
[Thread 0x7fffa2cfb700 (LWP 3296) exited]

Program exited normally.

Thanks,
Chien-Lin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants