Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 124736

Summary: app-misc/pax-utils-0.1.9 : scanelf -Xe $execpath makes $execpath to segfault
Product: Gentoo Linux Reporter: Alin Năstac (RETIRED) <mrness>
Component: [OLD] DevelopmentAssignee: SpanKY <vapier>
Status: RESOLVED INVALID    
Severity: normal CC: solar
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alin Năstac (RETIRED) gentoo-dev 2006-03-02 21:52:53 UTC
I tried to fix exec stack QA warnings of the net-dialup/slmodem-2.9.11_pre20051101 package, but those modified programs crashed with segfault afterwards.

Steps to reproduce the problem:
 cd /usr/portage/net-dialup/slmodem
 ebuild slmodem-2.9.11_pre20051101.ebuild compile
 cd /var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/modem
 ./modem_test #program runs normally; hit Ctrl-C to stop it
 scanelf -Xe modem_test
 ./modem_test #Segmentation fault
Comment 1 SpanKY gentoo-dev 2006-03-03 20:32:34 UTC
ok, in your e-mail i thought you said that `scanelf` was segfaulting, not `modem_test`

see comment #13 in Bug 123733 for more info
Comment 2 solar (RETIRED) gentoo-dev 2006-03-04 00:02:59 UTC
Alin,
What arch are you on? bug #124699 may be related.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-03-04 00:12:48 UTC
x86.

I opened this bug because Mike told me so. I didn't thought it was a scanelf's problem in the first place.