LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2005, 01:32 AM   #1
nebx
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Rep: Reputation: 0
Erlang Segmentation Fault on Slackware 10...


Hello all,

I'm trying to get Wings3d installed on Slackware 10 and the instructions (available on the wings3d installation FAQ) say to install Erlang. I downloaded the sources in that set of instructions and during step 2. I enabled threads during ./configure (for my Nvidia card) and continued on , finishing erlang, moved on to SDL (current), and finally esdl.

Now when I try to fire up erlang ( I think the command is erl I just get a message that says segmentation fault. I'm running a full install Slackware 10 setup with nothing special.

I'm baffled

Last edited by nebx; 02-06-2005 at 01:46 AM.
 
Old 02-06-2005, 02:18 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
what is the minimum version of erlang wings needs? it looks like something's wrong with the code itself. If you run:

Code:
strace erl
you can see at the end it opens a file read-only, reads from it, then closes the file-pointer and completely bails from there. if you have a higher version than wings needs try downgrading erlang to the minimum version of erlang that wings needs and see if that one works.
 
Old 02-06-2005, 02:11 PM   #3
nebx
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
That helped a lot I get erlang to run, without a seg fault. It looks like esdl is the next one to do. I'll get an earlier version of it and try thhis again...

Thanks _J i'll post my progress in a bit.
 
Old 02-06-2005, 05:25 PM   #4
nebx
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Well, after running: erl -pa ESDL_PATH -pa /root/wings -run wings

I get this stuff:

Erlang (BEAM) emulator version 5.3.6.3 [source] [hipe] [threads:0]

Eshell V5.3.6.3 (abort with ^G)
1> {"init terminating in do_boot",{undef,[{wings,start,[]},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

I can post the .dump file if you'd like. I'm hoping that the above will make enough sense to someone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
segmentation fault libriana Linux - Newbie 2 06-10-2005 05:52 PM
Segmentation fault ( C ) wenta0 Programming 4 12-22-2004 05:10 AM
Segmentation fault during Slackware setup. Suspect hardware. JackFlanders Linux - Hardware 4 09-23-2004 04:20 PM
Segmentation fault after OpenLDAP / Berkley DB (Slackware 8.1) cereal Linux - General 0 07-17-2003 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration