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

Re: Bug#963721: [pkg-cryptsetup-devel] Bug#963721: libcryptsetup12 v2:2.3.3-1 seems to be breaking libssl somehow



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: