Bug 472766

Summary: Calling app crashes when clicking "Get new [thing] button" with proxy
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: 975998285
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: CONFIRMED ---    
Severity: crash CC: alexander.lohnau, kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.108.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description 975998285 2023-07-29 09:58:11 UTC
the crash report shows segmentation fault

when
export all_proxy=socks5://127.0.0.1:7890 
was in /etc/profile , click the get new theme button would leads to a crash

i have clash for windows installed on my arch and its working
the proxy port is 7890

STEPS TO REPRODUCE
1. add a line to /etc/profile and make sure the proxy is working instead of none-proxy
export all_proxy=socks5://127.0.0.1:7890

2. click the button


OBSERVED RESULT

crash
EXPECTED RESULT

i think it should be a force check in some place

SOFTWARE/OS VERSIONS
archlinux
kde plasma 5.27.6
qt5.15.10+kde+r135-1

ADDITIONAL INFORMATION
Comment 1 975998285 2023-07-29 10:35:44 UTC
export https_proxy=http://127.0.0.1:7890
export http_proxy=http://127.0.0.1:7890
export all_proxy=socks5://127.0.0.1:7890
#export no_proxy=localhost, 127.0.0.0/8, ::1

the actual reason is enabling the 4th line in /etc/profile
Comment 2 Ismael Asensio 2023-07-31 20:55:26 UTC
*** Bug 472767 has been marked as a duplicate of this bug. ***