Bug 2180750
| Summary: | [abrt] anjuta: iassist_remove(): anjuta killed by SIGSEGV | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | rvcsaba | ||||||||||||||||||||||||||
| Component: | anjuta | Assignee: | Gwyn Ciesla <gwync> | ||||||||||||||||||||||||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||
| Version: | 38 | CC: | gwync, hmmsjan, klember | ||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/ddf8c033e74719d8dbee3d82a84bdfa6e625d02 | ||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:cc9d1a873663f4d968428a5e70d099db3dd4dc57;VARIANT_ID=; | ||||||||||||||||||||||||||||
| Fixed In Version: | Doc Type: | --- | |||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||
| Last Closed: | 2024-05-21 14:33:13 UTC | Type: | --- | ||||||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||
|
Description
rvcsaba
2023-03-22 08:01:03 UTC
Created attachment 1952670 [details]
File: mountinfo
Created attachment 1952671 [details]
File: backtrace
Created attachment 1952672 [details]
File: open_fds
Created attachment 1952673 [details]
File: cpuinfo
Created attachment 1952674 [details]
File: exploitable
Created attachment 1952675 [details]
File: core_backtrace
Created attachment 1952676 [details]
File: maps
Created attachment 1952677 [details]
File: os_info
Created attachment 1952678 [details]
File: dso_list
Created attachment 1952679 [details]
File: environ
Created attachment 1952680 [details]
File: proc_pid_status
Created attachment 1952681 [details]
File: limits
1) Open a project 2) Double click main.c... and Anjuta crashing reporter: libreport-2.17.10 kernel: 6.3.3-200.fc38.x86_64 backtrace_rating: 4 runlevel: N 5 cgroup: 0::/user.slice/user-1002.slice/session-2.scope uid: 1002 package: anjuta-1:3.34.0-18.fc38 rootdir: / cmdline: anjuta journald_cursor: s=49bbefa6555f49a6b4a192fe611f641a;i=d5ba8;b=9f9fd930dd85413f8778c3dc5f112309;m=21bb984a1;t=5fc622f16f654;x=bf2b8e09c6b987fc type: CCpp crash_function: iassist_remove executable: /usr/bin/anjuta reason: anjuta killed by SIGSEGV Attempting to open a hello world C file reporter: libreport-2.17.11 type: CCpp reason: anjuta killed by SIGSEGV journald_cursor: s=2a41a82afe474108b8aa154e351b6e98;i=6f06b;b=2d0012a824a34fecb9536c1e9d3a4669;m=3ea5daa9;t=6008ecab91a6d;x=c29dd7451f77cec4 executable: /usr/bin/anjuta cmdline: /usr/bin/anjuta cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-anjuta-8000.scope rootdir: / uid: 1000 kernel: 6.3.12-200.fc38.x86_64 package: anjuta-1:3.34.0-18.fc38 runlevel: N 5 backtrace_rating: 4 crash_function: iassist_remove comment: Attempting to open a hello world C file Confirm with F39 beta version anjuta-3.34.0-20.fc39.x86_64 Any "open" operation waits until "SEGV", unless you open by external program. Similar stack trace. Quick test shows that it works as expected with anjuta-3.34.0-16.fc37.x86_64 in a F37 VM. Please see bug 2242593. (I drop Anjuta because this bug, I use Qt Creator.) (In reply to H.Janssen from comment #15) > Confirm with F39 beta version anjuta-3.34.0-20.fc39.x86_64 > Any "open" operation waits until "SEGV", unless you open by external program. > Similar stack trace. > > Quick test shows that it works as expected with anjuta-3.34.0-16.fc37.x86_64 > in a F37 VM. Anjuta is fairly old. I do not know how good qtcreator is to develop GTK programs. For C++/QT it is great. The problem with anjuta is that in the Fedora version (not last Debian) a list is freed to unaccessible memory within the loop iterating over this list. By iterating over a copy of the list, it seems to work again, but I tested only with an 1-element list for the moment (.c file). See patch below. Another problem is that glade does not open, but that can easily be done externally. Also the python loader does not work, because a function in python 3.12 requires argv as w_char*, and the program offers a char*. So a conversion is needed. And libpython3.12 is not linked, so you immediately get an undefined symbol. The program needs an overhaul to be executed on current OS. diff /dev/shm/anjuta-3.34.0/plugins/sourceview/sourceview.c /home/hj/rpmbuild/BUILD/anjuta-3.34.0/plugins/sourceview/sourceview.c 2358,2359c2358,2360 < GList* node; < for (node = gtk_source_completion_get_providers(completion); node != NULL; node = g_list_next(node)) --- > GList* node=gtk_source_completion_get_providers(completion); > GList* cnode=g_list_copy(node); > for (cnode=g_list_first(cnode); cnode != NULL; cnode = g_list_next(cnode)) 2362c2363 < if (!SOURCEVIEW_IS_PROVIDER(node->data)) --- > if (!SOURCEVIEW_IS_PROVIDER(cnode->data)) 2364c2365 < prov = SOURCEVIEW_PROVIDER(node->data); --- > prov = SOURCEVIEW_PROVIDER(cnode->data); 2371c2372 < } --- > } I usually write native C programs without a GUI. (In reply to H.Janssen from comment #17) > Anjuta is fairly old. I do not know how good qtcreator is to develop GTK > programs. For C++/QT it is great. This message is a reminder that Fedora Linux 38 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '38'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 38 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21. Fedora Linux 38 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed. |