#55 segmentation fault

closed
nobody
None
5
2011-01-01
2010-12-30
No

I'm using v3.0.1 on debian (intalled from apt).

running mlterm -E cp1255 leads to segmentation fault...

last lines from strace:
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\3\0\2\0Z\1\0\0\16\1\2\0Z\1\0\0", 16}, {NULL, 0}, {"", 0}], 3) = 16
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\0\t\0\3\0\0\0!\0\0\0\1\0\1\1\377\377\377\377\0\0\0\0\0\1\2\0 \0\0\0"..., 4096) = 76
read(3, 0x95ffa18, 4096) = -1 EAGAIN (Resource temporarily unavailable)
munmap(0xb6f36000, 356352) = 0
sched_getparam(2618, { 0 }) = 0
sched_getscheduler(2618) = 0 (SCHED_OTHER)
clock_getres(CLOCK_MONOTONIC, {0, 1}) = 0
sched_get_priority_min(SCHED_OTHER) = 0
sched_get_priority_max(SCHED_OTHER) = 0
sched_get_priority_max(SCHED_OTHER) = 0
gettimeofday({1293714490, 670121}, NULL) = 0
open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7816000
read(4, "# Locale name alias data base.\n#"..., 4096) = 2570
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7816000, 4096) = 0
open("/etc/mlterm/aafont", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2128, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7816000
read(4, "##\n## PLEASE READ /usr/share/do"..., 4096) = 2128
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7816000, 4096) = 0
open("/home/orgads/.mlterm/aafont", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

Discussion

  • Araki Ken

    Araki Ken - 2011-01-01
    • status: open --> closed
     
  • Araki Ken

    Araki Ken - 2011-01-01

    Thanks for your report.
    I fixed to avoid segumentation fault.
    BTW, "mlterm -E cp1255" doesn't start mlterm.
    If you want to use cp1255 encoding, use "-u" option as follows.
    $ mlterm -E cp1255 -u

     

Log in to post a comment.