Bug 448247

Summary: zypper segfaults
Product: [openSUSE] openSUSE 11.1 Reporter: Dominique Leuenberger <dimstar>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P2 - High CC: burnus, vuntz
Version: Factory   
Target Milestone: RC 1   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: The output of bt full

Description Dominique Leuenberger 2008-11-24 15:51:41 UTC
yeah ;) I got zypper to segfault (after a long time again.. and reproducible)

gdb zypper | tee log

(gdb) run info compiz-plugins-dmx
Starting program: /usr/bin/zypper info compiz-plugins-dmx
[Thread debugging using libthread_db enabled]
Loading repository data...
Reading installed packages...


Information for package compiz-plugins-dmx:


Program received signal SIGSEGV, Segmentation fault.
zypp::PoolItem::resolvable (this=0x7fffffffa040) at /usr/include/boost/intrusive_ptr.hpp:94
        in /usr/include/boost/intrusive_ptr.hpp
(gdb) bt full


The full backtrace is attached to this bugreport....
(it seems actually to be one of the fewer packages that's segfaulting.. so it might be in it's description.. nevertheless: zypper is not allowed to segfault on unexpected input).
Comment 1 Dominique Leuenberger 2008-11-24 15:52:09 UTC
Created attachment 254847 [details]
The output of bt full
Comment 2 Jan Kupec 2008-11-24 15:56:22 UTC
I guess i know where is the problem. Thanx :O)
Comment 3 Dominique Leuenberger 2008-11-24 16:00:46 UTC
Ján, 

I'm amazed that you can read anything out of the mess of that backtrace... I've seen more readable ones than this one.
Comment 4 Jan Kupec 2008-11-24 18:03:40 UTC
*** Bug 448280 has been marked as a duplicate of this bug. ***
Comment 5 Jan Kupec 2008-11-24 20:02:39 UTC
Fixed in svn, to be in zypper 1.0.1.

(In reply to comment #3 from Dominique Leuenberger)
> I'm amazed that you can read anything out of the mess of that backtrace... I've
> seen more readable ones than this one.

Well, the "#1 ... in printPkgInfo at ... src/info.cc:169" and "theone = {_pimpl = {_dptr = {px = 0x0, pn = {pi_ = 0x0}}}}" immediately refreshed my memory, that there was something i planned to fix, but i did not manage to come back to it :O)
Comment 6 Jan Kupec 2008-11-25 11:43:51 UTC
*** Bug 448402 has been marked as a duplicate of this bug. ***
Comment 7 Jan Kupec 2008-11-25 16:16:25 UTC
submitted