Re: hwclock --compare segfaults when run as normal user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 26, 2014, at 16:48, Sami Kerola wrote:
> On 26 July 2014 13:40, Benno Schulenberg <bensberg@xxxxxxxxxxxxx> wrote:
> > On my system there is no /etc/adjtime file, and then:
> >
> > $ ./hwclock --compare
> > Segmentation fault
> 
> I tried to reproduce the issue without success. If you have core file
> could you try to gdb backtrace it?

(gdb) run --compare
Starting program: /home/ben/util-linux-2.25/hwclock --compare

Program received signal SIGSEGV, Segmentation fault.
0x0804cf71 in outb () at /usr/include/sys/io.h:99
99	  __asm__ __volatile__ ("outb %b0,%w1": :"a" (__value), "Nd" (__port));

(gdb) bt
#0  0x0804cf71 in outb () at /usr/include/sys/io.h:99
#1  cmos_read () at sys-utils/hwclock-cmos.c:348
#2  atomic () at sys-utils/hwclock-cmos.c:307
#3  hclock_read () at sys-utils/hwclock-cmos.c:456
#4  cmos_clock_busy () at sys-utils/hwclock-cmos.c:472
#5  synchronize_to_clock_tick_cmos () at sys-utils/hwclock-cmos.c:484
#6  0x08049919 in synchronize_to_clock_tick () at sys-utils/hwclock.c:348
#7  0x0804c578 in compare_clock (argc=<value optimized out>, argv=0xbffff414) at sys-utils/hwclock.c:1502
#8  main (argc=<value optimized out>, argv=0xbffff414) at sys-utils/hwclock.c:1941

Benno

-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux