Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: u54749 on October 11, 2009, 07:08:52 AM
-
When I logon using the slim graphical logon shell, I can't shutdown anymore. Exittc gives a segmentation fault
Without slim, exittc works normally
When I change the exittc binary by the one in Tinycore 2.3 the problem doen not occur any more
-
Extensions need to work with the operating system not the other way around.
-
Maybe I should pull slim. It's causing a lot of trouble, and I don't have time to maintain it right now.
-
Hi,
I have the same problem.
When i use xdm, then exittc wil not work anymore.
Also with a segmentation fault.
Perry
open("/usr/lib/libXau.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\t\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9210, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb732b000
mmap2(NULL, 9844, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7328000
mmap2(0xb732a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb732a000
close(3) = 0
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\374\16\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=18657, ...}) = 0
mmap2(NULL, 18512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7323000
mmap2(0xb7327000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb7327000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7322000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb73229e0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, usea
mprotect(0xb743c000, 4096, PROT_READ) = 0
mprotect(0xb7452000, 4096, PROT_READ) = 0
mprotect(0xb7593000, 8192, PROT_READ) = 0
mprotect(0xb75d5000, 4096, PROT_READ) = 0
mprotect(0xb768f000, 16384, PROT_READ) = 0
mprotect(0xb773e000, 4096, PROT_READ) = 0
munmap(0xb771a000, 24737) = 0
set_tid_address(0xb7322a48) = 4879
set_robust_list(0xb7322a50, 0xc) = 0
futex(0xbf853a30, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbf853a30, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, bf853a40) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0xb7442370, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7442800, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="box", ...}) = 0
brk(0) = 0x9f0c000
brk(0x9f2d000) = 0x9f2d000
open("/home/tc/.fltk/fltk.org/filechooser.prefs", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=97, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7720000
read(3, "; FLTK preferences file format 1"..., 4096) = 97
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7720000, 4096) = 0
futex(0xb7694934, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0xb769a428, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0xb769a448, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/opt/.backup_device", O_RDONLY|O_LARGEFILE) = 3
read(3, "", 8191) = 0
close(3) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
-
Xdm has already been flagged as broken and in need of fixing. I will go ahead and pull it from the repo since it is a cause of at least one other issue. If anyone needs the extension contents as a reference, I can mail it upon request.
When I get home I will retest some things on my own setup as I have seen similar but did not go about looking for the cause yet. But either way, xdm needs to be rebuilt if it is to be in the repo.
-
While plyaing with various window mangers, dmenu_mod, and actkbd I came acorss the issue with exittc segfaulting.
Fixed for next cut.