Bug 1588 - pppd dump (or dryrun) segfaults
Summary: pppd dump (or dryrun) segfaults
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ppp (show other bugs)
Version: unstable
Hardware: all Linux
: P5 critical
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
: 3246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-20 15:09 MSK by Sergey Vlasov
Modified: 2005-07-13 15:45 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Vlasov 2002-11-20 15:09:10 MSK
# pppd dump
Segmentation fault
# pppd /dev/ttyS0 dump
pppd options in effect:
dump            # (from command line)
/dev/ttyS0              # (from command line)
lock            # (from /etc/ppp/options)
Segmentation fault
# cat /etc/ppp/options 
lock
# uname -a
Linux XXXXXX 2.4.18-alt8-up #1 Thu Aug 22 20:57:21 MSD 2002 i686 unknown unknown GNU/Linux

The dryrun option causes segfault too.

Reproducible with ppp-2.4.1-alt8 (from Sisyphus) and ppp-2.4.1-alt6 (from ALT Linux Master 2.0).
---

---

Comment 1 inger@altlinux.org 2002-12-23 13:36:44 MSK
rt_sigaction(SIGPIPE, {0x40128e10, [], SA_RESTORER, 0x4008b6f8}, {SIG_DFL}, 8) = 0
send(3, \"<30>Dec 23 13:34:04 pppd[7032]: \"..., 55, 0) = 55
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1040639644])                      = 1040639644
getpid()                                = 7032
rt_sigaction(SIGPIPE, {0x40128e10, [], SA_RESTORER, 0x4008b6f8}, {SIG_DFL}, 8) = 0
send(3, \"<30>Dec 23 13:34:04 pppd[7032]: \"..., 59, 0) = 59
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1040639644])                      = 1040639644
getpid()                                = 7032
rt_sigaction(SIGPIPE, {0x40128e10, [], SA_RESTORER, 0x4008b6f8}, {SIG_DFL}, 8) = 0
send(3, \"<30>Dec 23 13:34:04 pppd[7032]: \"..., 63, 0) = 63
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


бага подтверждается.
С другой стороны есть утилита pppdump
Comment 2 inger@altlinux.org 2002-12-23 13:36:44 MSK
rt_sigaction(SIGPIPE, {0x40128e10, [], SA_RESTORER, 0x4008b6f8}, {SIG_DFL}, 8) = 0
send(3, \"<30>Dec 23 13:34:04 pppd[7032]: \"..., 55, 0) = 55
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1040639644])                      = 1040639644
getpid()                                = 7032
rt_sigaction(SIGPIPE, {0x40128e10, [], SA_RESTORER, 0x4008b6f8}, {SIG_DFL}, 8) = 0
send(3, \"<30>Dec 23 13:34:04 pppd[7032]: \"..., 59, 0) = 59
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1040639644])                      = 1040639644
getpid()                                = 7032
rt_sigaction(SIGPIPE, {0x40128e10, [], SA_RESTORER, 0x4008b6f8}, {SIG_DFL}, 8) = 0
send(3, \"<30>Dec 23 13:34:04 pppd[7032]: \"..., 63, 0) = 63
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


бага подтверждается.
С другой стороны есть утилита pppdump
Comment 3 Sergey Vlasov 2002-12-23 14:00:06 MSK
pppdump не имеет отношения к данному вопросу - это утилита для разборки файлов от опции record, а pppd dump должен выдать установленные значения параметров конфигурации (что он и начал делать во втором случае, но ве равно упал).
Comment 4 Sergey Vlasov 2002-12-23 14:00:06 MSK
pppdump не имеет отношения к данному вопросу - это утилита для разборки файлов от опции record, а pppd dump должен выдать установленные значения параметров конфигурации (что он и начал делать во втором случае, но ве равно упал).
Comment 5 Mikhail Yakshin 2003-11-09 02:58:31 MSK
*** Bug 3246 has been marked as a duplicate of this bug. ***
Comment 6 inger@altlinux.org 2004-05-14 17:49:59 MSD
to maintainer 
Comment 7 Sergey Vlasov 2004-05-14 18:00:00 MSD
ppp-2.4.1.20031003-alt2 still fails in the same way.
Comment 8 Alexey Voinov 2004-05-31 18:32:51 MSD
fixed in ppp-2.4.2-alt1