1 |
On Tue, Aug 15, 2017 at 11:21:48AM -0500, R0b0t1 wrote: |
2 |
> On Tue, Aug 15, 2017 at 9:28 AM, Dutch Ingraham <stoa@×××.us> wrote: |
3 |
> > Hi all: |
4 |
> > |
5 |
> > I'm having a problem with Codeblocks not exiting cleanly when using the |
6 |
> > Awesome WM. I've filed a bug report[1] but the wrangler closed it almost |
7 |
> > immediately without any testing or attempt to confirm, so I'm asking for |
8 |
> > your help here. |
9 |
> > |
10 |
> |
11 |
> I don't necessarily agree with the closure of the bug report. I |
12 |
> suspect such closures happen because the first responder does not know |
13 |
> how to troubleshoot the issue. However, the Gentoo developers care a |
14 |
> lot more than, say, the Mozilla developers. Every bug report I have |
15 |
> sent to Mozilla trackers has been ignored. |
16 |
|
17 |
Thanks for your response. |
18 |
|
19 |
I've had issues with this particular wrangler before. See: |
20 |
https://bugs.gentoo.org/show_bug.cgi?id=618148 |
21 |
|
22 |
> |
23 |
> It seems like a tossup: Awesome might be launching Code::Blocks in a |
24 |
> way that leaves the process unable to close itself, but seeing as I |
25 |
> don't actually know how that would happen, you might have better luck |
26 |
> asking the Code::Blocks developers as they will know how to |
27 |
> troubleshoot their project. They then might be able to figure out that |
28 |
> it is something else's fault. |
29 |
> |
30 |
|
31 |
Given how bug reports are handled on non-critical issues, I think a likely |
32 |
response from CodeBlocks would be something like "You stated Codeblocks shuts |
33 |
down cleanly in Arch, Fedora, and Debian when using Awesome. This is a Gentoo |
34 |
issue." A likely response from Awesome would be "You stated this only occurs |
35 |
with Codeblocks on Gentoo; this is a Codeblocks or Gentoo problem" And around |
36 |
and around we go... |
37 |
|
38 |
|
39 |
> > I am using Codeblocks-16.01 (the only unmasked version, which is keyworded |
40 |
> > unstable) on both a full-unstable installation and on a mostly-stable |
41 |
> > installation, both with only the 'contrib' use flag set. On both installations, |
42 |
> > Codeblocks, when started from a menu in the Awesome WM, will not exit |
43 |
> > cleanly. Specifically, when exiting in any manner, the GUI will disappear, |
44 |
> > but the Codeblocks process continues to run. |
45 |
> > |
46 |
> > However, when started from a terminal, Codeblocks does not show this behavior, |
47 |
> > i.e., it does shut down completely and cleanly. |
48 |
> > |
49 |
> > Additionally, this behavior does not present when using either the Plasma |
50 |
> > desktop or the Fluxbox WM, i.e., Codeblocks will shutdown cleanly whether |
51 |
> > started from a menu or from a terminal. |
52 |
> > |
53 |
> > This is likely not strictly an upstream issue. This is almost certainly a Gentoo |
54 |
> > issue, as issue I presented does not appear in Arch, Debian, or Fedora. |
55 |
> > All three have the exact same version of Codeblocks as Gentoo; all three have |
56 |
> > similar versions of Awesome (all in the 4.x branch) and Arch is using the |
57 |
> > exact same version of Awesome (4.2) that I am using on both Gentoo |
58 |
> > installations noted above. |
59 |
> > |
60 |
> > Any help or other insights in debugging this issue are appreciated. |
61 |
> > |
62 |
> |
63 |
> When I encounter issues like this I try to find the newest version of |
64 |
> the project. In this case, it looks like 16.01 is the latest release |
65 |
> of Code::Blocks. You might try building from their repository. It will |
66 |
> take time to become acquainted with the different build systems |
67 |
> (automake, CMake, ...) but you can generally specify a custom |
68 |
> installation directory -- ~/.local is a good place. Add the binary |
69 |
> paths inside of that directory to your PATH. |
70 |
> |
71 |
> You can also run a command to kill Code::Blocks after you exit, |
72 |
|
73 |
As noted, Codeblocks will exit cleanly if started from a terminal emulator, so |
74 |
that seems like the cleanest path to run the program for now. |
75 |
|
76 |
> or use |
77 |
> another IDE (like Geany). Some example commands: |
78 |
> |
79 |
> ps | awk '/codeblocks/ { print $1; }' | xargs kill |
80 |
> kill `pgrep codeblocks` |
81 |
> pkill codeblocks |
82 |
> |
83 |
> Be careful that you don't kill processes that contain the name you |
84 |
> give but aren't the one you mean. The regex in the first command will |
85 |
> be easier to customize. Pkill and pgrep are nonstandard. |
86 |
> |
87 |
> R0b0t1. |
88 |
> |