Ticket #1730 (closed defect: fixed in core)
[ffalarms] Segmentation fault
| Reported by: | skupko | Owned by: | mrmoku |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | SHR Image | Version: | SHR-core |
| Keywords: | ffalarms | Cc: |
Description
ffalarms are crashing during new alarm definition.
root@om-gta02:~# /usr/bin/ffalarms -s 06:45 Segmentation fault root@om-gta02:~# cat /etc/shr-version SHR 20120118 Built from branch: shr Revision: d884dd499fbcf0d1642e25d046ab959358996ab4
Change History
Note: See
TracTickets for help on using
tickets.

Fix available:
This is due missing zone.tab file:
root@om-gta02:~# strace /usr/bin/ffalarms -s 06:45 execve("/usr/bin/ffalarms", ["/usr/bin/ffalarms", "-s", "06:45"], [/* 19 vars */]) = 0 brk(0) = 0x2c000 uname({sys="Linux", node="om-gta02", ...}) = 0 <some lines here> open("/home/root/.ffalarms/alarms", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/timezone", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=18, ...}) = 0 read(3, "Europe/Bratislava\n", 18) = 18 close(3) = 0 access("/usr/share/zoneinfo/zone.tab", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/zoneinfo/zone.tab", R_OK) = -1 ENOENT (No such file or directory) access("/etc/zoneinfo/zone.tab", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/lib/zoneinfo/zone.tab", R_OK) = -1 ENOENT (No such file or directory) --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Segmentation faultCreation of symbolic link fix that issue: