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

Re: debugging apt-get (was: Re: dynamic-linking)




> Some people seem to get this, although apt-get works great for me.
> That seens to be another bug.

        FYI I compiled apt-get for deugging.  The result is appended.

        I couldn't sort it out, but if I were to guess, I would guess
      that the pkgSrcRecords constructor is producing the PendingError.

        HTH, Thanks,

        Paul.

        (oh, and debhelper depends on file, I could see no hurd deb
      for this, so I compiled it and it works fine).

GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-gnu0.2"...
(gdb) run source file
Starting program: /work/paule/apt/bin/./apt-get source file
Reading Package Lists...
Building Dependency Tree...

Program received signal SIGSEGV, Segmentation fault.
0x128e163 in main_arena () from /lib/debug/libc.so.0.2
(gdb) where full
#0  0x128e163 in main_arena () from /lib/debug/libc.so.0.2
No symbol table info available.
#1  0x128e138 in main_arena () from /lib/debug/libc.so.0.2
No symbol table info available.
#2  0x805a7bc in DoSource (CmdL=@0x1021910) at apt-get.cc:1597
	Cache = {<> = {<No data fields>}, static SortCache = 0x806ae88, 
  List = 0x80a3f08}
	List = <incomplete type>
	Recs = <incomplete type>
	SrcRecs = <incomplete type>
	Stat = {<> = {<No data fields>}, ScreenWidth = @0x18, 
  BlankLine = "4\000\000\000i", '\000' <repeats 11 times>, "\232b#\001¸ô(\001\000\000\000\000´\027\002\001\002\235\025\0014\030\002\001\177ª\000\000¨\234\025\001\000\000\000\000Ì\027\002\001¬\030\002\001\234\027\002\001±1\030\001A\000\000\000\225§\000\000¼\001\002\000^1\030\001¸ô(\001\000\000\000\000´\027\002\001\000\000\000\000t\030\002\001x«\000\000¤®\004\b¼¹\r\001\000\000\000\000\225§\000\000¼\001\002\000.\032\000\000È\a\002\000ìå\024\001\bá(\001ÚÓ\027\001¸ô(\001h\a P¬\030\002\001\235\002\000\000d\030\002\001\r\231\000\000ô\017\003\001+¤\004\b\000\022\000\000\031\227\000\000¼\001\002\000d\217\004\bÈ\a\002\000\220"..., ID = 1, 
  Quiet = 0}
	Fetcher = <incomplete type>
	J = 0
	FetchBytes = 2.6654841593135251e-320
	FetchPBytes = 1.379297264127427e-312
	DebBytes = 0
	Buf = {__f_type = 18125772, f_bsize = 17675232, f_blocks = 0, 
  f_bfree = 0, f_bavail = 0, f_files = 0, f_ffree = 0, 
  f_fsid = 23171348562030, f_namemax = 0, f_favail = 16914132, 
  f_frsize = 56777, f_flag = 17675572, f_spare = {18320862, 19461304, 
    16914604}}
	OutputDir = {static npos = 4294967295, static nilRep = {len = 0, 
    res = 0, ref = 4221, selfish = false}, dat = 0x8065de4 ""}
	Failed = 32
	Process = 1
	Status = 16914476
#3  0x10605ee in CommandLine::DispatchArg ()
   from /lib/libapt-pkg-libc6.2-2.10.0.so.3.1
No symbol table info available.
#4  0x805f4e3 in main (argc=3, argv=0x1021c30) at apt-get.cc:2135
	Args = 0x102198c
	Cmds = 0x102191c
	CmdL = <incomplete type>
#5  0x1185720 in __libc_start_main (main=0x805f1e8 <main>, argc=3, 
    ubp_av=0x1021c30, init=0x804b844 <_init>, fini=0x8062638 <_fini>, 
    rtld_fini=0xe6a0 <_dl_fini>, stack_end=0x1021c2c)
    at ../sysdeps/generic/libc-start.c:129
	fini = (void (*)(void)) 0x20700 <_dl_debug_impcalls>
	rtld_fini = (void (*)(void)) 0x128e487 <main_arena+903>
	ubp_ev = (char **) 0x10882f6
(gdb) quit
The program is running.  Exit anyway? (y or n) 




-- 
Paul.Emsley@chem.gla.ac.uk   
 http://www.chem.gla.ac.uk/~paule



Reply to: