Re: [Mageia-dev] net_applet segfaulting

2012-08-02 Thread Thierry Vignaud
On 1 July 2012 17:21, Shlomi Fish shlo...@shlomifish.org wrote:
 That's the wrong way to use gdb. You should do:

 $ gdb /usr/bin/perl
 $ run /usr/bin/net_applet

The following is way simpler:
gdb -q --args perl /usr/bin/net_applet


Re: [Mageia-dev] net_applet segfaulting

2012-07-02 Thread Robert Fox

On Sun, 2012-07-01 at 18:15 +0300, Shlomi Fish wrote:
 On Sun, 01 Jul 2012 14:55:25 +0200
 Robert Fox l...@foxconsult.net wrote:
 
  On Tue, 2012-06-19 at 19:46 +0200, Thierry Vignaud wrote:
   On 19 June 2012 16:01, Robert Fox l...@foxconsult.net wrote:
So for some unexplained reason it segfaults and I have to start it
again.
   
   Please:
   1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
   gtk2.0-debug gdb
   2) run gdb perl /usr/bin/net_applet
   3) type run to start it from the debuger
   4) type bt to get a backstrace once it segfaulted
   5) paste the backtrace in a text file you'll _attach_ to a bug report
  
 That's the wrong way to invoke gdb. You need:
 
 $ gdb /usr/bin/perl
 
 And in the gdb prompt:
 
 $ r /usr/bin/net_applet
 
 You can also use a --command start-up flag for that.
 
 Regards,
 
   Shlomi Fish
 
 

Thanks Shlomi!  Here's the results - I guess I need to open a formal bug
now:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe8043700 (LWP 5147)]
Perl_csighandler (sig=17, sip=optimized out, uap=optimized out) at
mg.c:1381
1381   (sig == SIGSEGV || (PL_signals 
PERL_SIGNALS_UNSAFE_FLAG)))
(gdb) bt
#0  Perl_csighandler (sig=17, sip=optimized out, uap=optimized out)
at mg.c:1381
#1  signal handler called
#2  0x76a8f378 in __GI___poll (fds=optimized out,
nfds=optimized out, timeout=optimized out)
at ../sysdeps/unix/sysv/linux/poll.c:87
#3  0x72b06ef6 in ?? () from /lib/../lib64/libglib-2.0.so.0
#4  0x72b0735a in g_main_loop_run ()
from /lib/../lib64/libglib-2.0.so.0
#5  0x7fffec67b4e6 in ?? () from /lib64/libgio-2.0.so.0
#6  0x72b28ac5 in ?? () from /lib/../lib64/libglib-2.0.so.0
#7  0x76d51c7d in start_thread (arg=0x7fffe8043700) at
pthread_create.c:301
#8  0x76a97f4d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x in ?? ()

R.Fox





Re: [Mageia-dev] net_applet segfaulting

2012-07-02 Thread Shlomi Fish
Hi Robert,

On Mon, 02 Jul 2012 09:05:46 +0200
Robert Fox l...@foxconsult.net wrote:

 
 On Sun, 2012-07-01 at 18:15 +0300, Shlomi Fish wrote:
  On Sun, 01 Jul 2012 14:55:25 +0200
  Robert Fox l...@foxconsult.net wrote:
  
   On Tue, 2012-06-19 at 19:46 +0200, Thierry Vignaud wrote:
On 19 June 2012 16:01, Robert Fox l...@foxconsult.net wrote:
 So for some unexplained reason it segfaults and I have to start it
 again.

Please:
1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
gtk2.0-debug gdb
2) run gdb perl /usr/bin/net_applet
3) type run to start it from the debuger
4) type bt to get a backstrace once it segfaulted
5) paste the backtrace in a text file you'll _attach_ to a bug report
   
  That's the wrong way to invoke gdb. You need:
  
  $ gdb /usr/bin/perl
  
  And in the gdb prompt:
  
  $ r /usr/bin/net_applet
  
  You can also use a --command start-up flag for that.
  
  Regards,
  
  Shlomi Fish
  
  
 
 Thanks Shlomi!  Here's the results - I guess I need to open a formal bug
 now:

You're welcome. However, it seems that your stack trace is missing some debug
packages. Please try to install them and to reproduce the stack trace again.

Regards,

Shlomi Fish

 
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7fffe8043700 (LWP 5147)]
 Perl_csighandler (sig=17, sip=optimized out, uap=optimized out) at
 mg.c:1381
 1381   (sig == SIGSEGV || (PL_signals 
 PERL_SIGNALS_UNSAFE_FLAG)))
 (gdb) bt
 #0  Perl_csighandler (sig=17, sip=optimized out, uap=optimized out)
 at mg.c:1381
 #1  signal handler called
 #2  0x76a8f378 in __GI___poll (fds=optimized out,
 nfds=optimized out, timeout=optimized out)
 at ../sysdeps/unix/sysv/linux/poll.c:87
 #3  0x72b06ef6 in ?? () from /lib/../lib64/libglib-2.0.so.0
 #4  0x72b0735a in g_main_loop_run ()
 from /lib/../lib64/libglib-2.0.so.0
 #5  0x7fffec67b4e6 in ?? () from /lib64/libgio-2.0.so.0
 #6  0x72b28ac5 in ?? () from /lib/../lib64/libglib-2.0.so.0
 #7  0x76d51c7d in start_thread (arg=0x7fffe8043700) at
 pthread_create.c:301
 #8  0x76a97f4d in clone ()
 at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #9  0x in ?? ()
 
 R.Fox
 
 
 



-- 
-
Shlomi Fish   http://www.shlomifish.org/
Apple Inc. is Evil - http://www.shlomifish.org/open-source/anti/apple/

Chuck Norris has 0 messages in his E-mail inbox. Including already read ones.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Re: [Mageia-dev] net_applet segfaulting

2012-07-02 Thread Shlomi Fish
Hi Robert,

please reply to the list.

On Mon, 02 Jul 2012 19:17:45 +0200
Robert Fox l...@foxconsult.net wrote:

 On Mon, 2012-07-02 at 13:14 +0300, Shlomi Fish wrote:
  Hi Robert,
  
  On Mon, 02 Jul 2012 09:05:46 +0200
  Robert Fox l...@foxconsult.net wrote:
  
   
   On Sun, 2012-07-01 at 18:15 +0300, Shlomi Fish wrote:
On Sun, 01 Jul 2012 14:55:25 +0200
Robert Fox l...@foxconsult.net wrote:

 On Tue, 2012-06-19 at 19:46 +0200, Thierry Vignaud wrote:
  On 19 June 2012 16:01, Robert Fox l...@foxconsult.net wrote:
   So for some unexplained reason it segfaults and I have to start it
   again.
  
  Please:
  1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
  gtk2.0-debug gdb
  2) run gdb perl /usr/bin/net_applet
  3) type run to start it from the debuger
  4) type bt to get a backstrace once it segfaulted
  5) paste the backtrace in a text file you'll _attach_ to a bug 
  report
 
That's the wrong way to invoke gdb. You need:

$ gdb /usr/bin/perl

And in the gdb prompt:

$ r /usr/bin/net_applet

You can also use a --command start-up flag for that.

Regards,

Shlomi Fish


   
   Thanks Shlomi!  Here's the results - I guess I need to open a formal bug
   now:
  
  You're welcome. However, it seems that your stack trace is missing some 
  debug
  packages. Please try to install them and to reproduce the stack trace again.
  
  Regards,
  
  Shlomi Fish
  
 
 Hello Shlomi - I installed what Thierry Vignaud suggested:  
 
 Please:
 1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
 gtk2.0-debug gdb

Looks fine.

 2) run gdb perl /usr/bin/net_applet

That's wrong - it should just be gdb perl.

 3) type run to start it from the debuger

run /usr/bin/net_applet.

 4) type bt to get a backstrace once it segfaulted
 5) paste the backtrace in a text file you'll _attach_ to a bug report
 
 What am I missing??
 

I don't think you're missing anything. Don't know what the problem is, but
maybe gdb does not load all the debug symbols. There's a related bug report
about it here:

https://bugs.mageia.org/show_bug.cgi?id=3417

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
List of Portability Libraries - http://shlom.in/port-libs

PerlJam I’m trying to achieve world peace and this regex is the last thing
standing in my way! ;)

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Re: [Mageia-dev] net_applet segfaulting

2012-07-01 Thread Robert Fox
On Tue, 2012-06-19 at 19:46 +0200, Thierry Vignaud wrote:
 On 19 June 2012 16:01, Robert Fox l...@foxconsult.net wrote:
  So for some unexplained reason it segfaults and I have to start it
  again.
 
 Please:
 1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
 gtk2.0-debug gdb
 2) run gdb perl /usr/bin/net_applet
 3) type run to start it from the debuger
 4) type bt to get a backstrace once it segfaulted
 5) paste the backtrace in a text file you'll _attach_ to a bug report

Finally got around to trying this - here is the output so far:

[rfox@ThinkFox ~]$ gdb perl /usr/bin/net_applet
GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show
copying
and show warranty for details.
This GDB was configured as x86_64-mageia-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/perl...Reading symbols
from /usr/lib/debug/usr/bin/perl5.16.0.debug...done.
done.
/usr/bin/net_applet is not a core dump: File format not recognized
(gdb) run
Starting program: /usr/bin/perl 
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib64/libthread_db.so.1.

and it just sits there - program doesn't start.

Didn't get very far . . .




Re: [Mageia-dev] net_applet segfaulting

2012-07-01 Thread Shlomi Fish
On Sun, 01 Jul 2012 14:55:25 +0200
Robert Fox l...@foxconsult.net wrote:

 On Tue, 2012-06-19 at 19:46 +0200, Thierry Vignaud wrote:
  On 19 June 2012 16:01, Robert Fox l...@foxconsult.net wrote:
   So for some unexplained reason it segfaults and I have to start it
   again.
  
  Please:
  1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
  gtk2.0-debug gdb
  2) run gdb perl /usr/bin/net_applet
  3) type run to start it from the debuger
  4) type bt to get a backstrace once it segfaulted
  5) paste the backtrace in a text file you'll _attach_ to a bug report
 
 Finally got around to trying this - here is the output so far:
 
 [rfox@ThinkFox ~]$ gdb perl /usr/bin/net_applet
 GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2)
 Copyright (C) 2011 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 http://gnu.org/licenses/gpl.html
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type show
 copying
 and show warranty for details.
 This GDB was configured as x86_64-mageia-linux-gnu.
 For bug reporting instructions, please see:
 http://www.gnu.org/software/gdb/bugs/...
 Reading symbols from /usr/bin/perl...Reading symbols
 from /usr/lib/debug/usr/bin/perl5.16.0.debug...done.
 done.
 /usr/bin/net_applet is not a core dump: File format not recognized
 (gdb) run
 Starting program: /usr/bin/perl 
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library /lib64/libthread_db.so.1.
 
 and it just sits there - program doesn't start.
 
 Didn't get very far . . .
 

That's the wrong way to invoke gdb. You need:

$ gdb /usr/bin/perl

And in the gdb prompt:

$ r /usr/bin/net_applet

You can also use a --command start-up flag for that.

Regards,

Shlomi Fish


-- 
-
Shlomi Fish   http://www.shlomifish.org/
Freecell Solver - http://fc-solve.shlomifish.org/

Mastering ‘cat’ is almost as difficult as herding cats.
— http://www.shlomifish.org/humour/bits/Mastering-Cat/

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Re: [Mageia-dev] net_applet segfaulting

2012-07-01 Thread Shlomi Fish
Hi Robert,

On Sun, 01 Jul 2012 14:55:25 +0200
Robert Fox l...@foxconsult.net wrote:

 On Tue, 2012-06-19 at 19:46 +0200, Thierry Vignaud wrote:
  On 19 June 2012 16:01, Robert Fox l...@foxconsult.net wrote:
   So for some unexplained reason it segfaults and I have to start it
   again.
  
  Please:
  1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
  gtk2.0-debug gdb
  2) run gdb perl /usr/bin/net_applet
  3) type run to start it from the debuger
  4) type bt to get a backstrace once it segfaulted
  5) paste the backtrace in a text file you'll _attach_ to a bug report
 
 Finally got around to trying this - here is the output so far:
 
 [rfox@ThinkFox ~]$ gdb perl /usr/bin/net_applet
 GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2)
 Copyright (C) 2011 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 http://gnu.org/licenses/gpl.html
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type show
 copying
 and show warranty for details.
 This GDB was configured as x86_64-mageia-linux-gnu.
 For bug reporting instructions, please see:
 http://www.gnu.org/software/gdb/bugs/...
 Reading symbols from /usr/bin/perl...Reading symbols
 from /usr/lib/debug/usr/bin/perl5.16.0.debug...done.
 done.
 /usr/bin/net_applet is not a core dump: File format not recognized
 (gdb) run
 Starting program: /usr/bin/perl 
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library /lib64/libthread_db.so.1.
 
 and it just sits there - program doesn't start.
 

That's the wrong way to use gdb. You should do:

$ gdb /usr/bin/perl
$ run /usr/bin/net_applet

Also look into gdb's --command flag for start up commands.

Regards,

Shlomi Fish

 Didn't get very far . . .
 
 



-- 
-
Shlomi Fish   http://www.shlomifish.org/
Escape from GNU Autohell - http://www.shlomifish.org/open-source/anti/autohell/

Whitespace in Python is not a problem: just lay out all the whitespace first,
then add the code around it.
— sizz on Freenode's #perl

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Re: [Mageia-dev] net_applet segfaulting

2012-06-20 Thread Thierry Vignaud
On 19 June 2012 22:59, Robert Fox l...@foxconsult.net wrote:
  So for some unexplained reason it segfaults and I have to start it
  again.

 Please:
 1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
 gtk2.0-debug gdb
 2) run gdb perl /usr/bin/net_applet
 3) type run to start it from the debuger
 4) type bt to get a backstrace once it segfaulted
 5) paste the backtrace in a text file you'll _attach_ to a bug report

 Thanks for that Thierry - before I go through the trouble, it would be
 helpful to know if this problem is affecting more than myself.  I don't
 have the debug repository set-up on this machine and it would take some
 time because I am traveling right now and don't have a good connection.

 Also, it looks like this bug could be the same:
 https://bugs.mageia.org/show_bug.cgi?id=6138

No it'sn't.
Yours is a segfault, this one is a crash

You'll have to open a BR and provide the backtrace...


[Mageia-dev] net_applet segfaulting

2012-06-19 Thread Robert Fox
I use a UMTS card on my laptop - and use net_applet to reactivate the
card (with PIN) when I awake the machine from sleep.

From KDE - frequently when I click on net_applet to further click on
Manage Wireless Networks - sometimes it disappears -

After running it from the cli - I get:


Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Cannot open /dev/input/eventX: Permission denied
Segmentation fault

So for some unexplained reason it segfaults and I have to start it
again.




Re: [Mageia-dev] net_applet segfaulting

2012-06-19 Thread Thierry Vignaud
On 19 June 2012 16:01, Robert Fox l...@foxconsult.net wrote:
 So for some unexplained reason it segfaults and I have to start it
 again.

Please:
1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
gtk2.0-debug gdb
2) run gdb perl /usr/bin/net_applet
3) type run to start it from the debuger
4) type bt to get a backstrace once it segfaulted
5) paste the backtrace in a text file you'll _attach_ to a bug report


Re: [Mageia-dev] net_applet segfaulting

2012-06-19 Thread Johnny A. Solbu
On Tuesday 19 June 2012 19:46, Thierry Vignaud wrote:
 4) type bt to get a backstrace once it segfaulted

Nice. I've always wondered how oe get a backtrace.
I'll save this in my hints file. :-)=

-- 
Johnny A. Solbu
PGP key ID: 0xFA687324


signature.asc
Description: This is a digitally signed message part.


Re: [Mageia-dev] net_applet segfaulting

2012-06-19 Thread Robert Fox
On Tue, 2012-06-19 at 19:46 +0200, Thierry Vignaud wrote:
 On 19 June 2012 16:01, Robert Fox l...@foxconsult.net wrote:
  So for some unexplained reason it segfaults and I have to start it
  again.
 
 Please:
 1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug
 gtk2.0-debug gdb
 2) run gdb perl /usr/bin/net_applet
 3) type run to start it from the debuger
 4) type bt to get a backstrace once it segfaulted
 5) paste the backtrace in a text file you'll _attach_ to a bug report

Thanks for that Thierry - before I go through the trouble, it would be
helpful to know if this problem is affecting more than myself.  I don't
have the debug repository set-up on this machine and it would take some
time because I am traveling right now and don't have a good connection.

Also, it looks like this bug could be the same:
https://bugs.mageia.org/show_bug.cgi?id=6138

Anyone else experiencing such a problem??

Thx,
Robert