LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2003, 10:18 AM   #1
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Rep: Reputation: 15
Unhappy Signal: 6 (Unknown Signal) - Problems running a program


Hi all,

again I'm hopeless, trying to fix this problem since 4 days and until now
everyone I've asked , everywhere I've posted: No anwers.

I don't know if anyone here is using Alias|Wavefronts MAYA4.5 (a well known 3D animation software) but maybe the errors I get are known and someone (MasterC, you are reading this? *GGG) can give me a hint.

I just copy in one of the posts I've posted in a 3d board:

#################################################
since last week I've got Redhat 8 as my main OS and of course I want to
work with Maya on it too *G*
So I've grabbed my Maya4.5 CD, installed everything (no problems @ all), rebooted and
tried to start it with "maya"

Maya startscreen pops up, Maya loads, Interface appears, I can read "preferences saved" in the lower right corner and WOOSH
- ITS GONE!!

Immediatly after the startup it shuts itself down and I have NO idea why! Absolutely no...
I asked every maya specialist I know and noone seems to know ANYTHING

At the terminal I got:
**************************************************

/usr/aw/maya4.5/bin/maya.bin encountered a fatal error

Signal: 6 (Unknown Signal)
Attempting to save in
/usr/tmp/faeroon.030103.2223.ma
**************************************************

The same problem was posted here:
http://www.highend3d.com/boards/show...sb=5&o=&fpart=

If anyone knows how to solve this, has a hint or whatever - please let me know!!

Thx in advance

Faeroon

PS: I've heard that RH 7.3 hat the gcc 2 and RH8 has gcc 3 and this
is not compatible to old version... maybe this is the source of the problem?
*doesnt want to downgrade*
########################################

Noone seems to know anything, maybe it's this gcc thing (whatever it is)
or I dont know... for the technical geeks, here's a page from the
manufactorer of the software in which the best hardware is listed, maybe
someone will say "Hey, you've forget to install XXX" oder "Hey, just try..."

http://www.aliaswavefront.com/en/Com..._45_linux.html

Maybe I'm lucky this time, even after posting in so many different locations I'm a bit depressed
 
Old 01-05-2003, 10:35 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
check to see if you have /usr/tmp see if it's a link to another /tmp folder and check permissions on it.

ls -l /usr | grep tmp
lrwxrwxrwx 1 root root 10 Dec 17 16:02 tmp -> ../var/tmp

ls -l /var | grep tmp
drwxrwxrwt 2 root root 4096 Dec 21 12:37 tmp


I wonder what size the file is it's trying to write

Last edited by DavidPhillips; 01-05-2003 at 10:37 AM.
 
Old 01-05-2003, 10:48 AM   #3
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Checked it right away and that's what I've got:

*****************************************************
[root@localhost tmp]# ls -l /usr | grep tmp
lrwxrwxrwx 1 root root 10 Jan 3 11:27 tmp -> ../var/tmp
[root@localhost tmp]# ls -l /var | grep tmp
drwxrwxrwt 8 root root 4096 Jan 5 14:41 tmp
******************************************************
The files maya tries to write are in the /usr/tmp directory,
all like ~50kb big and just plain-text files with the program log in it.
No errors, nothing - just a plain log of the standart scene to be opened.

If the tmp dir is owned by root/root, does that mean that I can
only work with maya if i'm logged in with root? (i've tested that before
and that didn't solve the problem)

Any suggestions?
 
Old 01-05-2003, 10:58 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
no the permissions look right, the last three bits rwt let you write to it and own the files you write there

try writing to it

touch /usr/tmp/david.testfile
ls -l /usr/tmp/david.testfile
-rw-rw-r-- 1 david david 0 Jan 5 11:00 /usr/tmp/david.testfile

you will need to change david to your username of course
you don't have any caps in your username or anything strange do you?
 
Old 01-05-2003, 11:49 AM   #5
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Here ya go:
*************************************
[faeroon@localhost faeroon]$ cd '/usr/new_hds/linux_3/mldonkey-2.02'
[faeroon@localhost mldonkey-2.02]$ touch /usr/tmp/faeroon.testfile
[faeroon@localhost mldonkey-2.02]$ ls -l /usr/tmp/faeroon.testfile
-rw-rw-r-- 1 faeroon faeroon 0 Jan 5 18:37 /usr/tmp/faeroon.testfile
*************************************
Everything seems to be in order - as you can see, my username is
rather simple and i tried to avoid caps and such stuff

So... i think we can now say that the problem's not to be found at the tmp dir ....but where else???
 
Old 01-05-2003, 07:27 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
well it looks like the program is giving an incorrect error, Is it writing any log files, or can you turn on verbose output or logging.
 
Old 01-05-2003, 08:17 PM   #7
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
do:

Code:
ldd /path/to/maya_executable
Do you have all of the required libraries?

If you do, do:

Code:
strace maya
The last page or so of the information spewed out will be relevant
to why maya quits. If you need to save the trace information in a
text file, do:

Code:
script
strace maya
exit
This will create a file called typescript (by default) in your current
working dir. That file will be filled with everything spit to stdout.
If none of that helps you, try posting the last page or so from the
strace, maybe it'll make sense to someone else.
 
Old 01-06-2003, 05:16 AM   #8
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Ooooooooook.... now...where was I?
Ah yes...

I've downloaded and installed RH 7.3 today, because
Maya should run flawless with it and after all I'm
getting the exact same error..
After that I've done those two commands moses showed me
and here's what I've got:

******************************************************
[faeroon@localhost faeroon]$ ldd /usr/aw/maya4.5/bin/maya.bin
libMaya.so => not found
libKinSlice.so => not found
libAnimSlice.so => not found
libTranslators.so => not found
libProjectSlice.so => not found
libSharedUI.so => not found
libShared.so => not found
libPoly.so => not found
libPolyEngine.so => not found
libRenderModel.so => not found
libNurbs.so => not found
libDataModel.so => not found
lib3dGraphics.so => not found
libImage.so => not found
libAnimEngine.so => not found
libNurbsEngine.so => not found
libGeometryEngine.so => not found
libExtensionLayer.so => not found
libDependEngine.so => not found
libCommandEngine.so => not found
libFoundation.so => not found
libLinux.so => not found
libStringCatalog.so => not found
libversion.so => not found
libGL.so.1 => /usr/lib/libGL.so.1 (0x40036000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x400a2000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4011d000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x401f2000)
libm.so.6 => /lib/i686/libm.so.6 (0x40235000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40258000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4026c000)
libdl.so.2 => /lib/libdl.so.2 (0x40279000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

This is the first command.
 
Old 01-06-2003, 05:18 AM   #9
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
The second command showed even more errors
(only a part of the log will be shown here, otherwise the thread would be flooded ) :
******************************************************
alarm(0) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT RTMIN], 8) = 0
close(0) = -1 EBADF (Bad file descriptor)
dup(19) = 0
fcntl64(0, F_SETFD, 0) = 0
close(1) = -1 EBADF (Bad file descriptor)
dup(17) = 1
fcntl64(1, F_SETFD, 0) = 0
close(2) = -1 EBADF (Bad file descriptor)
dup(18) = 2
fcntl64(2, F_SETFD, 0) = 0
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT RTMIN], 8) = 0
fork() = 28243
gettimeofday({1041849793, 935079}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT CHLD RTMIN], 8) = 0
close(4) = 0
read(3, 0xbffeb3b0, 4096) = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 28243
wait4(-1, 0xbffeb028, WNOHANG, 0xbffeb02c) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [INT RTMIN])
read(3, "/usr/aw/maya4.5/bin/maya.bin\n", 4096) = 29
read(3, "", 4096) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT CHLD RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT CHLD RTMIN], 8) = 0
close(0) = 0
close(1) = 0
close(2) = 0
rt_sigprocmask(SIG_BLOCK, [], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], [INT RTMIN], 8) = 0
alarm(0) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT RTMIN], 8) = 0
close(0) = -1 EBADF (Bad file descriptor)
dup(19) = 0
fcntl64(0, F_SETFD, 0) = 0
close(1) = -1 EBADF (Bad file descriptor)
dup(17) = 1
fcntl64(1, F_SETFD, 0) = 0
close(2) = -1 EBADF (Bad file descriptor)
dup(18) = 2
fcntl64(2, F_SETFD, 0) = 0
dup(0) = 3
dup(1) = 4
dup(2) = 5
rt_sigprocmask(SIG_BLOCK, [], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], [INT RTMIN], 8) = 0
alarm(0) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT RTMIN], 8) = 0
fork() = 28245
gettimeofday({1041849794, 11480}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT CHLD RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT CHLD RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT RTMIN], 8) = 0
rt_sigsuspend([INT RTMIN 34]Mayaź, Version 4.5, Fri Aug 16 01:26:23 EDT 2002
Copyright 1997-2002 Alias|Wavefront, a division of Silicon Graphics Limited.
All rights reserved.

Graph Layout Toolkit
Copyright 1992-1997 Tom Sawyer Software, Berkeley, California
All rights reserved.

/usr/aw/maya4.5/bin/maya.bin encountered a fatal error

Signal: 6 (Unknown Signal)
Attempting to save in
/usr/tmp/faeroon.030106.1143.ma
<unfinished ...>
--- SIGCHLD (Child exited) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 1], WNOHANG, {ru_utime={5, 860000}, ru_stime={0, 570000}, ...}) = 28245
wait4(-1, 0xbffecdc0, WNOHANG, 0xbffecdc4) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [INT CHLD RTMIN])
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT CHLD RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], [RTMIN], 8) = 0
close(3) = 0
close(4) = 0
close(5) = 0
close(0) = 0
close(1) = 0
close(2) = 0
rt_sigprocmask(SIG_BLOCK, [], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], [RTMIN], 8) = 0
alarm(0) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT RTMIN], [INT RTMIN], 8) = 0
close(0) = -1 EBADF (Bad file descriptor)
dup(19) = 0
fcntl64(0, F_SETFD, 0) = 0
close(1) = -1 EBADF (Bad file descriptor)
dup(17) = 1
fcntl64(1, F_SETFD, 0) = 0
close(2) = -1 EBADF (Bad file descriptor)
dup(18) = 2
fcntl64(2, F_SETFD, 0) = 0
lseek(16, 0, SEEK_END) = 6436
close(16) = 0
close(0) = 0
close(1) = 0
close(2) = 0
rt_sigprocmask(SIG_BLOCK, [], [INT RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], [INT RTMIN], 8) = 0
read(16, 0xbfffc640, 4096) = -1 EBADF (Bad file descriptor)
ioctl(16, SNDCTL_TMR_TIMEBASE, 0xbfffd610) = -1 EBADF (Bad file descriptor)
rt_sigprocmask(SIG_BLOCK, [], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], [RTMIN], 8) = 0
_exit(1)

That's it - after that maya closes itself and I've no
idea what's going on...
EBADF (Bad file descriptor) <= wtf is this???
if anyone has a hint or an idea...
let me know...otherwise I dont have any other option as
to go back to windows...

Last edited by Faeroon; 01-06-2003 at 05:20 AM.
 
Old 01-06-2003, 05:35 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Ok, well I am really lost but here's my shot at it

From the ld messages, I'd think you missed a file during the install. Check to make sure there isn't any lib files you missed, even if it's called devel something.

Also, are these files you installed from the CD RPM's or tarballs or what? This might help us to figure something out.

Where'd you get the CD, if it's pirated or "borrowed" basically I am wondering if it's definitely working files on the CD, or if they could have been corrupted in a download somewhere, or during the burning process.

Cool
 
Old 01-06-2003, 05:41 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Oh and the GCC problem, shouldn't even matter if you aren't compiling the program, and just installing from binary RPMs(i386.rpm).

Cool
 
Old 01-06-2003, 05:48 AM   #12
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Yes, it's a "borrowed" version - i'm a graphics design student and
ehm.. yeah.. $7000 is not what I call "peanuts"
A good friend of mine works for a big firm and got it for me.
Unless I make money of it it's ok, i think, because I use it for personal learning ... but i think its better not to talk about that...

Under windows everything runs flawless and the cd's
are definitely working... the install is done with rpms and
because there're only 3 or 4 of them I don't think I could've missed any

Maybe it's something with the file system, maybe it's because of that that maya can't find all those libs...
What the ... even those specialists I know are stuck with this.

But maybe something IS wrong with the files, I've got no idea, really...

Sorry for all the inconvenience

PS: But why would the program load completely until the end if anything is corrupted? Why did the install went perfectly...
Bah...i think i have to go back to windows...
 
Old 01-06-2003, 05:57 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Just because it's 3AM and things sometimes work at 3AM, try this:
(as root):
updatedb
locate libMaya.so (or if nothing retuns, remove the .so)
If this pops up a location of this file then open up:
/etc/ld.so.conf and make sure that location is in that file. If it isn't add it; then run:
ldconfig

Actually, very first thing I'd run would be ldconfig then try running the program again. THEN try the above. (It's LDCONFIG lowercase).

Cool
 
Old 01-06-2003, 06:22 AM   #14
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
You where right again MC!!

***************************************
[root@localhost root]# ldconfig
[root@localhost root]# locate libMaya.so
[root@localhost root]# locate libMaya
[root@localhost root]# updatedb
[root@localhost root]# locate libMaya
/usr/aw/maya4.5/lib/libMaya.so
***************************************

First he didn't find it, but after updatedb he
showed the path to it.

At this moment this is in ld.so.conf:
***************************************
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.0.3/lib
/usr/lib/qt2/lib
/usr/lib/sane
/usr/lib/qt-1.45/lib
/usr/lib/wine
/usr/lib/mysql
***************************************

I tried to put it f.ex. /usr/aw/maya4.5/lib
but maya still got the same error and with the ldd
command it told me that the libs are still missing?!?

Any ideas?

Update:
#################################
Forgot to run ldconfig after adding the var into ld.so.conf
and now there's no missing libs anymore, but the error
is still there..
Still the unknown signal 6

Last edited by Faeroon; 01-06-2003 at 06:24 AM.
 
Old 01-06-2003, 06:28 AM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Can you show us the contents of this directory?
/usr/aw/maya4.5/bin

Oh, and a bit on posting code and such:
Put code into brackets like this:
[ code ] Put code here [ /code ]

Removing the obvious spaces between the brackets and "code".

This helps with formatting the test to make it easier to read.

Oh, and 1 more thing, can you post an updated:
ldd /usr/aw/maya4.5/bin/maya.bin
?

Cool
 
  


Reply



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
squid stops due to signal 6 and signal 25 simplyrahul Linux - Software 3 05-28-2011 01:05 AM
Getting AP signal strength via C program ... toships Linux - Wireless Networking 5 01-07-2009 02:35 AM
program cpp0 got fatal signal 11 cellist Debian 2 10-22-2004 05:25 PM
Signal 6: Unknown Signal <=> Error with MAYA4.X under Linux SOLVED!!!! Faeroon Linux - Software 9 05-09-2003 01:57 PM
Signal handling in Multithreaded program souvik Programming 4 08-23-2002 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:29 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