Hi

On Tue, Jun 05, 2007 at 03:44:12PM -0400, Robert Swan wrote:
> Hi Ola;
> 
> Thanks for the response.
> 
> If you let me know how to run under gdb I could debug for you. I tried
> running pptp directly under gdb (without --nolaunchpppd) but after it
> forks gdb is no longer attached and doesn't catch the segfault. If you
> give me brief instruction on how to debug I can probably figure it
> out.

I'll see if I can give any good instructions.

Generally

gdb theprogram
run withsomearguments

Regards,

// Ola

> Robert
> 
> On 6/5/07, Ola Lundqvist <[EMAIL PROTECTED]> wrote:
> >Hi
> >
> >Good to know. However I do not have access to an amd64 machine so I
> >can not really debug this.
> >
> >If you could get a stacktrace uding gdb (or similar) it may be
> >easier.
> >
> >Regards,
> >
> >// Ola
> >
> >On Mon, Jun 04, 2007 at 11:39:06PM -0500, Robert Swan wrote:
> >> Package: pptp-linux
> >> Version: 1.7.0-2
> >>
> >> I get a segfault when trying to create a tunnel using pptp under pppd.
> >>
> >> from /var/log/messages
> >>
> >> Jun  4 23:20:34 swan pppd[31569]: pppd 2.4.4 started by root, uid 0
> >> Jun  4 23:20:34 swan pppd[31569]: Using interface ppp0
> >> Jun  4 23:20:34 swan pppd[31569]: Connect: ppp0 <--> /dev/pts/3
> >> Jun  4 23:20:42 swan kernel: pptp[31555]: segfault at 00007fffae829c38
> >> rip 0000000000405367 rsp 00007fffae767630 error 4
> >>
> >> ------------------
> >>
> >> >uname -a
> >> Linux swan 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST 2007 x86_64
> >> GNU/Linux
> >>
> >>
> >> >cat /etc/ppp/peers/tunnel
> >> lock noauth nobsdcomp nodeflate
> >> pty "pptp xxx.xxx.xxx.xxx --debug --nolaunchpppd"
> >> name DDDD\\uuuu
> >> remotename PPTP
> >> require-mppe-128
> >> ipparam xxxx
> >> file /etc/ppp/options.pptp
> >>
> >>
> >> /etc/ppp/options.pptp is not modified from the distribution.
> >>
> >> Regards,
> >> Robert
> >>
> >>
> >
> >--
> > --------------------- Ola Lundqvist ---------------------------
> >/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
> >|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
> >|  http://opalsys.net/                 +46 (0)70-332 1551       |
> >\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
> > ---------------------------------------------------------------
> >
> 

-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  [EMAIL PROTECTED]                   Annebergsslingan 37        \
|  [EMAIL PROTECTED]                   654 65 KARLSTAD            |
|  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to