oyranos-cms / oyranos

Colour Management System
https://gitlab.com/oyranos/oyranos
Other
19 stars 6 forks source link

segfault in oyranos-compat, "Bad RIP value" #53

Open tari3x opened 5 years ago

tari3x commented 5 years ago

Using 0.9.6:

> oyranos-monitor -d 0 /usr/share/color/icc/lcms/Lab.icc
(not output, nothing happens)
> dmesg
...
[  928.301069] oyranos-compat-[5472]: segfault at 0 ip 0000000000000000 sp 00007ffcb7a967c8 error 14 in oyranos-compat-gnome[400000+3000]
[  928.301073] Code: Bad RIP value.
[  928.377806] oyranos-compat-[5492]: segfault at 0 ip 0000000000000000 sp 00007fffe4f11e88 error 14 in oyranos-compat-gnome[400000+3000]
[  928.377809] Code: Bad RIP value.

I know this is not the newest version, but OpenSuSE 15 still ships with it, sadly.

beku commented 5 years ago

A patch could be added to the distro package. See here: https://bugzilla.novell.com/show_bug.cgi?id=1090527 Likely patch source from git: 6ee5dc04

tari3x commented 5 years ago

I compiled from git, ran make install, and removed the system package, now I'm getting

[44814.058716] oyranos-compat-[10168]: segfault at 8 ip 00007ff2d7ed1b0f sp 00007ffd5a08dc70 error 4 in libcolordcompat.so[7ff2d7ed0000+2000]
[44814.058730] Code: 8d 3d c2 00 00 00 41 bc 08 00 00 00 48 8b 70 08 31 c0 e8 c4 f4 ff ff e9 04 ff ff ff 0f 1f 80 00 00 00 00 48 8b 04 24 4c 89 f7 <4c> 8b 60 08 e8 58 f4 ff ff 48 8d 3d c4 00 00 00 48 89 c6 31 c0 4c
kanyck commented 4 years ago

I have the same issue with 0.9.6.

tari3x commented 4 years ago

Is "help wanted" still the right status for this issue?