Bug#663016: [synaptic] Segmentation fault after upgrade to 0.75.5

2012-03-08 Thread Hans-Georg Bork
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}}}
 

Bug#663016: [synaptic] Segmentation fault after upgrade to 0.75.5

2012-03-08 Thread Michael Vogt
On Thu, Mar 08, 2012 at 01:38:22AM +0100, Hans-Georg Bork wrote:
 Package: synaptic
 Version: 0.75.5
 Severity: grave

Thanks for your bugreport!
 
 --- Please enter the report below this line. ---
 
 Hi,
 
 after upgrade from 0.75.4 to current 0.75.5, synaptic gives a segfault
 at start (see attached strace). A simple reinstall of 0.75.4 solves it.
 
 syslog shows:
 Mar  8 01:31:18 linprofs-hgb kernel: [ 8440.806485] synaptic[7794]:
 segfault at 0 ip 0047ec41 sp 7fffab0cd3d0 error 4 in
 synaptic[40+b7000]
 
 Thanks for looking at it.

Could you please run synpatic under gdb ? To do that, you need to
install it first and then run:
$ sudo gdb synaptic
(gdb) run
[wait for crash]
(gdb) backtrace full

and send me the output?

Thanks,
 Michael
 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663016: [synaptic] Segmentation fault after upgrade to 0.75.5

2012-03-08 Thread Hans-Georg Bork
Hi,

On 03/08/2012 09:16 AM, Michael Vogt wrote:
 syslog shows:
 Mar  8 01:31:18 linprofs-hgb kernel: [ 8440.806485] synaptic[7794]:
 segfault at 0 ip 0047ec41 sp 7fffab0cd3d0 error 4 in
 synaptic[40+b7000]

 Thanks for looking at it.
 
 Could you please run synpatic under gdb ? To do that, you need to
 install it first and then run:
 $ sudo gdb synaptic
 (gdb) run
 [wait for crash]
 (gdb) backtrace full
 
 and send me the output?

here you are:

GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 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) 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 ?? ()
(gdb) backtrace full
#0  0x0047ec41 in ?? ()
No symbol table info available.
#1  0x0047a7da in ?? ()
No symbol table info available.
#2  0x0046c362 in ?? ()
No symbol table info available.
#3  0x00417499 in ?? ()
No symbol table info available.
#4  0x73323ead in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#5  0x00419ef1 in ?? ()
No symbol table info available.
#6  0x7fffe6f8 in ?? ()
No symbol table info available.
#7  0x001c in ?? ()
No symbol table info available.
#8  0x0001 in ?? ()
No symbol table info available.
#9  0x7fffe925 in ?? ()
No symbol table info available.
#10 0x in ?? ()
No symbol table info available.
(gdb)

-- hgb



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org