[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Source build of gnome-apt - source dependencies?



In foo.debian-devel, you wrote:
> Karl M. Hegbloom wrote:
>   >>>>>> "Oliver" == Oliver Elphick <olly@lfix.co.uk> writes:
>   >
>   >    Oliver> It built OK.  The trouble is, it now segfaults even sooner
>   >    Oliver> than it did before.  The developers' version segfaults as
>   >    Oliver> soon as it has finished fetching packages; my version
>   >    Oliver> segfaults as soon as I ask it to fetch packages.  The
>   >    Oliver> segfault is in some standard library (no symbols
>   >    Oliver> available).
>   >
>   > Can't you use `ldd' to get the address ranges, and use those to
>   > figure out which library it faults in?
>  
> Program received signal SIGSEGV, Segmentation fault.
> 0x40542233 in   ()
> (gdb) bt
> #0  0x40542233 in   ()
> #1  0x40543a84 in   ()
> #2  0x404ca1b1 in filebuf::xsputn ()
> #3  0x404cddab in ostream::operator<< ()
> #4  0x8060363 in GAcqStatus::Start (this=0xbffff20c) at acquirestatus.cc:105
> #5  0x40468128 in pkgAcquire::Run ()
> #6  0x8063f18 in GAptCacheFile::UpdateAndReopen (this=0x80b1650)
>     at cache.cc:332
> #7  0x807941f in update_cb (w=0x816b0a0, data=0x81172f0) at menus.cc:1111
> 
> ldd:
>         ...
>         libc.so.6 => /lib/libc.so.6 (0x404eb000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x405e1000)
>         ...
> 
> looks like libc6
> 
> ii  libc6           2.1.1-1        GNU C Library: Shared libraries and timezone

FWIW, if I newly compile gnome-apt it SEGV's because apt is compiled with
the non-glic2.1 version of libstdc++.
Here's the tail end of my failure.  Although the original compiled
version still seems to work for me, because it is compiled against
the same libstdc++ as apt.


gtk_widget_show_all(0x080e37b0, 0, 0x40254c58, 0x080e41b8, 0x0805ec44 <unfinished ...>
gtk_widget_show(0x080e37b0, 0x40254c58, 0, 0xbffff904, 0x40162df5) = 0x080e37b0
gtk_widget_show_all(0x080e4be8, 0, 0x40254c58, 0x080e41b8, 0x0805ec44 <unfinished ...>
gtk_widget_show(0x080e4be8, 0x40254c58, 0, 0xbffff904, 0x40162e29) = 0x080e4be8
__13pkgSourceList(0xbffffcc0, 0x080b2850, 0x080b4018, 0x080b4028, 0x080db840) = 0xbffffcc0
pkgSourceList::ReadMainList(void)(0xbffffcc0, 0xbffffcc0, 0x080b2850, 0x080b4018, 0x080b4028 <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


Reply to: