Bug 217045 - yast2 inst_source segfaults
Summary: yast2 inst_source segfaults
Status: RESOLVED DUPLICATE of bug 216545
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Beta 1
Hardware: PC Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marius Tomaschewski
QA Contact: Stanislav Visnovsky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 17:09 UTC by Kevin Ivory
Modified: 2006-11-21 13:02 UTC (History)
3 users (show)

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


Attachments
/var/log/YaST2/* (399.22 KB, application/x-bzip)
2006-11-01 17:10 UTC, Kevin Ivory
Details
gzipped gdb output (627 bytes, application/x-gzip)
2006-11-06 19:52 UTC, Kevin Ivory
Details
gzipped strace output (3.95 KB, application/x-gzip)
2006-11-06 19:52 UTC, Kevin Ivory
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Ivory 2006-11-01 17:09:53 UTC
I am creating this report just in case: it does not seem to be a duplicate of Bug 214886 which only happens when adding a certain URL. This happens after a installation from DVD where I have not given any URL at all.

unterwegs:~ # yast2 inst_source
Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
Segmentation fault at /usr/share/YaST2/clients/inst_source.ycp:542
/sbin/yast2: line 267:  5262 Speicherzugriffsfehler  $ybindir/y2base $module "$@" "$SELECTED_GUI" "$Y2_GEOMETRY" $Y2QT_ARGS
Comment 1 Kevin Ivory 2006-11-01 17:10:49 UTC
Created attachment 103349 [details]
/var/log/YaST2/*
Comment 2 Stefan Hundhammer 2006-11-06 13:06:14 UTC
This sounds like deep inside libzypp.
Comment 3 Stefan Hundhammer 2006-11-06 13:08:01 UTC
-> zypp maintainers
Comment 4 Klaus Kämpf 2006-11-06 13:14:33 UTC
I guess thats fixed already. Marius ?
Comment 5 Marius Tomaschewski 2006-11-06 14:48:14 UTC
Yes, the dbus_connection_close() calls are fixed (removed) in zypp SVN
head; see also Bug #216035.

But I don't know where the SEGV is from - can't see it in the log (AFAIK
they're logged by genericfrontend.cc signal handler) or reproduce it.

Can you try to reproduce it and create a core file? Start YaST2 using
this commands:

$ ulimit -c unlimited
$ /sbin/yast2

After a SEGV there should be a 'core' (or 'core.*') file. Please
use gdb to read out the core file:

$ gdb --core=./core /sbin/yast2

Type the commands "where" and "quit" in gdb and provide the output.

See also: http://en.opensuse.org/Bugs:An_application_crashed
Comment 6 Kevin Ivory 2006-11-06 19:50:48 UTC
The SEGV is reproducible on my system. The output of "strace yast inst_source" and 
gdb/where with core follow.
Comment 7 Kevin Ivory 2006-11-06 19:52:09 UTC
Created attachment 104016 [details]
gzipped gdb output
Comment 8 Kevin Ivory 2006-11-06 19:52:40 UTC
Created attachment 104017 [details]
gzipped strace output
Comment 9 james stalnaker 2006-11-10 15:14:59 UTC
Upgraded from 10.2 Alpha2 to Beta1 yesterday afternoon and YAST software modules are hosed.  I get no error dialogs when using Yast (the KDE gui) at all -- the modules start then they go away without error reporting. If I run /sbin/yast from konsole, then I see the same error reported here for the Installation Source module.  Also, I get a seg fault when trying to run the Software Management module: /sbin/yast: line 267: 22600 Segmentation fault  $ybindir/y2base menu clncurses $NCTHREADS.  This all, of course, worked in 10.2 Alpha 2.  Let me know if I can provide you any data to use in trouble-shooting (i.e., would it be helpgul to have the core information from my install to go with what's already been uploaded?
Comment 10 james stalnaker 2006-11-10 15:26:35 UTC
I'm sorry -- I didn't say that right <grrr>. I get no errors running the kde gui from within kde.  If I run the gui with /sbin/yast2, I get the dcop error for the installation-source module (reported as console stderr output I think):
.
Command: /sbin/yast2 inst_source &
Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
Segmentation fault at /usr/share/YaST2/clients/inst_source.ycp:542
/sbin/yast2: line 267: 24214 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" "$Y2_GEOMETRY" $Y2QT_ARGS
.
If I run /sbin/yast (NOT the kde gui) I do not get the above error, I get the ncurses seg fault error and it's the same for both software management and installation source modules.
Comment 11 Marius Tomaschewski 2006-11-21 13:02:01 UTC
should be fixed -- see Bug #216545 and #216035.

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