Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527268 - app-misc/ddccontrol-0.4.2_p20140105-r1 - segmentation fault in __memmove_sse2 (dest=<optimized out>, src=<optimized out>, len=<optimized out>) at ../string/memmove.c:85 when trying to use an ADL(fglrx) display
Summary: app-misc/ddccontrol-0.4.2_p20140105-r1 - segmentation fault in __memmove_sse2...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending removal: 2016-09-21
Keywords: NeedPatch, PMASKED
Depends on:
Blocks:
 
Reported: 2014-10-28 18:13 UTC by Jelte Fennema
Modified: 2016-10-01 07:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Normal output (file_527268.txt,1.45 KB, text/plain)
2014-10-28 18:14 UTC, Jelte Fennema
Details
Stacktrace (file_527268.txt,2.59 KB, text/plain)
2014-10-28 18:15 UTC, Jelte Fennema
Details
emerge --info (file_527268.txt,18.53 KB, text/plain)
2014-10-28 18:15 UTC, Jelte Fennema
Details
Backtrace (file_527268.txt,9.85 KB, text/plain)
2014-10-28 19:55 UTC, Jelte Fennema
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jelte Fennema 2014-10-28 18:13:29 UTC
I get a segfault when I try to find monitor busses using ddccontrol. I'm using a HD6950 with the latest ati-drivers (14.9)



Reproducible: Always

Steps to Reproduce:
1. run ddccontrol -pv
2.
3.
Actual Results:  
It gives a segfault

Expected Results:  
It works
Comment 1 Jelte Fennema 2014-10-28 18:14:50 UTC
Created attachment 387670 [details]
Normal output
Comment 2 Jelte Fennema 2014-10-28 18:15:31 UTC
Created attachment 387672 [details]
Stacktrace
Comment 3 Jelte Fennema 2014-10-28 18:15:58 UTC
Created attachment 387674 [details]
emerge --info
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-28 19:52:39 UTC
Comment on attachment 387672 [details]
Stacktrace

> ! $ î° root@g2-pc î° /h/jelte î° gdb /usr/bin/ddccontrol                                                              >Program received signal SIGSEGV, Segmentation fault.
>0x00007ffff78aceef in __memmove_sse2 (dest=<optimized out>, src=<optimized out>, len=<optimized out>) at ../string/memmove.c:85
>85	      BYTE_COPY_FWD (dstp, srcp, len);

And now run `backtrace full'
Comment 5 Jelte Fennema 2014-10-28 19:55:45 UTC
Created attachment 387686 [details]
Backtrace
Comment 6 Jelte Fennema 2014-10-28 19:58:29 UTC
(In reply to Jeroen Roovers from comment #4)

> And now run `backtrace full'

Sorry forgot the most important part.
Comment 7 Pacho Ramos gentoo-dev 2016-02-18 12:00:01 UTC
Upstream looks dead and I wonder if this will be fixed ever... maybe this should be treecleaned
Comment 8 Alex Xu (Hello71) 2016-08-21 21:33:55 UTC
(In reply to Pacho Ramos from comment #7)
> Upstream looks dead and I wonder if this will be fixed ever... maybe this
> should be treecleaned

it is not totally broken, only using the ADL backend. using i2c-dev it works perfectly fine here.
Comment 9 wbrana 2016-08-29 11:18:45 UTC
It works with Intel GPU
Comment 10 Michael Weber (RETIRED) gentoo-dev 2016-08-29 12:09:16 UTC
Can we keep this, please.
Works with intel G965 and intel GPU here.
Comment 11 Alex Belykh 2016-08-30 21:19:11 UTC
I'm using it fine via i2c on an older radeon too. I can keep using the ebuild via my personal overlay, ofc, but I don't see it hurting anyone as it is now.
Comment 12 Simon 2016-09-01 20:16:07 UTC
I'm using this with nvidia using i2c without problems as well, would appreciate it if this package can be kept in the tree.

Maybe adding a warning on install/emerge about the ADL backend is an option?
Comment 13 Pacho Ramos gentoo-dev 2016-09-17 15:02:31 UTC
Can the ADL backend be disable in some way?
Comment 14 Diogo Pereira 2016-09-18 14:44:15 UTC
--disable-amdadl should do the trick
Comment 15 Pacho Ramos gentoo-dev 2016-10-01 07:42:38 UTC
[master 410181b] app-misc/ddccontrol: amdadl is broken, disable it (#527268)
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename app-misc/ddccontrol/{ddccontrol-0.4.2_p20140105-r1.ebuild => ddccontrol-0.4.2_p20140105-r2.ebuild} (94%)