Signal: 6 (Unknown Signal) - Problems running a program
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Ok, since maya.bin is being called by the wrapper, we need to
figure out why maya.bin is segfaulting. It's segfaulting because you
you have the wrong library (assuming the same compiled file works
on other machines, which I think is a fair assumption). We need to find out which one.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Unfortunately, the strace isn't as useful as usual, since maya starts
up a couple of child processes, and it looks like one of those has
crashed. strace doesn't (by default) follow child processes. You
can enable this by using the "-f" option to strace. This may prove
useful, so please run the strace command again, with the -f option,
and post it on your website (don't overwrite you other strace).
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
How did you install this? did you use Maya's installer (I'm assuming
it has one)? did it produce any errors? did the RH install produce
any errors? did you install all of the development packages that
should come with RH?
Sorry for the late reply but here in german it was REALLY late and now I'm back.
>>How did you install this?
Mayas Linux cd comes with several rpm packages which I've all installed,
with no errors. The license was found and everythings fine - there's only one
thing that I COULD not install, because the system didn't let me: openmotif
The system tells me that a newer version is allready installed and if that
is so - why install an older one? In a board @ aliaswavefront.com someone said:
" While this is an unqualified config. make sure that all of the rpms from the Maya 4.5 cd have been installed. particularly openmotif-2.1.30-2_ICS.i686.rpm
I suspect this one could be missing (you may have to force it)."
I can't find this particular version anywhere , because there's just an older rpm on the install cd - if someone can point me to a download link, I would be glad.
Now to the full strace of maya, with a child processes.
I've archived the txt file, which is packed 300kb, unpacked 7MB (whoooho)
Here's the archive
Strange.... I've made the archive several times and each time RHs ARK
says there's nothing in it, but if I choose "Extract here..." the txt file pops up?!?
If you have any problems with it - let me know
Hope this helps to find the god damn problem... *has lost all his nerves about this whole thing*
*laughs* Was there yet anything on linux that worked without errors
or strange messages which noone understands?
Code:
[root@localhost too-install]# rpm -e openmotif
error: removing these packages would break dependencies:
openmotif is needed by ddd-3.3.1-13
openmotif is needed by nedit-5.2-2
libMrm.so.3 is needed by openmotif-devel-2.2.2-5
libXm.so.3 is needed by ddd-3.3.1-13
libXm.so.3 is needed by openmotif-devel-2.2.2-5
libXm.so.3 is needed by nedit-5.2-2
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Don't replace the openmotif that is currently on there, do the
following:
get rpm2tgz (if you don't already have it)
make a open_motif sub directory in the Maya tree
change the openmotif from the Maya CD to a tarball and unpack
the tarball in the open_motif sub directory just mentioned.
Link/copy the open_motif libraries in that sub directory to the
Maya lib dir that you previously added to /etc/ldconfig.conf.
Now here is where it gets tricky. You need to make sure these
openmotif libs are statted before the newer ones, but ONLY for
Maya. This is most easily done by using the
LD_LIBRARY_PATH environment variable, and making sure
the Maya libs are first on the list. This is supposedly done
in the Maya4.5 shell script. Try installing the openmotif libs as
described above, and starting maya again. If this doesn't work,
we'll take the next step.
Oh, and the reason you don't always want to use newer libs is
because they aren't always backward compatible, and worse, they
sometimes redefine functions with the same name. This can cause
things such as a segfault.
Update:
******************
I didn't even start and the first problem's there...
I can't find something like rpm2tgz (or rpm2targz) if I search @google.
I found something like a script but everywhere I look it tells me this is
for slackware (what ever that is) and ....yeah... I don't know... maybe
I SHOULD go back to windows, looks like I've got not enough linux
knowledge to survive this...
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Here's the script:
Code:
#!/bin/sh
# Copyright 1997, 1998 Patrick Volkerding, Moorhead, Minnesota USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
if [ "$TMPDIR" = "" ]; then
TMPDIR=/tmp
fi
if [ "$1" = "" ]; then
echo "$0: Converts RPM format to standard GNU tar + GNU zip format."
echo " (view converted packages with \"less\", install and remove"
echo " with \"installpkg\", \"removepkg\", \"pkgtool\", or manually
"
echo " with \"tar\")"
echo
echo "Usage: $0 <file.rpm>"
if [ "`basename $0`" = "rpm2tgz" ]; then
echo " (Outputs \"file.tgz\")"
else
echo " (Outputs \"file.tar.gz\")"
fi
exit 1;
fi
for i in $* ; do
if [ ! "$1" = "$*" ]; then
echo "Processing file: $i"
fi
rm -rf $TMPDIR/rpm2targz$$ # clear the way, just in case of mischief
mkdir $TMPDIR/rpm2targz$$
ofn=`basename $i .rpm`.cpio
dd ibs=`rpmoffset < $i` skip=1 if=$i 2> /dev/null | gzip -dc > $TMPDIR/rpm2tar
gz$$/$ofn
( cd $TMPDIR/rpm2targz$$
cpio --extract --preserve-modification-time --make-directories < $ofn 1> /de
v/null 2> /dev/null
rm -f $ofn
find . -type d -perm 700 -exec chmod 755 {} \;
tar cf - . ) > `basename $i .rpm`.tar
gzip -9 `basename $i .rpm`.tar
if [ "`basename $0`" = "rpm2tgz" ]; then
mv `basename $i .rpm`.tar.gz `basename $i .rpm`.tgz
fi
( cd $TMPDIR ; rm -rf rpm2targz$$ )
done
Copy this to a file called rpm2targz or rpm2tgz, put it in your
/sbin directory, chmod +x rpm2tgz, and you should be good to
go. It requires cpio, and I don't know if that exists on the RH
system. I don't know why it wouldn't.
Wouldn't it be better if I just let go and go back to windows?
Remember - I'm using linux since last week... I don't know it very well yet :-/
This is getting pretty rough... *has headaches*
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
After creating the file, you need to make it executable:
Code:
chmod +x rpm2tgz
Also, it should reside in /usr/bin/, but having it in your working
directory is fine for now.
In my opinion, there is never a reason to go to windows. You are
free to do as you choose, but I think that if you stick it out for
this, you'll be much better off. Also, you've only been using it
for a week, I don't see a reason to give up so soon. . .
I've put it into /sbin first, as you told me.
I did the chmod +x rpm2tgz command, as it didn't work I've tried chmod 777 rpm2tgz
Now I moved it into /usr/bin and still get the exact same error.
Why going back to windows? Isn't that obviously? I'm posting in this thread like every 5min with another prob of which I've never heard...
I find it a bit embarassing... if it's ok with you I stick with it and try to work on it,
but I realized that, without help I'll get nowhere!
That's why I'm thinking about going back, posting again and again and again for every non-working command is ....:-/
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Are you running as root? You need to be. Post the output of:
Code:
ls -l /usr/bin/rpm2tgz
I know I told you /sbin, and I was wrong, sorry. Having the file in
/usr/bin allows non root users to use it. . .
If you keep getting the error, do this:
Code:
cd /path/to/maya_openmotif
sh /usr/bin/rpm2tgz openmotif-2.1.30-2_ICS.i386.rpm
It should never be embarassing to be learning something new.
Look around on the site, everyone has had problems before, but
most people here are here because they know someone else
has had a similar problem and want to know how it was solved.
If you keep reading this site, you'll soon realize that you've
already dealt with problems and can answer others' questions.
The only thing I would ever be embarassed about when it comes
to this stuff is giving up. . .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.