[opensuse] yast2 sw_single segfault
Hi everyone,
I would like to send a bug report, and I hope I'm doing it the right way.
I'm running an opensuse 11.2 with all of the patches/updates available
at 14:19 GMT+1
installed on an x86-64.
When I call yast2 sw_single, either with the cmdline
/usr/lib/YaST2/bin/y2base sw_single ncurses
or
yast2 sw_single
that both start with ncurses interface (that's right, I have no X on
that machine)
as soon as the reps are refreshed and the main screen should appear,
yast crashes with a segfault.
Everything works fine using zypper (update, install, patch-info etc.).
The file /var/log/YaST2/signal gets filled with these infos:
-------------------------------------------------------------------------------------------------------------
=== 2010-01-12 14:16:51 +0100 ===
YaST got signal 11 at YCP file PackagesUI.ycp:273
Liberating suppressed debugging messages:
End of suppressed debugging messages
Backtrace: (use c++filt to demangle)
/usr/lib64/liby2.so.2(_Z20signal_log_backtracev+0x23)[0x7f824b467cb3]
/usr/lib64/liby2.so.2(_Z14signal_handleri+0x152)[0x7f824b4685f2]
/lib64/libc.so.6[0x7f8249573560]
/usr/lib64/YaST2/plugin/libpy2ncurses_pkg.so.2(_ZN10NCPkgTableC1EP7YWidgetP12YTableHeader+0x1df)[0x7f82421561af]
/usr/lib64/YaST2/plugin/libpy2ncurses_pkg.so.2(_ZN17NCPackageSelector15createPkgLayoutEP7YWidgetN10NCPkgTable14NCPkgTableTypeE+0x38e)[0x7f824216878e]
/usr/lib64/YaST2/plugin/libpy2ncurses_pkg.so.2(_ZN22NCPackageSelectorStartC1EP7YWidgetl12YUIDimension+0xbf)[0x7f824215c4ff]
/usr/lib64/YaST2/plugin/libpy2ncurses_pkg.so.2(_ZN27NCPackageSelectorPluginImpl21createPackageSelectorEP7YWidgetl+0x27)[0x7f824215c797]
/usr/lib64/YaST2/plugin/libpy2UI.so.2(_ZN15YCPDialogParser20parsePackageSelectorEP7YWidgetR10YWidgetOptRK7YCPTermRK7YCPListi+0x3d9)[0x7f8248303279]
/usr/lib64/YaST2/plugin/libpy2UI.so.2(_ZN15YCPDialogParser19parseWidgetTreeTermEP7YWidgetR10YWidgetOptRK7YCPTerm+0x1d1c)[0x7f824830e8ac]
/usr/lib64/YaST2/plugin/libpy2UI.so.2(_ZN15YCPDialogParser19parseWidgetTreeTermEP7YWidgetRK7YCPTerm+0x97)[0x7f8248310157]
/usr/lib64/YaST2/plugin/libpy2UI.so.2(_ZN6YCP_UI10OpenDialogERK7YCPTermS2_+0x2f6)[0x7f82482e85a6]
/usr/lib64/YaST2/plugin/libpy2UI.so.2(_ZN12YUINamespace10OpenDialogERK7YCPTermS2_+0x31)[0x7f82482ced41]
/usr/lib64/YaST2/plugin/libpy2UI.so.2(_ZN11YUIFunction16evaluateCall_intEv+0x3669)[0x7f82482dd199]
/usr/lib64/YaST2/plugin/libpy2UI.so.2(_ZN16YCPBuiltinCaller4callEv+0x22)[0x7f82482ee092]
/usr/lib64/libyui.so.3(_ZN3YUI16uiThreadMainLoopEv+0x43)[0x7f824803db13]
/usr/lib64/libyui.so.3(_Z15start_ui_threadPv+0xe)[0x7f824803dc6e]
/lib64/libpthread.so.0[0x7f824a76c65d]
/lib64/libc.so.6(clone+0x6d)[0x7f824961214d]
-------------------------------------------------------------------------------------------------------------
the last few lines in y2log are:
-------------------------------------------------------------------------------------------------------------
2010-01-12 14:22:01 <1> fire(6864) [satsolver++]
PoolImpl.cc(logSat):90 25326 rpm rules, 6 job rules, 872 infarch
rules, 0 dup rules, 0 choice rules
2010-01-12 14:22:01 <1> fire(6864) [satsolver++]
PoolImpl.cc(logSat):90 solver statistics: 0 learned rules, 0
unsolvable, 0 minimization steps
2010-01-12 14:22:01 <1> fire(6864) [satsolver++]
PoolImpl.cc(logSat):90 done solving.
2010-01-12 14:22:01 <1> fire(6864) [satsolver++] PoolImpl.cc(logSat):90
2010-01-12 14:22:01 <1> fire(6864) [satsolver++]
PoolImpl.cc(logSat):90 solver took 1 ms
2010-01-12 14:22:01 <1> fire(6864) [satsolver++]
PoolImpl.cc(logSat):90 final solver statistics: 0 problems, 0 learned
rules, 0 unsolvable
2010-01-12 14:22:01 <1> fire(6864) [satsolver++]
PoolImpl.cc(logSat):90 solver_solve took 1008 ms
2010-01-12 14:22:01 <1> fire(6864) [zypp] SATResolver.cc(solving):433
....Solver end
2010-01-12 14:22:01 <1> fire(6864) [zypp]
SATResolver.cc(resolvePool):726 SATResolver::resolvePool() done. Ret:1
2010-01-12 14:22:01 <1> fire(6864) [Pkg] clients/sw_single.ycp:345 Pkg
Builtin called: IsAnyResolvable
2010-01-12 14:22:01 <1> fire(6864) [Pkg] clients/sw_single.ycp:345 Pkg
Builtin called: IsAnyResolvable
2010-01-12 14:22:01 <1> fire(6864) [YCP] clients/sw_single.ycp:354
PackagesUI::RunPackageSelector() options: $["enable_repo_mgr":true,
"mode":`searchMode]
2010-01-12 14:22:01 <1> fire(6864) [YCP] clients/sw_single.ycp:435
Using packager widget options: $["enable_repo_mgr":true,
"mode":`searchMode]
2010-01-12 14:22:01 <1> fire(6864) [YCP] PackagesUI.ycp:234 Called
RunPackageSelector($["enable_repo_mgr":true, "mode":`searchMode])
2010-01-12 14:22:01 <1> fire(6864) [YCP] PackagesUI.ycp:210 Feature
display_support_status: false
2010-01-12 14:22:01 <1> fire(6864) [YCP] PackagesUI.ycp:252 Running
package selection, mode: `searchMode, options: display repo
management: true, display support status: false
2010-01-12 14:22:01 <1> fire(6864) [YCP] PackagesUI.ycp:271 Options
for the package selector widget: `opt (`searchMode, `repoMgr)
2010-01-12 14:22:01 <1> fire(6864) [ncurses-ui]
NCPackageSelectorPluginStub.cc(NCPackageSelectorPluginStub):38 Loaded
ncurses_pkg plugin successfully from
/usr/lib64/YaST2/plugin/libpy2ncurses_pkg.so.2
2010-01-12 14:22:01 <1> fire(6864) [zypp++] Sysconfig.cc(read):31 Load
'/etc/sysconfig/yast2'
2010-01-12 14:22:01 <1> fire(6864) [zypp] Sysconfig.cc(read):71 done
reading '/etc/sysconfig/yast2'
2010-01-12 14:22:01 <1> fire(6864) [ncurses-pkg]
NCPackageSelector.cc(readSysconfig):154 Read sysconfig's action at pkg
mgr exit value: close
-------------------------------------------------------------------------------------------------------------
the last few lines, stracing the process are:
-------------------------------------------------------------------------------------------------------------
[pid 6396] stat("/var/log/YaST2/y2log", {st_mode=S_IFREG|0644,
st_size=5318386, ...}) = 0
[pid 6396] open("/var/log/YaST2/y2log", O_WRONLY|O_CREAT|O_APPEND,
0666) = 15
[pid 6396] fstat(15, {st_mode=S_IFREG|0644, st_size=5318386, ...}) =
0
[pid 6396] mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f23ba9af000
[pid 6396] fstat(15, {st_mode=S_IFREG|0644, st_size=5318386, ...}) =
0
[pid 6396] lseek(15, 5318386, SEEK_SET) = 5318386
[pid 6396] write(15, "2010-01-12 14:11:11 <1> fire(639"..., 142) =
142
[pid 6396] close(15) = 0
[pid 6396] munmap(0x7f23ba9af000, 4096) = 0
[pid 6396] open("/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/YaST2/locale/en_US.UTF-8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-bundle/en_US.UTF-8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/YaST2/locale/en_US.utf8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-bundle/en_US.utf8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-langpack/en_US/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/YaST2/locale/en_US/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-bundle/en_US/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/YaST2/locale/en.UTF-8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-bundle/en.UTF-8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/YaST2/locale/en.utf8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-bundle/en.utf8/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-langpack/en/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/YaST2/locale/en/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] open("/usr/share/locale-bundle/en/LC_MESSAGES/ncurses-pkg.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 6396] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
[pid 6396] rt_sigaction(SIGSEGV, {0x1, [SEGV],
SA_RESTORER|SA_RESTART, 0x7f23b7f2c560}, {0x7f23b9e214a0, [SEGV],
SA_RESTORER|SA_RESTART, 0x7f23b7f2c560}, 8) = 0
[pid 6396] write(2, "YaST got signal 11 at YCP file P"..., 50) = -1
EBADF (Bad file descriptor)
[pid 6396] dup(2) = 15
[pid 6396] fcntl(15, F_GETFL) = 0x8400 (flags
O_RDONLY|O_APPEND|O_LARGEFILE)
[pid 6396] close(15) = 0
[pid 6396] write(2, "write: Bad file descriptor\n", 27) = -1 EBADF
(Bad file descriptor)
[pid 6396] open("/var/log/YaST2/signal", O_WRONLY|O_CREAT|O_APPEND, 0600) = 15
[pid 6396] write(15, "=== 2010-01-12 14:11:11 +0100 =="..., 34) = 34
[pid 6396] write(15, "YaST got signal 11 at YCP file P"..., 50) = 50
[pid 6396] write(15, "Liberating suppressed debugging "..., 42) = 42
[pid 6396] write(15, "End of suppressed debugging mess"..., 37) = 37
[pid 6396] futex(0x7f23b82535b0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
[pid 6396] futex(0x7f23b846b190, FUTEX_WAKE_PRIVATE, 2147483647) = 0
[pid 6396] write(15, "Backtrace: (use c++filt to deman"..., 37) = 37
[pid 6396] writev(15, [{"/usr/lib64/liby2.so.2", 21}, {"(", 1},
{"_Z20signal_log_backtracev", 25}, {"+0x", 3}, {"23", 2}, {")", 1},
{"[0x", 3}, {"7f23b9e20cb3", 12}, {"]\n", 2}], 9) = 70
[pid 6396] writev(15, [{"/usr/lib64/liby2.so.2", 21}, {"(", 1},
{"_Z14signal_handleri", 19}, {"+0x", 3}, {"152", 3}, {")", 1}, {"[0x",
3}, {"7f23b9e215f2", 12}, {"]\n", 2}], 9) = 65
[pid 6396] writev(15, [{"/lib64/libc.so.6", 16}, {"[0x", 3},
{"7f23b7f2c560", 12}, {"]\n", 2}], 4) = 33
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2nc"..., 46},
{"(", 1}, {"_ZN10NCPkgTableC1EP7YWidgetP12YT"..., 42}, {"+0x", 3},
{"1df", 3}, {")", 1}, {"[0x", 3}, {"7f23afe8e1af", 12}, {"]\n", 2}],
9) = 113
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2nc"..., 46},
{"(", 1}, {"_ZN17NCPackageSelector15createPk"..., 79}, {"+0x", 3},
{"38e", 3}, {")", 1}, {"[0x", 3}, {"7f23afea078e", 12}, {"]\n", 2}],
9) = 150
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2nc"..., 46},
{"(", 1}, {"_ZN22NCPackageSelectorStartC1EP7"..., 54}, {"+0x", 3},
{"bf", 2}, {")", 1}, {"[0x", 3}, {"7f23afe944ff", 12}, {"]\n", 2}],
9)= 124
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2nc"..., 46},
{"(", 1}, {"_ZN27NCPackageSelectorPluginImpl"..., 66}, {"+0x", 3},
{"27", 2}, {")", 1}, {"[0x", 3}, {"7f23afe94797", 12}, {"]\n", 2}],
9)= 136
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2UI"..., 37},
{"(", 1}, {"_ZN15YCPDialogParser20parsePacka"..., 86}, {"+0x", 3},
{"3d9", 3}, {")", 1}, {"[0x", 3}, {"7f23b6cbc279", 12}, {"]\n", 2}],
9) = 148
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2UI"..., 37},
{"(", 1}, {"_ZN15YCPDialogParser19parseWidge"..., 74}, {"+0x", 3},
{"1d1c", 4}, {")", 1}, {"[0x", 3}, {"7f23b6cc78ac", 12}, {"]\n", 2}],
9) = 137
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2UI"..., 37},
{"(", 1}, {"_ZN15YCPDialogParser19parseWidge"..., 61}, {"+0x", 3},
{"97", 2}, {")", 1}, {"[0x", 3}, {"7f23b6cc9157", 12}, {"]\n", 2}],
9)= 122
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2UI"..., 37},
{"(", 1}, {"_ZN6YCP_UI10OpenDialogERK7YCPTer"..., 36}, {"+0x", 3},
{"2f6", 3}, {")", 1}, {"[0x", 3}, {"7f23b6ca15a6", 12}, {"]\n", 2}],
9) = 98
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2UI"..., 37},
{"(", 1}, {"_ZN12YUINamespace10OpenDialogERK"..., 43}, {"+0x", 3},
{"31", 2}, {")", 1}, {"[0x", 3}, {"7f23b6c87d41", 12}, {"]\n", 2}],
9)= 104
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2UI"..., 37},
{"(", 1}, {"_ZN11YUIFunction16evaluateCall_i"..., 36}, {"+0x", 3},
{"3669", 4}, {")", 1}, {"[0x", 3}, {"7f23b6c96199", 12}, {"]\n", 2}],
9) = 99
[pid 6396] writev(15, [{"/usr/lib64/YaST2/plugin/libpy2UI"..., 37},
{"(", 1}, {"_ZN16YCPBuiltinCaller4callEv", 28}, {"+0x", 3}, {"22", 2},
{")", 1}, {"[0x", 3}, {"7f23b6ca7092", 12}, {"]\n", 2}], 9) = 89
[pid 6396] writev(15, [{"/usr/lib64/libyui.so.3", 22}, {"(", 1},
{"_ZN3YUI16uiThreadMainLoopEv", 27}, {"+0x", 3}, {"43", 2}, {")", 1},
{"[0x", 3}, {"7f23b69f6b13", 12}, {"]\n", 2}], 9) = 73
[pid 6396] writev(15, [{"/usr/lib64/libyui.so.3", 22}, {"(", 1},
{"_Z15start_ui_threadPv", 21}, {"+0x", 3}, {"e", 1}, {")", 1}, {"[0x",
3}, {"7f23b69f6c6e", 12}, {"]\n", 2}], 9) = 66
[pid 6396] writev(15, [{"/lib64/libpthread.so.0", 22}, {"[0x", 3},
{"7f23b912565d", 12}, {"]\n", 2}], 4) = 39
[pid 6396] writev(15, [{"/lib64/libc.so.6", 16}, {"(", 1}, {"clone",
5}, {"+0x", 3}, {"6d", 2}, {")", 1}, {"[0x", 3}, {"7f23b7fcb14d", 12},
{"]\n", 2}], 9) = 45
[pid 6396] close(15) = 0
[pid 6396] rt_sigaction(SIGSEGV, {SIG_DFL, [SEGV],
SA_RESTORER|SA_RESTART, 0x7f23b7f2c560}, {0x1, [SEGV],
SA_RESTORER|SA_RESTART, 0x7f23b7f2c560}, 8) = 0
[pid 6396] kill(6394, SIGSEGV
On Tue, Jan 12, 2010 at 02:24:41PM +0100, Mattia Merzi wrote:
Hi everyone,
I would like to send a bug report, and I hope I'm doing it the right way.
I'm running an opensuse 11.2 with all of the patches/updates available at 14:19 GMT+1 installed on an x86-64.
When I call yast2 sw_single, either with the cmdline /usr/lib/YaST2/bin/y2base sw_single ncurses or yast2 sw_single that both start with ncurses interface (that's right, I have no X on that machine) as soon as the reps are refreshed and the main screen should appear, yast crashes with a segfault.
Everything works fine using zypper (update, install, patch-info etc.).
Yes, this is a bug with the last yast2-ncurses update. We will be releasing a fixed yast2-ncurses-pkg package later today, you can install it with "zypper up". Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Marcus Meissner
-
Mattia Merzi