synaptic segmentation fault

Bug #577159 reported by Chelmite
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I upgraded Koala 9.10 to Lynx 10.04 LTS on a Dell Latitude E6500 with a dual-processor Intel x86_64.

When I try to run synaptic, I get the message:
Segmentation fault

When I try to debug this, I get:
% gdb `which synaptic`
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/synaptic...(no debugging symbols found)...done.
(gdb) where
No stack.
(gdb) run
Starting program: /usr/sbin/synaptic
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
__strncmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:100
100 ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
 in ../sysdeps/x86_64/multiarch/../strcmp.S

Tags: kj-triage
Revision history for this message
Chelmite (steve-kelem) wrote :
Revision history for this message
Leo Arias (elopio) wrote :

In order to debug it you will have to install synaptic debuggin symbols:
sudo aptitude install synaptic-dbgsym

You can find more information here:
https://wiki.ubuntu.com/DebuggingProgramCrash

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Chelmite (steve-kelem) wrote :

When I tried to install the synaptic-dbgsym pacakge, I got a LOT of error messages. Most of the errors centered around the empathy and rhythmbox packages. (Neither of which I need, especially now, when I'm trying to get my computer back to a state where I can do my real job.)

Revision history for this message
Chelmite (steve-kelem) wrote :

Any idea on how to proceed? Is there a way to clean up apt-get's internals to the point where I can install anything?

Thanks for your help.

Revision history for this message
Chelmite (steve-kelem) wrote :

Reading symbols from /usr/sbin/synaptic...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/sbin/synaptic
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff324e7f0 in ?? () from /lib/libc.so.6
(gdb) where
#0 0x00007ffff324e7f0 in ?? () from /lib/libc.so.6
#1 0x00007ffff6dd6a6a in __xmlParserInputBufferCreateFilename ()
   from /usr/lib/libxml2.so.2
#2 0x00007ffff6dabd9d in xmlNewInputFromFile () from /usr/lib/libxml2.so.2
#3 0x00007ffff6db01c6 in xmlCreateURLParserCtxt () from /usr/lib/libxml2.so.2
#4 0x00007ffff6dc6ebc in xmlSAXUserParseFile () from /usr/lib/libxml2.so.2
#5 0x00007ffff76f6c67 in glade_parser_parse_file ()
   from /usr/lib/libglade-2.0.so.0
#6 0x00007ffff76f437a in glade_xml_construct ()
   from /usr/lib/libglade-2.0.so.0
#7 0x00007ffff76f5036 in glade_xml_new () from /usr/lib/libglade-2.0.so.0
#8 0x000000000045180f in ?? ()
#9 0x0000000000443e0e in ?? ()
#10 0x0000000000416b56 in ?? ()
#11 0x00007ffff313ec4d in __libc_start_main () from /lib/libc.so.6
#12 0x0000000000415339 in ?? ()
#13 0x00007fffffffd438 in ?? ()
#14 0x000000000000001c in ?? ()
#15 0x0000000000000001 in ?? ()
#16 0x00007fffffffd947 in ?? ()
#17 0x0000000000000000 in ?? ()

Revision history for this message
Chelmite (steve-kelem) wrote :

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Couldn't find any package whose name or description matched "synaptic-dbgsym"

Revision history for this message
Chelmite (steve-kelem) wrote :

I searched for a few days, and finally found out how to install the -dbgsym version of a package:
https://wiki.kubuntu.org/DebuggingProgramCrash

Revision history for this message
Chelmite (steve-kelem) wrote :

Here's the trace from synaptic-dbgsym:

% gdb `which synaptic`
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/synaptic...Reading symbols from /usr/lib/debug/usr/sbin/synaptic...done.
done.
(gdb) run
Starting program: /usr/sbin/synaptic
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff324e7f0 in ?? () from /lib/libc.so.6
(gdb) where
#0 0x00007ffff324e7f0 in ?? () from /lib/libc.so.6
#1 0x00007ffff6dd6a6a in __xmlParserInputBufferCreateFilename ()
   from /usr/lib/libxml2.so.2
#2 0x00007ffff6dabd9d in xmlNewInputFromFile () from /usr/lib/libxml2.so.2
#3 0x00007ffff6db01c6 in xmlCreateURLParserCtxt () from /usr/lib/libxml2.so.2
#4 0x00007ffff6dc6ebc in xmlSAXUserParseFile () from /usr/lib/libxml2.so.2
#5 0x00007ffff76f6c67 in glade_parser_parse_file () from /usr/lib/libglade-2.0.so.0
#6 0x00007ffff76f437a in glade_xml_construct () from /usr/lib/libglade-2.0.so.0
#7 0x00007ffff76f5036 in glade_xml_new () from /usr/lib/libglade-2.0.so.0
#8 0x000000000045180f in RGGladeWindow (this=0x7a8e00, parent=0x0, name=...,
    mainName=<value optimized out>) at rggladewindow.cc:57
#9 0x0000000000443e0e in RGMainWindow (this=0x7a8e00, packLister=0x732c90, name=...)
    at rgmainwindow.cc:792
#10 0x0000000000416b56 in main (argc=1, argv=0x7fffffffd448) at gsynaptic.cc:455

Chelmite (steve-kelem)
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Chelmite (steve-kelem) wrote :

I figured out how to load the dbgsym version of libc, and now have a more complete trace.
Any help would be appreciated.

Thanks.
The packages in question are:
libc6-dbgsym_2.11.1-0ubuntu7_amd64.ddeb
synaptic-dbgsym_0.63.1ubuntu7_amd64.ddeb

(gdb) run
Starting program: /usr/sbin/synaptic
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
__strncmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:100
100 ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
 in ../sysdeps/x86_64/multiarch/../strcmp.S
(gdb) where
#0 __strncmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:100
#1 0x00007ffff6dd6a6a in __xmlParserInputBufferCreateFilename ()
   from /usr/lib/libxml2.so.2
#2 0x00007ffff6dabd9d in xmlNewInputFromFile () from /usr/lib/libxml2.so.2
#3 0x00007ffff6db01c6 in xmlCreateURLParserCtxt () from /usr/lib/libxml2.so.2
#4 0x00007ffff6dc6ebc in xmlSAXUserParseFile () from /usr/lib/libxml2.so.2
#5 0x00007ffff76f6c67 in glade_parser_parse_file ()
   from /usr/lib/libglade-2.0.so.0
#6 0x00007ffff76f437a in glade_xml_construct ()
   from /usr/lib/libglade-2.0.so.0
#7 0x00007ffff76f5036 in glade_xml_new () from /usr/lib/libglade-2.0.so.0
#8 0x000000000045180f in RGGladeWindow (this=0x731600, parent=0x0, name=...,
    mainName=<value optimized out>) at rggladewindow.cc:57
#9 0x0000000000443e0e in RGMainWindow (this=0x731600, packLister=0x740470,
    name=...) at rgmainwindow.cc:792
#10 0x0000000000416b56 in main (argc=1, argv=0x7fffffffd518)
    at gsynaptic.cc:455
(gdb) quit

tags: added: kj-triage
Revision history for this message
Chelmite (steve-kelem) wrote :

What does "kj-triage" mean?

Revision history for this message
Chelmite (steve-kelem) wrote :

I added the libxml2-debug symbols, and have a little more info.
1. The arguments to xmlParserInputBufferCreateFilename are URI=<value optimized out>, enc=<value optimized out>
2. How do I find out what parameters are being passed to strncmp?

Thanks,
Steve

(gdb) run
Starting program: /usr/sbin/synaptic
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
__strncmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:100
100 ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
 in ../sysdeps/x86_64/multiarch/../strcmp.S
(gdb) where
#0 __strncmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:100
#1 0x00007ffff6dd6a6a in __xmlParserInputBufferCreateFilename (URI=<value optimized out>,
    enc=<value optimized out>) at xmlIO.c:2525
#2 0x00007ffff6dabd9d in xmlNewInputFromFile__internal_alias (ctxt=0x70f800,
    filename=0x6f68a0 "/usr/share/synaptic/glade/window_main.glade") at parserInternals.c:1549
#3 0x00007ffff6db01c6 in xmlCreateURLParserCtxt__internal_alias (
    filename=0x6f68a0 "/usr/share/synaptic/glade/window_main.glade", options=0) at parser.c:13357
#4 0x00007ffff6dc6ebc in xmlSAXUserParseFile__internal_alias (sax=0x7ffff7900b80, user_data=0x700001c4f,
    filename=0x4 <Address 0x4 out of bounds>) at parser.c:13581
#5 0x00007ffff76f6c67 in glade_parser_parse_file () from /usr/lib/libglade-2.0.so.0
#6 0x00007ffff76f437a in glade_xml_construct () from /usr/lib/libglade-2.0.so.0
#7 0x00007ffff76f5036 in glade_xml_new () from /usr/lib/libglade-2.0.so.0
#8 0x000000000045180f in RGGladeWindow (this=0x6f6510, parent=0x0, name=..., mainName=<value optimized out>)
    at rggladewindow.cc:57
#9 0x0000000000443e0e in RGMainWindow (this=0x6f6510, packLister=0x760700, name=...) at rgmainwindow.cc:792
#10 0x0000000000416b56 in main (argc=1, argv=0x7fffffffd528) at gsynaptic.cc:455
(gdb)

Revision history for this message
Leo Arias (elopio) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in synaptic.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: linux (Ubuntu) → synaptic (Ubuntu)
Revision history for this message
Leo Arias (elopio) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:

apport-collect 577159

This will help us to find and resolve the problem. Bear in mind that you may need to install the python-launchpadlib package from the universe repository. Additionally, when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to "Change Non-Private" data as it will be adding information to your bug report. Thanks in advance!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in synaptic (Ubuntu):
status: New → Incomplete
Revision history for this message
Chelmite (steve-kelem) wrote :

It's been 3 months since I submitted this "show-stopper" bug, without any advice, help, guidance, or hints.

I removed Ubuntu and installed Fedora 13, which is working.
I abandoned Ubuntu for lack of response from bug reporting (which, you can see, is detailed), and news groups.
I need my computer so I can do my job. My computer cannot be "dead in the water" for a week, much less 3 months.

Steve Kelem, Ph.D., Computer Science

Revision history for this message
Leo Arias (elopio) wrote :

Sorry to hear that. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in synaptic (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.