[Bug 922352] New: zypper segfault
http://bugzilla.novell.com/show_bug.cgi?id=922352 Bug ID: 922352 Summary: zypper segfault Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: gleixner@lrz.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Full patches Opensuse 13.2. Trying to install plasma5-desktop, zypper segfaults: # gdb zypper core GNU gdb (GDB; openSUSE 13.2) 7.8 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://bugs.opensuse.org/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... warning: /etc/gdbinit.d/gdb-heap.py: No such file or directory Reading symbols from zypper...Reading symbols from /usr/lib/debug/usr/bin/zypper.debug...done. done. [New LWP 5264] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `zypper in plasma5-desktop'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007ffe931df8d3 in sort_by_common_dep (plist=0x7fff9b650b70, pool=<optimized out>) at /usr/src/debug/libsolv-0.6.8/src/policy.c:1018 1018 /usr/src/debug/libsolv-0.6.8/src/policy.c: No such file or directory. (gdb) bt #0 0x00007ffe931df8d3 in sort_by_common_dep (plist=0x7fff9b650b70, pool=<optimized out>) at /usr/src/debug/libsolv-0.6.8/src/policy.c:1018 #1 policy_filter_unwanted (solv=solv@entry=0x1995eb0, plist=plist@entry=0x7fff9b650b70, mode=mode@entry=0) at /usr/src/debug/libsolv-0.6.8/src/policy.c:1135 #2 0x00007ffe931aa291 in selectandinstall (solv=solv@entry=0x1995eb0, level=level@entry=3192, dq=dq@entry=0x7fff9b650b70, disablerules=disablerules@entry=0, ruleid=32981) at /usr/src/debug/libsolv-0.6.8/src/solver.c:1457 #3 0x00007ffe931ab93c in solver_run_sat (solv=solv@entry=0x1995eb0, disablerules=disablerules@entry=0, doweak=doweak@entry=0) at /usr/src/debug/libsolv-0.6.8/src/solver.c:2385 #4 0x00007ffe931fcd66 in refine_suggestion (essentialok=0, refined=0x7fff9b650cf0, sug=171612, problem=0x19984b0, solv=0x1995eb0) at /usr/src/debug/libsolv-0.6.8/src/problems.c:232 #5 create_solutions (solv=solv@entry=0x1995eb0, probnr=1, solidx=solidx@entry=1) at /usr/src/debug/libsolv-0.6.8/src/problems.c:656 #6 0x00007ffe931fdaaa in solver_next_solution (solv=0x1995eb0, problem=<optimized out>, solution=0) at /usr/src/debug/libsolv-0.6.8/src/problems.c:773 #7 0x00007ffe93037c84 in zypp::solver::detail::SATResolver::problems (this=0x9ab190) at /usr/src/debug/libzypp-14.36.0/zypp/solver/detail/SATResolver.cc:1189 #8 0x00007ffe9301d129 in zypp::solver::detail::Resolver::problems (this=0x8f2740) at /usr/src/debug/libzypp-14.36.0/zypp/solver/detail/Resolver.cc:377 #9 0x00007ffe93117a82 in zypp::Resolver::problems (this=<optimized out>) at /usr/src/debug/libzypp-14.36.0/zypp/Resolver.cc:66 #10 0x00000000004d7dd3 in show_problems (zypper=...) at /usr/src/debug/zypper-1.11.22/src/solve-commit.cc:151 #11 solve_and_commit (zypper=...) at /usr/src/debug/zypper-1.11.22/src/solve-commit.cc:541 #12 0x000000000045e8f0 in Zypper::doCommand (this=this@entry=0x8c68e0) at /usr/src/debug/zypper-1.11.22/src/Zypper.cc:3933 #13 0x0000000000467dad in Zypper::safeDoCommand (this=0x8c68e0) at /usr/src/debug/zypper-1.11.22/src/Zypper.cc:1069 #14 0x00000000004352f3 in Zypper::main (this=0x8c68e0, argc=argc@entry=3, argv=argv@entry=0x7fff9b653628) at /usr/src/debug/zypper-1.11.22/src/Zypper.cc:191 #15 0x00000000004345f1 in main (argc=3, argv=0x7fff9b653628) at /usr/src/debug/zypper-1.11.22/src/main.cc:111 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=922352
Michael Andres
# zypper in --debug-solver nopackage ... Generating solver test case... Solver test case generated successfully at /var/log/zypper.solverTestCase. Then pack the output directory together with /var/log/zypper.log and attach it to the bugreport.
In case the testcase exceeds the 10MB limit for bugzilla uploads, you can use 'split' to divide the file into smaller pieces:
$ cd /tmp $ tar cvjf zypper.solverTestCase.tar.bz2 /var/log/zypper.solverTestCase/ $ split -b 9M --additional-suffix=-zypper.solverTestCase.tar.bz2 \ zypper.solverTestCase.tar.bz2 The created pieces will be named like this: xaa-zypper.solverTestCase.tar.bz2 xab-zypper.solverTestCase.tar.bz2 xac-zypper.solverTestCase.tar.bz2 ...
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=922352
--- Comment #2 from flo gleixner
http://bugzilla.novell.com/show_bug.cgi?id=922352
--- Comment #3 from flo gleixner
http://bugzilla.novell.com/show_bug.cgi?id=922352
--- Comment #4 from flo gleixner
http://bugzilla.novell.com/show_bug.cgi?id=922352
--- Comment #5 from flo gleixner
http://bugzilla.novell.com/show_bug.cgi?id=922352
flo gleixner
http://bugzilla.novell.com/show_bug.cgi?id=922352
--- Comment #7 from Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=922352
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=922352
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=922352
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=922352
--- Comment #10 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=922352
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=922352
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=922352
http://bugzilla.novell.com/show_bug.cgi?id=922352#c11
--- Comment #11 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com