This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

new DS-5 (694) crashes

just installed DS-5 on Fedora 13. After I run, I saw it appeared on bottom bar a while, then gone. Then started in xterm, no pop up, I saw exit 13.

  • Hi Kaijun Tang,

    I had read some posts from you before. So I am thinking about that, if the language setting is an important factor of the mentioned problems. Are you using an English Fedora 13?

  • Yes, I always use English one.

  • Unfortunately, Fedora 13 isn't an officially supported platform for DS-5.

    But I'd still like to understand more about your problem: is it the Installer that is crashing or is the install completing and then Eclipse that is crashing?

    Can you please post the output of 'uname -a' and 'cat /etc/lsb-release'?

    Thanks.

  • The installation has completed, but the Eclipse crashes.

    2.6.34.7-56.fc13.x86_64 #1 SMP Wed Sep 15 03:36:55 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
    there is only /etc/lsb-release.d/
    -rw-r--r--. 1 root root 0 Jul 9 08:34 core-4.0-amd64
    -rw-r--r--. 1 root root 0 Jul 9 08:34 core-4.0-noarch
    -rw-r--r--. 1 root root 0 Jul 9 08:34 graphics-4.0-amd64
    -rw-r--r--. 1 root root 0 Jul 9 08:34 graphics-4.0-noarch

    they are empty.

  • Thanks. I'm afraid I don't have an immediate answer, but I'll do what I can to get Fedora 13 or 14 added as a tested platform.

    I'm still curious: Is there some other /etc/*-release file?

  • there are others
    -rw-r--r--. 1 root root 28 May 7 06:24 /etc/fedora-release
    lrwxrwxrwx. 1 root root 14 Oct 3 12:32 /etc/redhat-release -> fedora-release
    lrwxrwxrwx. 1 root root 14 Oct 3 12:32 /etc/system-release -> fedora-release

    in /etc/fedora-release
    Fedora release 13 (Goddard)

  • Thanks.

    I'll understand if you want to drop this thread now, but if you could collect some more information I'll have a look at it.

    First, what happens if you run the simpler make binary: # /usr/local/DS-5/bin/make ; echo st=$?

    I would expect a "normal" error exit:
    make: *** No targets specified and no makefile found. Stop.
    st=2

    If it is a crash instead it would be useful to see the make.log produced by: # strace -f -o make.log /usr/local/DS-5/bin/make

    This will probably be pretty big. Using pastebin.com and posting a link here is probably a good way to share it.

    If make doesn't crash, try collecting the trace of eclipse itself:

    # strace -f -o eclipse.log /usr/local/DS-5/bin/eclipse

    This is likely to be really big. The end of the log file is part most likely to be useful.

    Thanks again.

  • I post the end of the eclipse.log. It looks the eclipse needs e.g. libgdk-x11-2.0.so.0. But it is part of redhat. I try to install it by yum install libgdk-x11, it shows

    Loaded plugins: presto, refresh-packagekit, rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Error: No matching Packages to list

    see the end of the eclipse.log

    10850 open("/lib/tls/i686/sse2/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/lib/tls/i686/sse2", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/lib/tls/i686/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/lib/tls/i686", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/lib/tls/sse2/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/lib/tls/sse2", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/lib/tls/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/lib/tls", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/lib/i686/sse2/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/lib/i686/sse2", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/lib/i686/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    10850 open("/lib/sse2/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/lib/sse2", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/lib/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
    10850 open("/usr/lib/tls/i686/sse2/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/usr/lib/tls/i686/sse2", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/usr/lib/tls/i686/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/usr/lib/tls/i686", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/usr/lib/tls/sse2/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/usr/lib/tls/sse2", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/usr/lib/tls/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/usr/lib/tls", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/usr/lib/i686/sse2/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/usr/lib/i686/sse2", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/usr/lib/i686/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/usr/lib/i686", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/usr/lib/sse2/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/usr/lib/sse2", 0xffc6d808) = -1 ENOENT (No such file or directory)
    10850 open("/usr/lib/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 stat64("/usr/lib", {st_mode=S_IFDIR|0555, st_size=20480, ...}) = 0
    10850 munmap(0xf753d000, 108711) = 0
    10850 open("/home/tang/Projects/DS-5/sw/debughw/tools/libgdk_pixbuf-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 open("/etc/ld.so.cache", O_RDONLY) = 3
    10850 fstat64(3, {st_mode=S_IFREG|0644, st_size=108711, ...}) = 0
    10850 mmap2(NULL, 108711, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff753d000
    10850 close(3) = 0
    10850 open("/lib/i686/libgdk_pixbuf-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 open("/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 open("/usr/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 munmap(0xf753d000, 108711) = 0
    10850 open("/home/tang/Projects/DS-5/sw/debughw/tools/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 open("/etc/ld.so.cache", O_RDONLY) = 3
    10850 fstat64(3, {st_mode=S_IFREG|0644, st_size=108711, ...}) = 0
    10850 mmap2(NULL, 108711, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff753d000
    10850 close(3) = 0
    10850 open("/lib/i686/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 open("/lib/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 open("/usr/lib/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    10850 munmap(0xf753d000, 108711) = 0
    10850 shmctl(2261032, IPC_64|IPC_RMID, 0) = 0
    10850 munmap(0x87d000, 48456) = 0
    10850 exit_group(13) = ?

  • I found those missing libs in /usr/lib64. I created links to those libs from /usr/lib, but still no luck. I posted eclipse.log with name DS-5 test in pastebin.com. Here is make.log

    7482 execve("./make", ["./make"], [/* 20 vars */]) = 0
    7482 brk(0) = 0x9a63000
    7482 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7771000
    7482 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    7482 open("/etc/ld.so.cache", O_RDONLY) = 3
    7482 fstat64(3, {st_mode=S_IFREG|0644, st_size=108879, ...}) = 0
    7482 mmap2(NULL, 108879, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7756000
    7482 close(3) = 0
    7482 open("/lib/libc.so.6", O_RDONLY) = 3
    7482 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 >\215\0004\0\0\0"..., 512) = 512
    7482 fstat64(3, {st_mode=S_IFREG|0755, st_size=1855560, ...}) = 0
    7482 mmap2(0x8bd000, 1620360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x8bd000
    7482 mprotect(0xa42000, 4096, PROT_NONE) = 0
    7482 mmap2(0xa43000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x185) = 0xa43000
    7482 mmap2(0xa46000, 10632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa46000
    7482 close(3) = 0
    7482 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7755000
    7482 set_thread_area(0xff8bf25c) = 0
    7482 mprotect(0xa43000, 8192, PROT_READ) = 0
    7482 mprotect(0x8b9000, 4096, PROT_READ) = 0
    7482 munmap(0xf7756000, 108879) = 0
    7482 getrlimit(RLIMIT_STACK, {rlim_cur=-4284481536, rlim_max=4287357840}) = 0
    7482 setrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=-32664596388256880}) = 0
    7482 brk(0) = 0x9a63000
    7482 brk(0x9a84000) = 0x9a84000
    7482 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
    7482 fstat64(3, {st_mode=S_IFREG|0644, st_size=99158752, ...}) = 0
    7482 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7555000
    7482 mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0xf46) = 0xfffffffff7770000
    7482 close(3) = 0
    7482 rt_sigaction(SIGHUP, {0x804b627, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
    7482 rt_sigaction(SIGQUIT, {0x804b627, [QUIT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
    7482 rt_sigaction(SIGINT, {0x804b627, [INT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
    7482 rt_sigaction(SIGTERM, {0x804b627, [TERM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
    7482 rt_sigaction(SIGXCPU, {0x804b627, [XCPU], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
    7482 rt_sigaction(SIGXFSZ, {0x804b627, [XFSZ], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
    7482 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
    7482 getcwd("/home/tang/Projects/DS-5/bin", 4095) = 29
    7482 stat64("/arm/eda/tools/dsystool/make/3.81/2/include", 0xff8bda30) = -1 ENOENT (No such file or directory)
    7482 stat64("/usr/gnu/include", 0xff8bda30) = -1 ENOENT (No such file or directory)
    7482 stat64("/usr/local/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    7482 stat64("/usr/include", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
    7482 rt_sigaction(SIGCHLD, {0x8054b44, [CHLD], SA_RESTART}, {SIG_DFL, [CHLD], SA_RESTART}, 8) = 0
    7482 rt_sigaction(SIGUSR1, {0x80570cc, [USR1], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
    7482 stat64(".", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
    7482 open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
    7482 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
    7482 getdents64(3, /* 37 entries */, 32768) = 1584
    7482 getdents64(3, /* 0 entries */, 32768) = 0
    7482 close(3) = 0
    7482 stat64("RCS", 0xff8bd9f0) = -1 ENOENT (No such file or directory)
    7482 stat64("SCCS", 0xff8bd9f0) = -1 ENOENT (No such file or directory)
    7482 stat64("GNUmakefile", 0xff8bd980) = -1 ENOENT (No such file or directory)
    7482 stat64("makefile", 0xff8bd980) = -1 ENOENT (No such file or directory)
    7482 stat64("Makefile", 0xff8bd980) = -1 ENOENT (No such file or directory)
    7482 open("/usr/share/locale/locale.alias", O_RDONLY) = 3
    7482 fstat64(3, {st_mode=S_IFREG|0644, st_size=2512, ...}) = 0
    7482 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff776f000
    7482 read(3, "# Locale name alias data base.\n#"..., 4096) = 2512
    7482 read(3, "", 4096) = 0
    7482 close(3) = 0
    7482 munmap(0xf776f000, 4096) = 0
    7482 open("/arm/eda/tools/dsystool/make/3.81/2/share/locale/en_GB.utf8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    7482 open("/arm/eda/tools/dsystool/make/3.81/2/share/locale/en_GB/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    7482 open("/arm/eda/tools/dsystool/make/3.81/2/share/locale/en.utf8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    7482 open("/arm/eda/tools/dsystool/make/3.81/2/share/locale/en/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    7482 write(2, "make: *** ", 10) = 10
    7482 write(2, "No targets specified and no make"..., 42) = 42
    7482 write(2, ". Stop.\n", 9) = 9
    7482 chdir("/home/tang/Projects/DS-5/bin") = 0
    7482 close(1) = 0
    7482 exit_group(2) = ?

  • Thanks for the traces. The problem does seem to have to do with missing 32-bit libraries. Here's a draft of some instructions that may fix your problem on 64-bit Fedora 13. I think you've probably already done step 1.

    Please let me know if this works for you.

    ____
    Most modern 64-bit Linux distributions do not include support for 32-bit applications by default. DS-5 is currently a 32-bit application, so requires a number of libraries to be installed. The process of installing 32-bit support libraries varies by distribution. The following instructions apply to Fedora 13 (which remains an unsupported platform).

    References: infocenter.arm.com/.../index.jsp

    The following instructions assume root access via "su". You might also have "sudo" installed, so all commands will be prefixed with "sudo" and run as your normal user. However, sudo is not typically configured to run for all users on RedHat systems.

    1. Start the Add/Remove Software utility (in the System -> Adminstration menu)

    - Choose Package Collections - Select Legacy Software Support and apply

    2. Open a Terminal (in the Applications -> System Tools menu)

    - Switch to root:

    % su -

    - Install the packages required for Eclipse:

    # yum --assumeyes install gtk2.i686 libcanberra-gtk2.i686 PackageKit-gtk-module.i686 gtk2-engines.i686 xulrunner.i686

    3. To use the RTSM, you will also need telnet and the xterm terminal installed.

    - Open a Terminal (in the Applications -> System Tools menu)

    - Switch to root:

    % su -

    - Install the packages required for xterm connections to the RTSM:

    # yum install --assumeyes xterm telnet
    ___

  • Excellent! We'll make the instructions above made into a Knowledgebase article. Thanks for all your help.