Bug 15812 - draksnapshot-config crashed
Summary: draksnapshot-config crashed
Status: RESOLVED DUPLICATE of bug 11395
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2015-05-01 09:48 CEST by Norbert Kieffer
Modified: 2015-05-03 14:51 CEST (History)
1 user (show)

See Also:
Source RPM: draksnapshot-0.20.3-7.mga4
CVE:
Status comment:


Attachments

Description Norbert Kieffer 2015-05-01 09:48:59 CEST
The "draksnapshot-config" program crashed. Drakbug-16.26.12 caught it.

Démarrage

you must be root to run this program at /usr/lib/libDrakX/common.pm line 387.
Perl's trace:
standalone::bug_handler() called from /usr/lib/libDrakX/common.pm:387
common::require_root_capability() called from /usr/sbin/draksnapshot-config:39

Theme name: oxygen-gtk
Kernel version = 3.14.32-server-1.mga4
Distribution=Mageia release 4 (Official) for i586
CPU=Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
Comment 1 Samuel Verschelde 2015-05-01 13:20:38 CEST
Hi,

Could you try to produce a debugging stacktrace by following those instructions? https://wiki.mageia.org/en/Triage_guide#Drakxtools_Crashes

Thanks in advance!

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 2 Thierry Vignaud 2015-05-01 16:19:18 CEST
No need

*** This bug has been marked as a duplicate of bug 11395 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 3 Norbert Kieffer 2015-05-02 10:14:21 CEST
Hi
Sorry for the test results
It does not operate as expected !

1)GDB7.6.6.mga4 was intalled

2)Installing the debug rpms impossible :
[root@localhost somebody]#  urpmi.update --no-ignore -v Core\ debug
getting exclusive lock on urpmi
essai de sélection du média inexistant « Core debug »
l'entrée à mettre à jour est manquante
(un parmi Core Release, Nonfree Release, Core Release (distrib1), Core Release Debug (distrib2), Core Updates (distrib3), Core Updates Debug (distrib4), Core Updates Testing (distrib5), Core Updates Testing Debug (distrib6), Core Backports (distrib7), Core Backports Debug (distrib8), Core Backports Testing (distrib9), Core Backports Testing Debug (distrib10), Nonfree Release (distrib11), Nonfree Release Debug (distrib12), Nonfree Updates (distrib13), Nonfree Updates Debug (distrib14), Nonfree Updates Testing (distrib15), Nonfree Updates Testing Debug (distrib16), Nonfree Backports (distrib17), Nonfree Backports Debug (distrib18), Nonfree Backports Testing (distrib19), Nonfree Backports Testing Debug (distrib20), Tainted Release (distrib21), Tainted Release Debug (distrib22), Tainted Updates (distrib23), Tainted Updates Debug (distrib24), Tainted Updates Testing (distrib25), Tainted Updates Testing Debug (distrib26), Tainted Backports (distrib27), Tainted Backports Debug (distrib28), Tainted Backports Testing (distrib29), Tainted Backports Testing Debug (distrib30))
unlocking urpmi database

3)Installed Rpms by hand (taken by http://rpm.pbone.net/)
-glib2.0-debuginfo.2.38.2.4.mga4
-glibc-debuginfo.2.18.9.mga4
-gtk+2.0-debuginfo.2.24.22.3.mga4
-perl-debuginfo.5.18.1.3.mga4
-perl-Gtk2-debuginfo.1.249.500.2.mga4

4)gdb -q --args perl /usr/bin/draksnapshot-config
=
root@localhost somebody]# gdb -q --args perl /usr/bin/draksnapshot-config
Reading symbols from /usr/bin/perl5.18.1...Reading symbols from /usr/lib/debug/usr/bin/perl5.18.1.debug...done.
done.
(gdb) run
Starting program: /usr/bin/perl5.18.1 /usr/bin/draksnapshot-config
warning: the debug information found in "/usr/lib/debug//usr/lib/perl5/5.18.1/i386-linux-thread-multi/CORE/libperl.so.debug" does not match "/usr/lib/perl5/5.18.1/i386-linux-thread-multi/CORE/libperl.so" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/lib/perl5/5.18.1/i386-linux-thread-multi/CORE/libperl.so.debug" does not match "/usr/lib/perl5/5.18.1/i386-linux-thread-multi/CORE/libperl.so" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//lib/i686/libpthread-2.18.so.debug" does not match "/lib/i686/libpthread.so.0" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i686/libthread_db.so.1".
warning: the debug information found in "/usr/lib/debug//lib/i686/libc-2.18.so.debug" does not match "/lib/i686/libc.so.6" (CRC mismatch).

Can't open perl script "/usr/bin/draksnapshot-config": Aucun fichier ou dossier de ce type
[Inferior 1 (process 6555) exited with code 02]
Missing separate debuginfos, use: debuginfo-install perl-base-5.18.1-3.2.mga4.i586
(gdb)
Comment 4 Samuel Verschelde 2015-05-02 10:42:52 CEST
Don't worry, apparently the maintainer already knows the cause of this bug (see comment #3 where he wrote "no need"). This bug report is a duplicate of another bug report.
Comment 5 Norbert Kieffer 2015-05-02 17:18:42 CEST
Thanks to you

Please do you have an idea why :
1) I could not charge the rpms from the right place ?
2) why GDB with the fished debug rpms did not work ?
Thank You

I wait your answer befor closing this bug report

Have a nice WE
Comment 6 Thierry Vignaud 2015-05-02 18:04:50 CEST
In your case, it should have been "Core Release Debug" instead of "Core Debug" and this app is in /usr/sbin, not /usr/bin
Comment 7 Samuel Verschelde 2015-05-02 18:06:45 CEST
Looks like we need to fix the wiki :)
Comment 8 Norbert Kieffer 2015-05-02 23:16:38 CEST
I have done yhe changes but it is not efficient :

[root@localhost somebody]# urpmi.update --no-ignore -v Core\ release\ debug 
getting exclusive lock on urpmi
activation du média « Core Release Debug (distrib2) »
le fichier de configuration [/etc/urpmi/urpmi.cfg] a été écrit
unlocking urpmi database
[root@localhost somebody]# urpmi glib2.0-debug glibc-debug gtk+2.0-debug perl-Gtk2-debug perl-debug
Pas de paquetage nommé glib2.0-debug
Pas de paquetage nommé glibc-debug
Pas de paquetage nommé gtk+2.0-debug
Pas de paquetage nommé perl-Gtk2-debug
Pas de paquetage nommé perl-debug
[root@localhost somebody]#
Comment 9 Samuel Verschelde 2015-05-02 23:25:00 CEST
That's because although the debug media has been updated, it's not active. We really need to update our procedure :)

try with urpmi glib2.0-debug glibc-debug gtk+2.0-debug perl-Gtk2-debug perl-debug --search-media debug
Comment 10 Samuel Verschelde 2015-05-02 23:26:46 CEST
oh now I got it backwards! 

Try : urpmi.update debug (this will update all your debug media), then retry what you did in comment #8
Comment 11 Samuel Verschelde 2015-05-02 23:41:29 CEST
I've updated the wiki, this should work now: https://wiki.mageia.org/en/Triage_guide#Drakxtools_Crashes
Comment 12 Norbert Kieffer 2015-05-03 11:01:14 CEST
Good morning All

The corrected procedure works fine !

Only not the test himself

Here my results :

bash-4.2$ su
Mot de passe : 
[root@localhost somebody]# gdb -q --args perl /usr/bin/draksnapshot-config
Reading symbols from /usr/bin/perl5.18.1...Reading symbols from /usr/lib/debug/usr/bin/perl5.18.1.debug...done.
done.
(gdb) run
Starting program: /usr/bin/perl5.18.1 /usr/bin/draksnapshot-config
warning: the debug information found in "/usr/lib/debug//usr/lib/perl5/5.18.1/i386-linux-thread-multi/CORE/libperl.so.debug" does not match "/usr/lib/perl5/5.18.1/i386-linux-thread-multi/CORE/libperl.so" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/lib/perl5/5.18.1/i386-linux-thread-multi/CORE/libperl.so.debug" does not match "/usr/lib/perl5/5.18.1/i386-linux-thread-multi/CORE/libperl.so" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//lib/i686/libpthread-2.18.so.debug" does not match "/lib/i686/libpthread.so.0" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i686/libthread_db.so.1".
warning: the debug information found in "/usr/lib/debug//lib/i686/libc-2.18.so.debug" does not match "/lib/i686/libc.so.6" (CRC mismatch).

Can't open perl script "/usr/bin/draksnapshot-config": Aucun fichier ou dossier de ce type
[Inferior 1 (process 24491) exited with code 02]
Missing separate debuginfos, use: debuginfo-install perl-base-5.18.1-3
.2.mga4.i586
(gdb) 

Have an idea ?
Comment 13 Samuel Verschelde 2015-05-03 11:07:36 CEST
Yes, it's /usr/sbin/draksnapshot-config
Comment 14 Norbert Kieffer 2015-05-03 11:12:28 CEST
After sending the above mail I receaved an update for Perl Debug
Done the update

Here the new test result : it is not OK

bash-4.2$ su
Mot de passe : 
[root@localhost somebody]# gdb -q --args perl /usr/bin/draksnapshot-config
Reading symbols from /usr/bin/perl5.18.1...Reading symbols from /usr/lib/debug/usr/bin/perl5.18.1.debug...done.
done.
(gdb) run
Starting program: /usr/bin/perl5.18.1 /usr/bin/draksnapshot-config
warning: the debug information found in "/usr/lib/debug//lib/i686/libpthread-2.18.so.debug" does not match "/lib/i686/libpthread.so.0" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i686/libthread_db.so.1".
warning: the debug information found in "/usr/lib/debug//lib/i686/libc-2.18.so.debug" does not match "/lib/i686/libc.so.6" (CRC mismatch).

Can't open perl script "/usr/bin/draksnapshot-config": Aucun fichier ou dossier de ce type
[Inferior 1 (process 29714) exited with code 02]
Missing separate debuginfos, use: debuginfo-install glibc-2.18-9.9.mga4.i586
(gdb)
Comment 15 Norbert Kieffer 2015-05-03 11:13:43 CEST
After Changes in sbin : test crash

bash-4.2$ su
Mot de passe : 
[root@localhost somebody]# gdb -q --args perl /usr/sbin/draksnapshot-config
Reading symbols from /usr/bin/perl5.18.1...Reading symbols from /usr/lib/debug/usr/bin/perl5.18.1.debug...done.
done.
(gdb) run
Starting program: /usr/bin/perl5.18.1 /usr/sbin/draksnapshot-config
warning: the debug information found in "/usr/lib/debug//lib/i686/libpthread-2.18.so.debug" does not match "/lib/i686/libpthread.so.0" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i686/libthread_db.so.1".
warning: the debug information found in "/usr/lib/debug//lib/i686/libc-2.18.so.debug" does not match "/lib/i686/libc.so.6" (CRC mismatch).

gobject.pyc: gdb was not built with custom backtrace support, disabling.
Detaching after fork from child process 32737.
Detaching after fork from child process 32739.
Detaching after fork from child process 32740.
[New Thread 0xb6058b40 (LWP 32741)]
[New Thread 0xb56ffb40 (LWP 32742)]

(draksnapshot-config:32732): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(draksnapshot-config:32732): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(draksnapshot-config:32732): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(draksnapshot-config:32732): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Comment 16 Samuel Verschelde 2015-05-03 11:20:30 CEST
Last comment is ok. Then you need to reproduce the crash, and type "bt" to produce a backtrace.

Of course all of this is unneeded since we already know where the bug comes from, that's why this one was closed as a duplicate of bug 11395
Comment 17 Norbert Kieffer 2015-05-03 14:51:19 CEST
OK
Closed

Note You need to log in before you can comment on or make changes to this bug.