Bug 248

Summary: rpmdrake segfaulted when choosing more then 1 package to be remove!
Product: Mageia Reporter: Egon Ashrafinia <egon.mageia>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: release_blocker CC: a.laumaillier, dennisgrif, dmorganec, ennael1, lovaren, magnus.mud, misc, pindle, tellitoros, yochenhsieh
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: perl-URPM CVE:
Status comment:
Attachments: debug trace
Debug Trace No 2
Trace with alpha2
backport fix from rpm5's URPM
Rpmdrake 5.26.7 BackTrace for uninstall items bug

Description Egon Ashrafinia 2011-03-01 20:47:33 CET
Description of problem:

RPMDRAKE crashes when I wanted to remove kernel-desktop-devel.

Error Message:

Das Programm "rpmdrake" hat ein segfaulted mit folgender Fehlermeldung::

  SEGV
  standalone::bug_handler() called from /usr/lib/libDrakX/standalone.pm:220
  standalone::__ANON__() called from /usr/lib/perl5/vendor_perl/5.12.3/i386-linux-thread-multi/URPM/Resolve.pm:832
  (eval)() called from /usr/lib/perl5/vendor_perl/5.12.3/i386-linux-thread-multi/URPM/Resolve.pm:832
  URPM::resolve_rejected_() called from /usr/lib/perl5/vendor_perl/5.12.3/i386-linux-thread-multi/URPM/Resolve.pm:810
  URPM::resolve_rejected() called from /usr/lib/perl5/vendor_perl/5.12.3/urpm/select.pm:406
  urpm::select::__ANON__() called from /usr/lib/perl5/vendor_perl/5.12.3/urpm/select.pm:409
  urpm::select::find_packages_to_remove() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:680
  Rpmdrake::gui::closure_removal() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:765
  Rpmdrake::gui::__ANON__() called from /usr/lib/perl5/vendor_perl/5.12.3/rpmdrake.pm:416
  rpmdrake::slow_func() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:765
  Rpmdrake::gui::toggle_nodes() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:575
  Rpmdrake::gui::__ANON__() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:587
  Rpmdrake::gui::__ANON__() called from /usr/lib/libDrakX/mygtk2.pm:1425
  (eval)() called from /usr/lib/libDrakX/mygtk2.pm:1425
  mygtk2::main() called from /usr/lib/libDrakX/ugtk2.pm:767
  ugtk2::main() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:595
  Rpmdrake::gui::ask_browse_tree_given_widgets_for_rpmdrake() called from /usr/sbin/rpmdrake:779
  main::run_treeview_dialog() called from /usr/sbin/rpmdrake:803

GDB verfolgt die Spur:

  Attaching to program: /usr/bin/perl, process 26684
  [Thread debugging using libthread_db enabled]
  0xffffe424 in __kernel_vsyscall ()
  #0  0xffffe424 in __kernel_vsyscall ()
  #1  0xb764b123 in __waitpid_nocancel () from /lib/i686/libpthread.so.0
  #2  0xb7786558 in Perl_wait4pid ()
     from /usr/lib/perl5/5.12.3/i386-linux-thread-multi/CORE/libperl.so
  #3  0xb77f2514 in Perl_pp_waitpid ()
     from /usr/lib/perl5/5.12.3/i386-linux-thread-multi/CORE/libperl.so
  #4  0xb779d692 in Perl_runops_standard ()
     from /usr/lib/perl5/5.12.3/i386-linux-thread-multi/CORE/libperl.so
  #5  0xb7740c2c in perl_run ()
     from /usr/lib/perl5/5.12.3/i386-linux-thread-multi/CORE/libperl.so
  #6  0x08048b6e in main ()
  A debugging session is active.
  
  	Inferior 1 [process 26684] will be detached.
  
  Quit anyway? (y or n) [answered Y; input not from terminal]

Um eine Fehlerbericht abzugeben, klicken Sie auf den Knopf âBerichtenâ.
Dies wird ein Webbrowser-Fenster auf Bugzilla öffnen, in dem Sie das Forumlar ausfüllen müssen. Die oben dargestellten Informationen werden auf den Server übertragen werden.
Es wäre nützlich, wenn Sie Ihrem Bericht die Ausgabe des folgenden Kommandos anfügen würden: 'lspcidrake -v'.


Version-Release number of selected component (if applicable):

5.26.6

How reproducible:

The funny thing is that when I select kernel-desktop first and then kernel-desktop-devel it crashes. Also the way arround. Thus I think its because of selecting more then 1 package to be remove.

Steps to Reproduce:
1. Select 2 packages to be remove
2. Select kernel-desktop to be remove and then kernel-desktop-devel
3. The way arround as Setp 2.


Greetings

Wubbbi


Reproducible: 

Steps to Reproduce:
Ahmad Samir 2011-03-02 17:38:00 CET

Assignee: bugsquad => thierry.vignaud

Comment 1 Thierry Vignaud 2011-03-03 15:27:52 CET
Can you reproduce it?
If yes, please install needed debug packages and run it from gdb.
Aka:
1) install glibc-debug, perl-debug, perl-Gtk2-debug, perl-Glib-debug, perl-URPM-debug, rpm-debug from the debug/core/release medium (that you may need to enabled through edit-urpm-sources)
2) run "gdb -q --args perl /usr/sbin/rpmdrake",
   type "run" then "bt" when it segfaulted,
3) then copy the backtrace into some text file you'll attach here.

Keywords: (none) => NEEDINFO
Summary: RPMDRAKE crashes when choosing more then 1 package to be remove! => RPMDRAKE segfaulted when choosing more then 1 package to be remove!

Comment 2 Thierry Vignaud 2011-03-03 15:29:25 CET
BTW, Have you rpm-4.6.1 or rpm-4.8.1?
Comment 3 Magnus Rasche 2011-03-03 23:01:01 CET
Same problem with rpm-4.8.1
I will debug it tommorrow evening

CC: (none) => magnus.mud

Comment 4 Magnus Rasche 2011-03-04 22:34:01 CET
Proböem with instalation of glibc-debug and perl-URPM-debug.
hdlist and package don't connect

urpm database is actual
------------------------------------------------------------------------------
[root@localhost mageia]# urpmi perl-URPM-debug
    ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/cauldron/i586/media/debug/core/release/perl-URPM-debug-3.38-2.mga1.i586.rpm
                                                                                              
 â¦Holen fehlgeschlagen: curl: (19) Given file does not exist
 â¦Holen fehlgeschlagen: curl Fehler: Beendet mit 19

Installation fehlgeschlagen, einige Dateien fehlen:
    ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/cauldron/i586/media/debug/core/release/perl-URPM-debug-3.38-2.mga1.i586.rpm
Sie sollten Ihre urpmi-Datenbank aktualisieren.

Trotzdem versuchen? (j/N) n

-------------------------------------------------------------------------------
[root@localhost mageia]# urpmi glibc-debug


    ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/cauldron/i586/media/debug/core/release/glibc-debug-2.12.1-9.mga1.i586.rpm
                                                                                              
 â¦Holen fehlgeschlagen: curl: (19) Given file does not exist
 â¦Holen fehlgeschlagen: curl Fehler: Beendet mit 19

Installation fehlgeschlagen, einige Dateien fehlen:
    ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/cauldron/i586/media/debug/core/release/glibc-debug-2.12.1-9.mga1.i586.rpm
Sie sollten Ihre urpmi-Datenbank aktualisieren.

Trotzdem versuchen? (j/N) n
Comment 5 Thierry Vignaud 2011-03-05 08:56:20 CET
You need to update your media...
Comment 6 Magnus Rasche 2011-03-05 13:15:41 CET
media is up to date.

There is a problem with the hdlist (see bug 281)

There are new versions on the server, higher then -2.mga1 and -9.mga1
Comment 7 Magnus Rasche 2011-03-06 13:26:45 CET
Done :-)

I hope, it is ok. Otherwise I make another test

-------------------------------------------------------------------------------
(gdb) bt
#0  0xb7755889 in return_list_str (s=<value optimized out>, header=<value optimized out>, 
    tag_name=1047, tag_flags=0, tag_version=0, f=0xb7746140 <callback_list_str_xpush>, param=
    0x0) at URPM.xs:435
#1  0xb7756430 in XS_URPM__Package_provides_nosense (my_perl=0x804a008, cv=0x8443c00)
    at URPM.xs:2174
#2  0xb7f189cb in Perl_pp_entersub (my_perl=0x804a008) at pp_hot.c:2885
#3  0xb7f0f692 in Perl_runops_standard (my_perl=0x804a008) at run.c:40
#4  0xb7eac1cb in Perl_call_sv (my_perl=0x804a008, sv=0xc8a0d80, flags=6) at perl.c:2590
#5  0xb7767706 in XS_URPM__DB_traverse_tag (my_perl=0x804a008, cv=0x8444330) at URPM.xs:2918
#6  0xb7f189cb in Perl_pp_entersub (my_perl=0x804a008) at pp_hot.c:2885
#7  0xb7f0f692 in Perl_runops_standard (my_perl=0x804a008) at run.c:40
#8  0xb7eac4b0 in Perl_call_sv (my_perl=0x804a008, sv=0x8e1cec0, flags=13) at perl.c:2605
#9  0xb6fec2b2 in gperl_closure_marshal (closure=0xa991d30, return_value=0x0, n_param_values=
    2, param_values=0x8f7b190, invocation_hint=0xbfffe250, marshal_data=0x804a008)
    at GClosure.xs:108
#10 0xb6f61384 in g_closure_invoke () from /lib/libgobject-2.0.so.0
#11 0xb6f73dac in ?? () from /lib/libgobject-2.0.so.0
#12 0xb6f7cf54 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#13 0xb6f7d0e3 in g_signal_emit () from /lib/libgobject-2.0.so.0
#14 0xb60afdfe in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb60a643c in gtk_cell_renderer_activate () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb627cbd8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb627d24a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb627073f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb6157204 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb6f5fc1d in ?? () from /lib/libgobject-2.0.so.0
#21 0xb6f61384 in g_closure_invoke () from /lib/libgobject-2.0.so.0
#22 0xb6f73b9f in ?? () from /lib/libgobject-2.0.so.0
#23 0xb6f7cd4a in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#24 0xb6f7d0e3 in g_signal_emit () from /lib/libgobject-2.0.so.0
#25 0xb628c536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb615538d in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb6155a17 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb5fccbea in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#29 0xb6e9e609 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---

after return:

#30 0xb6e9ee10 in ?? () from /lib/libglib-2.0.so.0
#31 0xb6e9f4db in g_main_loop_run () from /lib/libglib-2.0.so.0
#32 0xb6154459 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xb656de1d in XS_Gtk2_main (my_perl=0x804a008, cv=0x888c528) at xs/Gtk2.xs:449
#34 0xb7f189cb in Perl_pp_entersub (my_perl=0x804a008) at pp_hot.c:2885
#35 0xb7f0f692 in Perl_runops_standard (my_perl=0x804a008) at run.c:40
#36 0xb7eb2afe in S_run_body (my_perl=0x804a008) at perl.c:2303
#37 perl_run (my_perl=0x804a008) at perl.c:2233
#38 0x08048b6e in main (argc=2, argv=0xbfffeef4, env=0xbfffef00) at perlmain.c:117
Comment 8 Thierry Vignaud 2011-03-06 22:13:13 CET
It would have been better to attach the GDB trace as requested (b/c of bugzilla reformating lines) but it helps.

Looks like fix for https://qa.mandriva.com/show_bug.cgi?id=61144 wasn't enough :-(
It was on the test machine I had and there was no more report with the new package.

Gcc has been updated since though..

Summary: RPMDRAKE segfaulted when choosing more then 1 package to be remove! => rpmdrake segfaulted when choosing more then 1 package to be remove!
Source RPM: rpmdrake => perl-URPM

Comment 9 Thierry Vignaud 2011-03-07 07:43:53 CET
Try perl-URPM-3.38-4 once it reachs your favorite mirror
Comment 10 Magnus Rasche 2011-03-07 10:42:13 CET
I will test it in the evening
Comment 11 Magnus Rasche 2011-03-07 18:41:25 CET
Created attachment 96 [details]
debug trace

No Success :-(

the trace ist attached hoping it better to read
Comment 12 Thierry Vignaud 2011-03-08 08:26:09 CET
You forgot to install perl-URPM-debug as requested.
This is especially needed as it is there it is crashing.
Could you attach a trace with it?
Comment 13 Magnus Rasche 2011-03-08 08:52:40 CET
I forgot the to activate the debug :-(

But no problem, unfortunately only in the early evening
Comment 14 Magnus Rasche 2011-03-08 19:13:59 CET
Created attachment 99 [details]
Debug Trace No 2

next test, I hope it is better.
Otherwise, I will try it again :-)
D Morgan 2011-03-16 02:46:32 CET

Priority: Normal => release_blocker
CC: (none) => dmorganec

Comment 15 Thierry Vignaud 2011-03-16 08:26:32 CET
Can you reproduce with urpme?
Thierry Vignaud 2011-03-16 08:27:01 CET

Attachment 96 is obsolete: 0 => 1

Comment 16 Thierry Vignaud 2011-03-16 08:29:17 CET
BTW, it cannot be release blocker since it's not reproductable yet...

Priority: release_blocker => High

Comment 17 Magnus Rasche 2011-03-16 09:23:01 CET
After the fresh installation of Alpha2 (with following updates) it seems a little different:
Selecting two packages was ok, but after unselect one of them it segfaulted.

Because it was late in the night I stoped.

I will verify it in the evening and then make a trace, after adding all debug-packages :-)

I will also try to reproduce with urpme.
Comment 18 Magnus Rasche 2011-03-16 19:39:06 CET
Created attachment 131 [details]
Trace with alpha2

After selecting two packages: segfaulted
Comment 19 Magnus Rasche 2011-03-16 19:52:50 CET
What can I do more?

[root@localhost alpha2]# LC_ALL=C urpme -v vlc vlc-plugin-common --test
getting lock on urpmi
using mirror http://mageia.supp.name/distrib/cauldron/i586
examining synthesis file [/var/lib/urpmi/Core Release (distrib1)/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Release Debug (distrib2)/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Updates (distrib3)/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Updates Debug (distrib4)/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Release (distrib11)/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Release Debug (distrib12)/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Updates (distrib13)/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Updates Debug (distrib14)/synthesis.hdlist.cz]
warning: cleaning stale lock
Speicherzugriffsfehler
Comment 20 Magnus Rasche 2011-03-30 21:23:10 CEST
I have the same problem with a different but similar activity:

After a successful deinstallation of one package, I tried to uninstall an other package.

This segfaulted
Comment 21 Thierry Vignaud 2011-04-01 11:24:00 CEST
Just a guess since it's unreproductable on x86_64:
do all the reporters are running 32bit systems?
Comment 22 Magnus Rasche 2011-04-01 13:22:27 CEST
Yes, two 32bit systems.
In the evening I can install Mageia Alpha2 on x86_64, to reproduce the error!?
Comment 23 Magnus Rasche 2011-04-01 20:43:16 CEST
Installation x86_64 from dvd with no updates
---> no error 

after updating the system
---> no error
Comment 24 Manuel Hiebel 2011-04-01 21:03:40 CEST
*** Bug 564 has been marked as a duplicate of this bug. ***

CC: (none) => kristoffer.grundstrom1983

Comment 25 Michael Scherer 2011-04-01 21:04:32 CEST
I do see the error on a vm too, using urpme on command line.
The stacktrace is the same, and this is 32 bits vm.

The error can be reproduced with urpme 
( urpme patcher mercurial ).
Comment 26 Michael Scherer 2011-04-01 21:09:05 CEST
Could it be related to https://qa.mandriva.com/show_bug.cgi?id=61690  . And the bug seems to be 32 bits specific, confirmed on irc ( stew has a 32 bits vm and can reproduce, ahmad don't and he cannot )

CC: (none) => misc

Comment 27 Thierry Vignaud 2011-04-04 11:49:39 CEST
Created attachment 192 [details]
backport fix from rpm5's URPM

Cool. all rpm.org bits got removed @mdv :-(
So much for cooperation...

Anyway, can anyone test recompiling URPM with that patch and try to reproduce this bug?
This is just a backport of the fix from mdv's perl-URPM.
Comment 28 Magnus Rasche 2011-04-04 15:43:26 CEST
If some make a package, I will test it in the evening.
Comment 29 Michael Scherer 2011-04-05 14:08:37 CEST
If I am not wrong in my test ( tv sent me the package by mail ), it is not sufficient :

# urpme patcher mercurial
Erreur de segmentation
Comment 30 Thierry Vignaud 2011-04-05 18:29:15 CEST
*** Bug 636 has been marked as a duplicate of this bug. ***

CC: (none) => a.laumaillier

Comment 31 James Kerr 2011-04-08 09:51:06 CEST
*** Bug 692 has been marked as a duplicate of this bug. ***

CC: (none) => dennisgrif

Comment 32 toros 2011-04-09 23:06:07 CEST
I installed Mageia Alpha 2 by 32 bit DVD.
I am using local repositories.
My local repositories:
        Core (includes in Mageia alpha 2 DVD)
        Yerel (includes downloaded packages)
        mvt (includes, Mandriva Turkey Team's compiled for Turkish packages).

When i selected for remove second package rpmdrake crash.
This error repeat every time.
So I must remove one by one.

In command line it is same. like this:

if i want remove more packages, 
it gives "fragmentation failure" message and stop.

When i remove one by one

it gives "Freeing read locks for locker 0x10: 7851/3075585728" message but remove :)

CC: (none) => tellitoros

Comment 33 toros 2011-04-10 00:27:31 CEST
(In reply to comment #32)

Sorry, there is a mistake

I installed by Mageia 1 Beta 1 32 bit DVD. (Not alpha 2)


> I installed Mageia Alpha 2 by 32 bit DVD.
> I am using local repositories.
> My local repositories:
>         Core (includes in Mageia alpha 2 DVD)
>         Yerel (includes downloaded packages)
>         mvt (includes, Mandriva Turkey Team's compiled for Turkish packages).
> 
> When i selected for remove second package rpmdrake crash.
> This error repeat every time.
> So I must remove one by one.
> 
> In command line it is same. like this:
> 
> if i want remove more packages, 
> it gives "fragmentation failure" message and stop.
> 
> When i remove one by one
> 
> it gives "Freeing read locks for locker 0x10: 7851/3075585728" message but
> remove :)
Comment 34 Johan Pirlouit 2011-04-16 04:11:43 CEST
Hi everyone,

Tonight I got the same crash... Also on a 32 bit system. And it also appears only when we manually select more than one item. When Rpmdrake prompts to add other packages to satisfy dependencies and we check "Yes", it doesn't crash.

My CPU for this test is an AMD Duron 1GHz with 376Mo available RAM (8Mo are reserved for the video IGP), so I use Mageia "i586": fresh install from the i586 Beta1 DVD and all avilable updates were installed after the install process (unknown LAN issue during the process, it was unable to check Internet at this install step though everything worked after with no action from me).

My desktop is Gnome as installed by default, with no customization.

Rpmdrake version is 5.26.7, no update seems to be available after updating all repositories and reloading package list:
"Le programme « rpmdrake » a planté (SEGV) avec l'erreur suivante :

  SEGV
  standalone::bug_handler() called from /usr/lib/libDrakX/standalone.pm:220
  standalone::__ANON__() called from /usr/lib/perl5/vendor_perl/5.12.3/i386-linux-thread-multi/URPM/Resolve.pm:832
  (eval)() called from /usr/lib/perl5/vendor_perl/5.12.3/i386-linux-thread-multi/URPM/Resolve.pm:832
  URPM::resolve_rejected_() called from /usr/lib/perl5/vendor_perl/5.12.3/i386-linux-thread-multi/URPM/Resolve.pm:810
  URPM::resolve_rejected() called from /usr/lib/perl5/vendor_perl/5.12.3/urpm/select.pm:406
  urpm::select::__ANON__() called from /usr/lib/perl5/vendor_perl/5.12.3/urpm/select.pm:409
  urpm::select::find_packages_to_remove() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:680
  Rpmdrake::gui::closure_removal() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:765
  Rpmdrake::gui::__ANON__() called from /usr/lib/perl5/vendor_perl/5.12.3/rpmdrake.pm:416
  rpmdrake::slow_func() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:765
  Rpmdrake::gui::toggle_nodes() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:575
  Rpmdrake::gui::__ANON__() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:587
  Rpmdrake::gui::__ANON__() called from /usr/lib/libDrakX/mygtk2.pm:1425
  (eval)() called from /usr/lib/libDrakX/mygtk2.pm:1425
  mygtk2::main() called from /usr/lib/libDrakX/ugtk2.pm:767
  ugtk2::main() called from /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/gui.pm:595
  Rpmdrake::gui::ask_browse_tree_given_widgets_for_rpmdrake() called from /usr/sbin/rpmdrake:779
  main::run_treeview_dialog() called from /usr/sbin/rpmdrake:803

Sa trace GDB est : 

  Attaching to program: /usr/bin/perl, process 2843
  [Thread debugging using libthread_db enabled]
  0xffffe424 in __kernel_vsyscall ()
  #0  0xffffe424 in __kernel_vsyscall ()
  #1  0xb7576123 in __waitpid_nocancel () from /lib/i686/libpthread.so.0
  #2  0xb76a4558 in Perl_wait4pid ()
     from /usr/lib/perl5/5.12.3/i386-linux-thread-multi/CORE/libperl.so
  #3  0xb7710514 in Perl_pp_waitpid ()
     from /usr/lib/perl5/5.12.3/i386-linux-thread-multi/CORE/libperl.so
  #4  0xb76bb692 in Perl_runops_standard ()
     from /usr/lib/perl5/5.12.3/i386-linux-thread-multi/CORE/libperl.so
  #5  0xb765ec2c in perl_run ()
     from /usr/lib/perl5/5.12.3/i386-linux-thread-multi/CORE/libperl.so
  #6  0x08048b6e in main ()
  A debugging session is active.
  
  	Inferior 1 [process 2843] will be detached.
  
  Quit anyway? (y or n) [answered Y; input not from terminal]

Pour soumettre un rapport de bogue, cliquez sur le bouton Signaler.
Cela ouvrira une fenêtre de navigateur sur Bugzilla où vous trouverez un formulaire à remplir. L'information affichée ci-dessus sera transférée vers ce serveur.
Il est très utile d'inclure dans votre rapport la sortie de la commande suivante : « lspcidrake -v »."

--------------------------------------

lspcidrake returns this:
"Card:Trident-based cards: Trident Microsystems|CyberBlade/i1 [DISPLAY_VGA] (vendor:1023 device:8500)
8139too         : Realtek Semiconductor Co., Ltd.|RTL-8139/8139C/8139C+ [NETWORK_ETHERNET] (vendor:10ec device:8139) (rev: 10)
em8300          : Sigma Designs, Inc.|REALmagic Hollywood Plus DVD Decoder [MULTIMEDIA_OTHER] (vendor:1105 device:8300) (rev: 01)
snd_via82xx     : VIA Technologies, Inc.|VT82C686 AC97 Audio Controller [MULTIMEDIA_AUDIO] (vendor:1106 device:3058) (rev: 50)
i2c_viapro      : VIA Technologies, Inc.|VT82C686 [Apollo Super ACPI] [BRIDGE_OTHER] (vendor:1106 device:3057) (rev: 40)
uhci_hcd        : VIA Technologies, Inc.|VT82xxxxx UHCI USB 1.1 Controller [SERIAL_USB] (vendor:1106 device:3038 subv:0925 subd:1234) (rev: 1a)
uhci_hcd        : VIA Technologies, Inc.|VT82xxxxx UHCI USB 1.1 Controller [SERIAL_USB] (vendor:1106 device:3038 subv:0925 subd:1234) (rev: 1a)
pata_via        : VIA Technologies, Inc.|VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [STORAGE_IDE] (vendor:1106 device:0571) (rev: 06)
parport_pc      : VIA Technologies, Inc.|VT82C686 [Apollo Super South] [BRIDGE_ISA] (vendor:1106 device:0686 subv:1106 subd:0000) (rev: 40)
shpchp          : VIA Technologies, Inc.|VT8361 [KLE133] AGP Bridge [BRIDGE_PCI] (vendor:1106 device:b112)
unknown         : VIA Technologies, Inc.|VT8361 [KLE133] Host Bridge [BRIDGE_HOST] (vendor:1106 device:3112)
hub             : Linux 2.6.38.3-desktop-0.rc1.1.mga uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 2.6.38.3-desktop-0.rc1.1.mga uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)"

--------------------------------------

Backtrace file: Rpmdrake_5-26-7_BackTrace.txt (made following Comment #1 steps)

Regards,
Johan

CC: (none) => pindle

Comment 35 Johan Pirlouit 2011-04-16 04:12:26 CEST
Created attachment 239 [details]
Rpmdrake 5.26.7 BackTrace for uninstall items bug
Comment 36 You-Cheng Hsieh 2011-04-18 03:32:55 CEST
I have this bug reproducible when I want to remove a package that is required by other packages.

Normally, it should give a list of packages that are going to be removed if you remove this package, and allow user to select 'yes' or 'no'. But in Mageia, rpmdrake just segfaulted.

CC: (none) => yochenhsieh

Michael Scherer 2011-04-19 12:20:37 CEST

Priority: High => release_blocker

Comment 37 Anne Nicolas 2011-04-20 15:45:05 CEST
Thierry any idea on that bug ?

CC: (none) => ennael1

Comment 38 Thierry Vignaud 2011-04-21 02:19:22 CEST
Looks like a rpm-4.8 regression, rpmtdGetString() suddenly returns a pointer with the value 0x10 which obviously causes a segfault once dereferenced

Keywords: NEEDINFO => (none)
Status: NEW => ASSIGNED

Comment 39 Thierry Vignaud 2011-04-21 03:23:49 CEST
Fixed in SVN

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 40 toros 2011-04-25 20:16:16 CEST
Today i update my system and rpmdrake running with any problem.

I removed more then one packages. (I did it with four packages).
I can remove in commadline more then one packages, too.

Thanks :)
Comment 41 Johan Pirlouit 2011-04-25 22:19:33 CEST
Yes, after update it seems to work... Unselected multiple items and Rpmdrake did not crashed.

Thanks ;-)