From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 19 Oct 2005 21:46:29 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20051019174628.GS7934@solemn.turbinal.org> Mail-Followup-To: ALT Devel discussion list References: <20051018233018.GF7934@solemn.turbinal.org> <20051019090524.GA4908@basalt.office.altlinux.org> <20051019130136.GI7934@solemn.turbinal.org> <20051019135635.GK7934@solemn.turbinal.org> <20051019141810.GM7934@solemn.turbinal.org> <20051019155032.GO7934@solemn.turbinal.org> <20051019171724.GA14948@nomad.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aSWkPH9ZfNVpzroI" Content-Disposition: inline In-Reply-To: <20051019171724.GA14948@nomad.office.altlinux.org> Cc: Subject: [devel] Re: RPM::Database X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 17:57:00 -0000 Archived-At: List-Archive: List-Post: --aSWkPH9ZfNVpzroI Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 19, 2005 at 09:17:25PM +0400, Dmitry V. Levin wrote: > alt51$ ./rttest-alt52=20 > ./rttest-alt52: Symbol `rpmTagTable' has different size in shared object,= consider re-linking > rpmTagTableSize =3D 125 > rpmTagTable =3D 0x16b8e4 > Segmentation fault ^^^ =C2 =FD=F2=EE=E9 =F1=E8=F2=F3=E0=F6=E8=E8 =E2=EE=F2 =F7=F2=EE =EF=F0=EE=E8= =F1=F5=EE=E4=E8=F2: #0 0x400d73ef in strlen () from /usr/lib/debug/libc.so.6 #1 0x400ae405 in _IO_vfprintf (s=3D0x4017c7e0, format=3D0x544d5052
, ap=3D0xbffff1dc= "=FB\204\004\b=F4=BF\027@@=A2") at vfprintf.c:1468 #2 0x400b496f in *__GI_fprintf (stream=3D0x544d5052, format=3D0x544d5052
) at fprintf.c:32 #3 0x080484d4 in main () at test.c:6 (gdb) frame 3 #3 0x080484d4 in main () at test.c:6 6 fprintf(stdout, "tag0: %s$\n", tag0); (gdb) p tag0 $1 =3D 0x544d5052
(gdb) p rpmTagTable $2 =3D (const struct headerTagTableEntry_s *) 0x4006e8e4 (gdb) p rpmTagTable[0] $3 =3D {name =3D 0x544d5052
, val =3D 121= 4203713} =D2=E0=EA=EE=E5 =E2=EF=E5=F7=E0=F2=EB=E5=ED=E8=E5, =F7=F2=EE =EF=F0=EE=E8= =F1=F5=EE=E4=E8=F2 =ED=E5=EF=F0=E0=E2=E8=EB=FC=ED=FB=E9 dereferencing, =F2= =EE =E5=F1=F2=FC rpmTagTable =E2 =EA=E0=F7=E5=F1=F2=E2=E5 =F3=EA=E0=E7=E0=F2=E5=EB=FF =F3=E6= =E5 =F1=EC=EE=F2=F0=E8=F2 =ED=E5=EF=EE=E9=EC=E8 =EA=F3=E4=E0. =DF =EE=E7= =E0=E4=E0=F7=E5=ED. :) --aSWkPH9ZfNVpzroI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFDVoZ0fBKgtDjnu0YRAtbOAKCbZuP46oJsxbgMP42fXqoVDrSVbwCgseQl vqfqc2QDeNguUGge/K4igEA= =032m -----END PGP SIGNATURE----- --aSWkPH9ZfNVpzroI--