[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: pb pppstats
From:       Junichi Saito <j.saito () wanadoo ! fr>
Date:       1999-08-23 13:29:52
[Download RAW message or body]


On Sun, 22 Aug 1999, Harri Porten wrote:

>Junichi Saito wrote:
>> 
>> With kppp from CVSup (1_1_BRANCH), updated and compiled on 20th August,
>> pppstats dosen't work. When I click on the button 'Details', kppp simply
>> disappears (it continues to run in background).
>
>kppp forks into two processes. Might be that one of them crashed so you
>see the remaining one.
>
>> 
>> Has anybody else noticed this behaviour ?
>
>I can't reproduce this. Everything is fine here.
>
>First of all, issue a "make clean" and compile again. Might be that this
>solves your problem.
>
>If not, do a normal connect and force an error with "killall pppd" so
>you'll get the "Details" message box.
>Then determine the two pids with "ps aux | grep kppp", su to root and
>attach gdb to
>the _lower_ one with gdb kppp {pid}. Type "cont" at gdb's prompt and
>click on "Details". After the crash occured a backtrace (bt) could give
>us some info.
>
>Harri.

For some reason, the compile time flag '-mcpu=k6' used with gcc 2.95.1
seems to generate broken binaries. Before I had pgcc 1.1.3 installed and
had always compiled all the kde packages with '-O6 -mcpu=k6'. This always
worked. Once '-mcpu=k6' removed, kppp recompiled only with '-O2' works as
usual.

I ran kppp from gdb, and found that kppp got segfault when I clicked on
'Deatils' button. Below is the output from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x402622cb in QWidget::show () from /usr/local/qt/lib/libqt.so.1

I had recompiled Qt-1.44 with gcc 2.95.1

I will try again to compile kppp with '-O6 -mcpu=k6' flags, when the pgcc
2.95.1 patch will be out.


Thank you.
 
j.


-- 
Send posts to:  kde@lists.netcentral.net
 Send all commands to:  kde-request@lists.netcentral.net
  Put your command in the SUBJECT of the message:
   "subscribe", "unsubscribe", "set digest on", or "set digest off"
PLEASE READ THE ARCHIVED MESSAGES AT http://lists.kde.org/ BEFORE POSTING
**********************************************************************
This list is from your pals at NetCentral <http://www.netcentral.net/>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic