[chrony-users] Chrony-1.24 Crash |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] Chrony-1.24 Crash
- From: Walther Maldonado <walther.md@xxxxxxxxx>
- Date: Fri, 26 Mar 2010 10:00:32 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=n9ztBdSoE/5Q9HD1llEWfuPA1S13BzbIStBbzgJpvFw=; b=iMwK+Sd6aPIfL0TjsLbQblTiWdqonXunNi6rjR7dkCMG4ElVh4C9CGVpyDzAf9H+M+ b0CD4SLmlliXWYWjolsXsvxx8BSiKCUA3HWrDG2RdtGn+7X1KKhtP4rNv3tppO4xzpeP wxEvX4V73oWjzUlGnXTAv9LBwKoEHq7GPKdS4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=I8Wv38qhT/JU1ZhI8ZkPeL6VeckrthC35G4WTixRQeIjyELWHaDEOJu3MmqwuXqFWt qhdHUm5xEkQwbWjPEggV5ksH/KjgVsiMk/yz9vU9Wirk2ep8Q08wGD+QMIP5xD9XmTz+ 5nIGyM+JpkG2SBIG4XTAv11PJOuN9TA28NwZ4=
Greetings,
Apparently there's an error in sched.c, SCH_AddTimeoutInClass. The end of the linked list is not when timer_queue.next == timer_queue, but when timer_queue.next == null.
gdb output:
Program received signal SIGSEGV, Segmentation fault.
SCH_AddTimeoutInClass (min_delay=128, separation=2, class=1,
handler=0x804d372 <transmit_timeout>, arg=0x806c2b0) at sched.c:355
355 sched.c: Aucun fichier ou dossier de ce type.
in sched.c
(gdb) p ptr
$1 = (TimerQueueEntry *) 0x0
(gdb) p timer_queue
$2 = {next = 0x806aa68, prev = 0x806aa28, tv = {tv_sec = 0, tv_usec = 0},
id = 0, class = 0, handler = 0, arg = 0x0}
(gdb) p timer_queue.next
$3 = (struct _TimerQueueEntry *) 0x806aa68
(gdb) p timer_queue
$4 = {next = 0x806aa68, prev = 0x806aa28, tv = {tv_sec = 0, tv_usec = 0},
id = 0, class = 0, handler = 0, arg = 0x0}
(gdb) p timer_queue.next
$5 = (struct _TimerQueueEntry *) 0x806aa68
(gdb) p timer_queue.next.next
$6 = (struct _TimerQueueEntry *) 0x806aa08
(gdb) p timer_queue.next.next.next
.....
(gdb) p timer_queue
$27 = {next = 0x806aa68, prev = 0x806aa28, tv = {tv_sec = 0, tv_usec = 0},
id = 0, class = 0, handler = 0, arg = 0x0}
(gdb) p &timer_queue
$28 = (TimerQueueEntry *) 0x80646f8
(gdb) p timer_queue.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next
$29 = (struct _TimerQueueEntry *) 0x806a768
.....
(gdb) p timer_queue.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next
$35 = (struct _TimerQueueEntry *) 0x0
Cheers,
~Walther
---
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.