torch / tds

Torch C data structures
Other
80 stars 25 forks source link

Seg Fault (Core Dumped) #36

Open thefakhir opened 5 years ago

thefakhir commented 5 years ago

I have built Torch7 with LUA 5.2 and installed tds using luarocks.

Whenver I import the "tds' package with the command require 'tds' It gives me a segmentation fault. Can anybody please help me in this?

mickvanhulst commented 4 years ago

I am experiencing the same issue, any ideas as to why this is occurring? An additional note here is that I experienced no problems when using LuaJIT, but decided to switch as I read that in some cases Lua5.2 is better at reading larger files into memory.

thefakhir commented 4 years ago

I actually have no idea on how to fix this issue. But I found one thing. If you have a new OS (Worked on Ubuntu 16.04 and 18.04) and go through the required installation steps, it works. I have tried purging the installation directory and all installed packages (that were part of the installation step) but the seg fault remains.

On Wed, Aug 14, 2019, 7:09 PM Mick notifications@github.com wrote:

I am experiencing the same issue, any ideas as to why this is occurring?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/torch/tds/issues/36?email_source=notifications&email_token=AHKABPAS4BO4XOYWZVSLTQLQEQG2NA5CNFSM4IFONIM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4I5F2I#issuecomment-521261801, or mute the thread https://github.com/notifications/unsubscribe-auth/AHKABPAGIDZIQOW3ITEWL6DQEQG2NANCNFSM4IFONIMQ .

fengh16 commented 4 years ago

I'm using Ubuntu 18.04 x86_64, Lua 5.2.3, but the seg fault still shows when require 'tds'.

What are the "required installation steps"? (I just installed it using luarocks install tds) Should I use another version of Lua?