|
From: | Daniel Santos |
Subject: | Re: Debug ProjectCenter |
Date: | Fri, 29 Nov 2024 10:44:49 +0000 |
I am now trying to build all of gnustep with debug information. I am using clang and am compiling from the repos in GitHub at the HEAD version Have built libobjc2 and libs-back, libs-base and libs-gui all with debug=yes. I then built project center also with debug=yes Now when I am trying to run ProjectCenter installed with GNUSTEP_INSTALLATION_DOMAIN=LOCAL i am getting an error in an Assert : gdb -x gdb_cmds.txt ~/GNUstep/Applications/ProjectCenter.app/ProjectCenter GNU gdb (Debian 13.1-3) 13.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: Find the GDB manual and other documentation resources online at: For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/dlsa/GNUstep/Applications/ProjectCenter.app/ProjectCenter... (gdb) run Starting program: /home/dlsa/GNUstep/Applications/ProjectCenter.app/ProjectCenter [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 2024-11-29 10:23:03.973 ProjectCenter[158425:158425] Unsupported context depth 24 2024-11-29 10:23:04.091 ProjectCenter[158425:158425] final candidate path is: /usr/local/bin/gmake 2024-11-29 10:23:04.091 ProjectCenter[158425:158425] final candidate path is: /usr/bin/gmake 2024-11-29 10:23:04.091 ProjectCenter[158425:158425] Build tool found: /usr/bin/gmake 2024-11-29 10:23:04.101 ProjectCenter[158425:158425] final candidate path is: /usr/local/bin/gdb 2024-11-29 10:23:04.101 ProjectCenter[158425:158425] final candidate path is: /usr/bin/gdb 2024-11-29 10:23:04.101 ProjectCenter[158425:158425] Debugger tool found: /usr/bin/gdb 2024-11-29 10:23:04.118 ProjectCenter[158425:158425] NSDocumentClass PCProjectDocument not found 2024-11-29 10:23:04.118 ProjectCenter[158425:158425] NSDocumentClass PCProjectDocument not found 2024-11-29 10:23:04.119 ProjectCenter[158425:158425] NSDocumentClass PCClassDocument not found 2024-11-29 10:23:04.119 ProjectCenter[158425:158425] NSDocumentClass PCClassDocument not found 2024-11-29 10:23:04.119 ProjectCenter[158425:158425] NSDocumentClass PCHeaderDocument not found 2024-11-29 10:23:04.119 ProjectCenter[158425:158425] NSDocumentClass PCCDocument not found [Detaching after vfork from child process 158430] ProjectCenter: /home/dlsa/code/gnustep/libobjc2/protocol.h:85: struct objc_protocol_method_description *protocol_method_at_index(struct objc_protocol_method_description_list *, int): Assertion `l->size >= sizeof(struct objc_protocol_method_description)' failed. Program received signal SIGABRT, Aborted. __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 44 ./nptl/pthread_kill.c: No such file or directory. (gdb) Seems the problem is in libobjc2, but I don’t have a clue how to get past it. Daniel Santos
|
[Prev in Thread] | Current Thread | [Next in Thread] |