Opened 12 years ago

Closed 12 years ago

#32611 closed defect (fixed)

Eterm crashes at launch

Reported by: macleod@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion Cc: rsmacleod (Rob MacLeod), loafin@…
Port: Eterm

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Eterm will make but crashes and core dumps at launch:

Eterm:  Warning:  Support for the utmp_logging attribute was not compiled in, ignoring
Eterm:  Warning:  Support for the utmp_logging attribute was not compiled in, ignoring
dyld: lazy symbol binding failed: Symbol not found: _blank_screen_mem
  Referenced from: /opt/local/lib/libEterm-0.9.5.dylib
  Expected in: flat namespace

dyld: Symbol not found: _blank_screen_mem
  Referenced from: /opt/local/lib/libEterm-0.9.5.dylib
  Expected in: flat namespace

Trace/BPT trap: 5 (core dumped)

I have just migrated to Lion and recreated my MacPorts from scratch.

THanks,
Rob

Change History (8)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: Eterm removed

comment:2 Changed 12 years ago by erniefourman@…

I see the same thing. I've modded the port file locally to use the latest version (0.9.6), and that seems to run fine as long as I launch eterm from the terminal. I get a warning message if I close the eterm window (unless I shut it down using Ctrl-D, in which case nothing):

XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server "/tmp/launch-NWVHVe/org.macosforge.xquartz:0"
      after 3790 requests (3790 known processed) with 0 events remaining.

However, if I set XQuartz to launch eterm as its default, or use the XQuartz shortcuts to launch an eterm, then it crashes out immediately.

Update: now that I've closed and re-opened both XQuartz and Terminal, eterm crashes out regardless...

comment:3 Changed 12 years ago by loafin@…

Compiling with gcc fixed this issue for me (clang has given me other issues, which led to this hunch):

% sudo port uninstall Eterm
% sudo port install Eterm configure.cc=gcc

comment:4 Changed 12 years ago by macleod@…

Thanks! This helps, this helps, but not completely.

Eterm did make and then launch, ran long enough for me to enter a command, and then crashed with these reports:

[idsl210:~/Documents/Teaching/BE6060]$ Eterm: Warning: Support for the utmp_logging attribute was not compiled in, ignoring Eterm: Warning: Support for the utmp_logging attribute was not compiled in, ignoring Eterm: Error: Received terminal signal SIGSEGV (11) Eterm: Error: Attempting to dump a stack trace.... GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu Nov 3 21:59:02 UTC 2011) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ......... warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/blocksort.o" - no debug information available for "blocksort.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/huffman.o" - no debug information available for "huffman.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/crctable.o" - no debug information available for "crctable.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/randtable.o" - no debug information available for "randtable.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/compress.o" - no debug information available for "compress.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/decompress.o" - no debug information available for "decompress.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/bzlib.o" - no debug information available for "bzlib.c".

.......... done

/Users/macleod/Documents/Teaching/BE6060/7821: No such file or directory Unable to access task for process-id 7821: (os/kern) failure. No stack.

I was able launch it a second time and so far, it is running.

I noticed this problem even before upgrading to Lion and making my whole MacPorts from scratch. Eterm would crash a few times, then seem to stabilize. Very odd behavior at the time...

Best, Rob

comment:5 Changed 12 years ago by loafin@…

Cc: loafin@… added

Cc Me!

comment:6 Changed 12 years ago by loafin@…

That is odd... I personally haven't had any issues with Eterm after recompiling.

I realized that I used the wrong compiler option (see UsingTheRightCompiler and ProblemHotlist), so I went ahead and rebuilt all of my ports with this option: configure.compiler=llvm-gcc-4.2 (for me, llvm-gcc-4.2 is equivalent to gcc, but I wanted to be specific in case that changes). So far, so good...

comment:7 Changed 12 years ago by macleod@…

I am still getting the strange crash, but intermittently and, worse, unpredictably (see below)

What is bzlib?

Thanks, Rob

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/blocksort.o" - no debug information available for "blocksort.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/huffman.o" - no debug information available for "huffman.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/crctable.o" - no debug information available for "crctable.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/randtable.o" - no debug information available for "randtable.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/compress.o" - no debug information available for "compress.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/decompress.o" - no debug information available for "decompress.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6/bzlib.o" - no debug information available for "bzlib.c".

.......... done

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.