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.
> 0x000000000047ec41 in RPackageViewOrigin::addPackage (this=0x776e80,
> package=0xeaffc0) at rpackageview.cc:614
> 614 if(strcmp(VF.File().Archive(), "now") == 0)
> (gdb) backtrace full
> #0 0x000000000047ec41 in RPackageViewOrigin::addPackage (this=0x776e80,
> package=0xeaffc0) at rpackageview.cc:614
> VF = {<pkgCache::Iterator<pkgCache::VerFile,
> pkgCache::VerFileIterator>> = {<std::iterator<std::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::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x186b9c8 "Not automatic: "}}
> origin_url = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x1866298 "ftp.debian.nl"}}
> subview = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x187e6e8 "Not automatic: unstable(ftp.debian.nl)"}}
> suite = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x1867378 "unstable"}}
> Ver = {<pkgCache::Iterator<pkgCache::Version, pkgCache::VerIterator>>
> = {<std::iterator<std::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::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x18766c8 "stable/main (ftp.debian.nl)"}}
> component = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x187eb68 "main"}}
> origin_url = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x1864e78 "ftp.debian.nl"}}
> origin_str = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x186c018 "Debian"}}
> suite = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x1866028 "stable"}}
> #1 0x000000000047a7da in RPackageView::refresh (this=0x776e80) at
> rpackageview.cc:90
> i = <optimized out>
> #2 0x000000000046c362 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::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<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::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const, RPackage*> > >> =
> {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const, RPackage*> > >> = {<No
> data fields>}, <No data fields>},
> _M_key_compare = {<std::binary_function<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, 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}}}
> sectionSet = {_M_t = {
> _M_impl =
> {<std::allocator<std::_Rb_tree_node<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > >> =
> {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > >> = {<No data fields>}, <No
> data fields>},
> _M_key_compare = {<std::binary_function<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>},
> <No data fields>}, _M_header = {
> _M_color = std::_S_red, _M_parent = 0xb94960, _M_left =
> 0xb96530, _M_right = 0xbeb1a0}, _M_node_count = 124}}}
> I = <incomplete type>
> #3 0x0000000000417499 in main (argc=1, argv=0x7fffffffe628) at
> gsynaptic.cc:518
> CmdL = {ArgList = 0x6b8e40, Conf = 0x6c09a0, FileList = 0x6f3360}
> UpdateMode = false
> packageLister = 0x776a00
> s = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x6bbd98 ""}}
> cd_mount_point = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x6bbd98 ""}}
> selections_filename = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> ---Type <return> to continue, or q <return> to quit---
> _M_p = 0x7ffff344d87e "messages"}}
> filter = {static npos = <optimized out>,
> _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
> _M_p = 0x0}}
> NonInteractive = false
> mainWindow = 0x782600
> (gdb)
Regards
-- hgb
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]