Bug 159885 - yast2 crashes after canceling rpm installation
Summary: yast2 crashes after canceling rpm installation
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 8
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Jiri Srain
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 144304
  Show dependency treegraph
 
Reported: 2006-03-21 22:18 UTC by Martin Mrazik
Modified: 2006-04-20 14:05 UTC (History)
4 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2logs (4.19 MB, application/x-gzip)
2006-03-21 22:25 UTC, Martin Mrazik
Details
backtrace from console (4.36 KB, text/plain)
2006-03-21 22:26 UTC, Martin Mrazik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mrazik 2006-03-21 22:18:10 UTC
how to reproduce:


king:/home/filo # yast2 sw_single

search for an uninstalled package (e.g. gvim), select it for installation, click on cancel.

This appeared on my console (y2logs attached):


*** glibc detected *** /usr/lib/YaST2/bin/y2base: corrupted double-linked list:
0xb76ba178 ***
======= Backtrace: =========
/lib/libc.so.6[0xb76009b1]
/lib/libc.so.6[0xb7600ada]
/lib/libc.so.6[0xb7602719]
/lib/libc.so.6(malloc+0x86)[0xb76042a6]
/usr/lib/librpmdb-4.4.so(__os_malloc_rpmdb+0x5f)[0xb6ef4aaf]
/usr/lib/librpmdb-4.4.so(__memp_sync_int_rpmdb+0x89)[0xb6ef3899]
/usr/lib/librpmdb-4.4.so(__memp_sync_rpmdb+0x8c)[0xb6ef446c]
/usr/lib/librpmdb-4.4.so[0xb6ece127]
/usr/lib/librpmdb-4.4.so(__dbenv_close_rpmdb+0x6c)[0xb6ece1bc]
/usr/lib/librpmdb-4.4.so(__dbenv_close_pp_rpmdb+0x72)[0xb6ece362]
/usr/lib/librpmdb-4.4.so[0xb6e587ff]
/usr/lib/librpmdb-4.4.so(rpmdbClose+0xb1)[0xb6e50721]
/usr/lib/libzypp.so.0(_ZN4zypp6target3rpm8librpmDbD0Ev+0x41)[0xb7279d91]
/usr/lib/libzypp.so.0[0xb72794d9]
/lib/libc.so.6(__cxa_finalize+0x86)[0xb75c8656]
/usr/lib/libzypp.so.0[0xb70a6bd3]
/usr/lib/libzypp.so.0[0xb733d4bc]
/lib/ld-linux.so.2[0xb7f0cd25]
/lib/libc.so.6(exit+0xdd)[0xb75c835d]
/usr/lib/liby2.so.2(main+0x1a50)[0xb7cbc3b0]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb75b287c]
/usr/lib/YaST2/bin/y2base(main+0x5d)[0x8048501]
======= Memory map: ========
08048000-08049000 r-xp 00000000 03:05 390543     /usr/lib/YaST2/bin/y2base
08049000-0804a000 rw-p 00000000 03:05 390543     /usr/lib/YaST2/bin/y2base
0804a000-0bf79000 rw-p 0804a000 00:00 0          [heap]
b3c00000-b3cbc000 rw-p b3c00000 00:00 0
b3cbc000-b3d00000 ---p b3cbc000 00:00 0
b3d81000-b3d82000 r--p 00000000 03:05 276439     /usr/share/YaST2/locale/en_US/L
C_MESSAGES/rpm-groups.mo
b3d82000-b3d83000 r--p 00000000 03:05 455171     /usr/share/locale/en_US/LC_MESS
AGES/zypp.mo
b3d83000-b3d84000 r--p 00000000 03:05 276429     /usr/share/YaST2/locale/en_US/L
C_MESSAGES/packager.mo
b4273000-b42a3000 r-xp 00000000 03:05 537672     /opt/kde3/lib/libDCOP.so.4.2.0
b42a3000-b42a4000 rw-p 00030000 03:05 537672     /opt/kde3/lib/libDCOP.so.4.2.0
b42a4000-b42a6000 rw-p b42a4000 00:00 0
b42b7000-b42bf000 r-xp 00000000 03:05 572583     /opt/kde3/lib/kde3/plugins/inte
gration/libqtkde.so
b42bf000-b42c0000 rw-p 00007000 03:05 572583     /opt/kde3/lib/kde3/plugins/inte
gration/libqtkde.so
b42c0000-b42c9000 r-xp 00000000 03:05 311032     /usr/X11R6/lib/X11/locale/lib/c
ommon/xomGeneric.so.2
b42c9000-b42ca000 rw-p 00008000 03:05 311032     /usr/X11R6/lib/X11/locale/lib/c
ommon/xomGeneric.so.2
b42ca000-b4310000 r--p 00000000 03:05 812812     /var/X11R6/compose-cache/l2_024
_35fe9fba
b4310000-b432b000 r-xp 00000000 03:05 311027     /usr/X11R6/lib/X11/locale/lib/c
ommon/ximcp.so.2
b432b000-b432d000 rw-p 0001b000 03:05 311027     /usr/X11R6/lib/X11/locale/lib/c
ommon/ximcp.so.2
b435a000-b435b000 r--p 00000000 03:05 276430     /usr/share/YaST2/locale/en_US/L
C_MESSAGES/packages-qt.mo
b435b000-b436d000 r--p 00000000 03:05 254844     /usr/share/ghostscript/fonts/n0
19004l.pfb
b436d000-b4398000 r-xp 00000000 03:05 250910     /usr/lib/liblcms.so.1.0.15
b4398000-b439a000 rw-p 0002a000 03:05 250910     /usr/lib/liblcms.so.1.0.15
b439a000-b439c000 rw-p b439a000 00:00 0
b439c000-b4409000 r-xp 00000000 03:05 251219     /usr/lib/libmng.so.1.1.0.9
b4409000-b440c000 rw-p 0006c000 03:05 251219     /usr/lib/libmng.so.1.1.0.9
b440c000-b442a000 r-xp 00000000 03:05 250387     /usr/lib/libjpeg.so.62.0.0
b442a000-b442b000 rw-p 0001d000 03:05 250387     /usr/lib/libjpeg.so.62.0.0
b442b000-b4455000 r-xp 00000000 03:05 537690     /opt/kde3/lib/libkdefx.so.4.2.0
b4455000-b4457000 rw-p 00029000 03:05 537690     /opt/kde3/lib/libkdefx.so.4.2.0
b4457000-b4476000 r-xp 00000000 03:05 537670     /opt/kde3/lib/kde3/plugins/styl                                                           es/plastik.so
b4476000-b4477000 rw-p 0001e000 03:05 537670     /opt/kde3/lib/kde3/plugins/styl                                                           es/plastik.so
b4477000-b4478000 ---p b4477000 00:00 0
b4478000-b4c78000 rwxp b4478000 00:00 0
b4c78000-b4c79000 r-xp 00000000 03:05 311029     /usr/X11R6/lib/X11/locale/lib/c                                                           ommon/xlcUTF8Load.so.2
b4c79000-b4c7a000 rw-p 00000000 03:05 311029     /usr/X11R6/lib/X11/locale/lib/c                                                           ommon/xlcUTF8Load.so.2
b4c7a000-b4cd3000 r--s 00001000 03:05 797932     /var/cache/fontconfig//sbin/yas                                                           t2: line 212:  6026 Aborted                 $ybindir/y2base $module "$@" qt "$Y2                                                           _GEOMETRY" $Y2QT_ARGS
Comment 1 Martin Mrazik 2006-03-21 22:25:43 UTC
Created attachment 74313 [details]
y2logs
Comment 2 Martin Mrazik 2006-03-21 22:26:24 UTC
Created attachment 74315 [details]
backtrace from console
Comment 3 Michael Gross 2006-03-22 12:27:05 UTC
It does not crash on my machine, however with an FTP installation source it just ignores that you cancelled the installation about halfway through (before asking if you really want to cancel). The package is getting installed afterwards nontheless. Doing this with several files works for (non yet) installed packages... this should work also for the current file, think on a really large package retrieved by an www source.
Comment 4 Martin Mrazik 2006-03-22 12:50:47 UTC
probably this has nothing to do with the "Cancel". I am observing this behaviour while using sw_single quite often (I also reproduced this on another box - in this case it was x86)64 installation).
Comment 5 Klaus Kämpf 2006-03-24 18:13:48 UTC
somewhere in libzypp/librpm
Comment 6 Martin Mrazik 2006-04-13 10:08:39 UTC
I'm unable to reproduce this anymore with RC1. I would consider this fixed.
Comment 7 Harald Mueller-Ney 2006-04-19 09:11:55 UTC
If you can't reproduce, should we set it to "resolve fixed" Martin?
Comment 8 Martin Mrazik 2006-04-19 09:14:49 UTC
re comment #7: Yes.
Comment 9 Harald Mueller-Ney 2006-04-20 14:05:22 UTC
Not reproducable anymore