Hi Michael,
On 03/08/2012 09:43 AM, Michael Vogt wrote:
Thanks, unfortunately this is very little information :/
Would it be possible for you to do a debug build? It goes like this:
$ sudo apt-get build-dep synaptic
$ sudo apt-get source synaptic
$ cd synaptic-0.75.5
$ DEB_BUILD_OPTIONS=nostrip noopt dpkg-buildpackage
This should give you a deb package that contains more debug
information to help finding the crash with gdb.
I hope this helps (wrong quoting, I know *sigh*):
(gdb) run
Starting program: /usr/sbin/synaptic
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
Program received signal SIGSEGV, Segmentation fault.
0x0047ec41 in RPackageViewOrigin::addPackage (this=0x776e80,
package=0xeaffc0) at rpackageview.cc:614
614 if(strcmp(VF.File().Archive(), now) == 0)
(gdb) backtrace full
#0 0x0047ec41 in RPackageViewOrigin::addPackage (this=0x776e80,
package=0xeaffc0) at rpackageview.cc:614
VF = {pkgCache::IteratorpkgCache::VerFile,
pkgCache::VerFileIterator = {std::iteratorstd::forward_iterator_tag,
pkgCache::VerFile, long, pkgCache::VerFile*, pkgCache::VerFile = {No data
fields}, _vptr.Iterator = 0x49ed90, S = 0x7fffed8514f8,
Owner = 0x943c00}, No data fields}
prefix = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x186b9c8 Not automatic: }}
origin_url = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x1866298 ftp.debian.nl}}
subview = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x187e6e8 Not automatic: unstable(ftp.debian.nl)}}
suite = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x1867378 unstable}}
Ver = {pkgCache::IteratorpkgCache::Version, pkgCache::VerIterator
= {std::iteratorstd::forward_iterator_tag, pkgCache::Version, long,
pkgCache::Version*, pkgCache::Version = {No data fields}, _vptr.Iterator
= 0x49edd0, S = 0x7fffed8462f0,
Owner = 0x943c00}, No data fields}
subview = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x18766c8 stable/main (ftp.debian.nl)}}
component = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x187eb68 main}}
origin_url = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x1864e78 ftp.debian.nl}}
origin_str = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x186c018 Debian}}
suite = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x1866028 stable}}
#1 0x0047a7da in RPackageView::refresh (this=0x776e80) at
rpackageview.cc:90
i = optimized out
#2 0x0046c362 in RPackageLister::openCache (this=0x776a00) at
rpackagelister.cc:421
---Type return to continue, or q return to quit---
i = optimized out
lock = optimized out
deps = 0x942400
pkgName = {static npos = optimized out,
_M_dataplus = {std::allocatorchar =
{__gnu_cxx::new_allocatorchar = {No data fields}, No data fields},
_M_p = 0x18636c8 libpng12-dev}}
count = 40613
firstRun = true
packageCount = optimized out
showAllMultiArch = false
pkgmap = {_M_t = {
_M_impl =
{std::allocatorstd::_Rb_tree_nodestd::pairstd::basic_stringchar,
std::char_traitschar, std::allocatorchar const, RPackage* =
{__gnu_cxx::new_allocatorstd::_Rb_tree_nodestd::pairstd::basic_stringchar,
std::char_traitschar, std::allocatorchar const, RPackage* = {No
data fields}, No data fields},
_M_key_compare = {std::binary_functionstd::basic_stringchar,
std::char_traitschar, std::allocatorchar , std::basic_stringchar,
std::char_traitschar, std::allocatorchar , bool = {No data fields},
No data fields}, _M_header = {
_M_color = std::_S_red, _M_parent = 0xb948b0, _M_left =
0xebe690, _M_right = 0xc5b430}, _M_node_count = 40613}}}