Re: Bug#963721: [pkg-cryptsetup-devel] Bug#963721: libcryptsetup12 v2:2.3.3-1 seems to be breaking libssl somehow
- To: Michael Biebl <biebl@debian.org>, 963721@bugs.debian.org
- Cc: Guilhem Moulin <guilhem@debian.org>, Christian Weeks <cpw@weeksfamily.ca>, jansson@packages.debian.org, json-c@packages.debian.org
- Subject: Re: Bug#963721: [pkg-cryptsetup-devel] Bug#963721: libcryptsetup12 v2:2.3.3-1 seems to be breaking libssl somehow
- From: Chris Hofstaedtler <zeha@debian.org>
- Date: Sun, 28 Jun 2020 21:16:46 +0200
- Message-id: <[🔎] 20200628191646.4o2zfy6nbtwcouc5@percival.namespace.at>
- In-reply-to: <d9be8cf7-12b7-2cb5-80b6-d9b3fd0d0b23@debian.org>
- References: <20200626152311.GB360462@debian.org> <d4b27966ee0e90088192a73d735c436e4768f91a.camel@weeksfamily.ca> <7da9199dda96786dfe047242979da7123ec68954.camel@weeksfamily.ca> <20200627023543.GA466881@debian.org> <b4ebd8ec82c5debbc46525bbe1fe271c66cd64ea.camel@weeksfamily.ca> <20200627174657.GA571627@debian.org> <20200627174657.GA571627@debian.org> <a2b1230d-0b45-ff8d-5b85-49c08cddcd84@debian.org> <159313672347.220222.5668126182180432264.reportbug@cheesypuffs.weeksfamily.ca> <d9be8cf7-12b7-2cb5-80b6-d9b3fd0d0b23@debian.org>
Hi Michael,
* Michael Biebl <biebl@debian.org> [200628 03:30]:
> Am 27.06.20 um 21:14 schrieb Michael Biebl:
> > [16014.637459] traps: firewalld[35622] general protection fault
> > ip:7f981342d7b2 sp:7ffe6abe4ed0 error:0 in
> > libjansson.so.4.11.1[7f981342c000+8000]
>
> Attached is a back trace.
It appears you indeed have found a symbol naming clash!
$ ldd /usr/lib/x86_64-linux-gnu/libmount.so.1
libjson-c.so.4 => /lib/x86_64-linux-gnu/libjson-c.so.4 (0x00007f289aec6000)
...
$ ldd /usr/lib/x86_64-linux-gnu/libnftables.so.1
libjansson.so.4 => /lib/x86_64-linux-gnu/libjansson.so.4 (0x00007f71ffd16000)
...
$ nm -Dg /lib/x86_64-linux-gnu/libjson-c.so.4 | grep json_object_iter
0000000000006fe0 T json_object_iter_begin
0000000000007000 T json_object_iter_end
0000000000007040 T json_object_iter_equal
0000000000007050 T json_object_iter_init_default
0000000000007010 T json_object_iter_next
0000000000007020 T json_object_iter_peek_name
0000000000007030 T json_object_iter_peek_value
$ nm -Dg /lib/x86_64-linux-gnu/libjansson.so.4 | grep json_object_iter
0000000000009030 T json_object_iter
0000000000009050 T json_object_iter_at
00000000000090b0 T json_object_iter_key
0000000000009080 T json_object_iter_next
0000000000009b00 T json_object_iter_set_new
00000000000090d0 T json_object_iter_value
I'm considering cloning and reassinging to json-c and jansson.
Personally I would guess jansson should not export symbols named
json_*, but this is going to be ... interesting.
Best,
Chris
Reply to: