디버거 : DDD.DDD로 파일을 열 때이 오류가 발생하는 이유는 무엇입니까?
64 비트 우분투 정확한 팡골린 시스템.
나는 주차에 아주 간단한 C 프로그램을 열려고 할 때마다 나는 다음과 같은 오류 얻을 :
또한Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
Warning: Cannot convert string "%s" to type %s
Warning: Could not load font "-*-lucidatypewriter-medium-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: Could not load font "-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: Could not load font "-*-lucidatypewriter-bold-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: XmStringGetNextComponent: unknown type 26933216
Warning: XmStringGetNextComponent: unknown type 26664160
Warning: XmStringGetNextComponent: unknown type 26721536
Warning: XmStringGetNextComponent: unknown type 27713552
Warning: XmStringGetNextComponent: unknown type 26719456
Warning: XmStringGetNextComponent: unknown type 26994752
Warning: XmStringGetNextComponent: unknown type 27761616
, DDD이 모든 오류가 터미널에 표시 얻을 후 벌금 열리지 만 소스없이를 디버깅하고 싶은 파일. 이 온라인 솔루션을 찾을 수 없습니다! 감사.
편집 :
루트로 실행할 때 위의 오류가 발생합니다. 일반 사용자로 실행할 때 다음과 같은 메시지가 나타납니다.
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-*-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-bold-*-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-180-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-symbol-*-*-*-*-*-120-*-*-*-*-adobe-*" to type FontStruct
Warning: Could not load font "-*-lucidatypewriter-medium-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: Could not load font "-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: Could not load font "-*-lucidatypewriter-bold-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: XmStringGetNextComponent: unknown type 27122480
Warning: XmStringGetNextComponent: unknown type 27125120
Warning: XmStringGetNextComponent: unknown type 27119296
Warning: XmStringGetNextComponent: unknown type 27109856
Warning: XmStringGetNextComponent: unknown type 27150160
Warning: XmStringGetNextComponent: unknown type 27132208
DDD를 시작하는 데 사용하는 명령은 무엇입니까? – slugonamission
다음을 사용하고 있습니다 :'ddd prac1.c &'. – amorimluc
... 그리고'whoami'의 출력? (아마 당신이 원하는 것이 아닌 루트로서 ddd를 실행하려고 시도한 것 같습니다.) –