segfault when splitting window
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Invalid
|
Critical
|
Unassigned | ||
vte (Ubuntu) |
Invalid
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
upon open a terminator session, when i try to 'split' either vertical or horizontal, it will just close the window entirely.
chantra (chantra) wrote : | #1 |
Changed in terminator: | |
status: | New → Incomplete |
Wayne (wlee618) wrote : Re: [Bug 227263] Re: window closed when try to 'split' | #2 |
all it says is 'segment fault' and the version is 0.8.1...
i did the sudo ./setup.py install to install...
On Tue, May 6, 2008 at 8:06 AM, chantra <email address hidden> wrote:
> Hi Wayne,
>
> Thanks for reporting this bug.
>
> Can you start terminator from the command line and send us the output that
> is generated when splitting the terminal.
> Also, what version of terminator are you running and on what distribution.
> cheers
>
> ** Changed in: terminator
> Status: New => Incomplete
>
> --
> window closed when try to 'split'
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
-------
Wayne from Gmail
Chris Jones (cmsj) wrote : Re: window closed when try to 'split' | #3 |
Wayne: could you provide a little more detail about the system you are running terminator on?
The segfault is python itself crashing, so if it is our fault we need to know why it's happening so we can work around it, but realistically something like python should never segfault.
Wayne (wlee618) wrote : Re: [Bug 227263] Re: window closed when try to 'split' | #4 |
hi Chris,
sorry, i am using ubuntu 8.04. please let me know what else i can do to let
you take a look or what recovery commands...
thanks
On Wed, May 7, 2008 at 8:35 AM, Chris Jones <email address hidden>
wrote:
> Wayne: could you provide a little more detail about the system you are
> running terminator on?
> The segfault is python itself crashing, so if it is our fault we need to
> know why it's happening so we can work around it, but realistically
> something like python should never segfault.
>
> --
> window closed when try to 'split'
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
-------
Wayne from Gmail
Chris Jones (cmsj) wrote : Re: window closed when try to 'split' | #5 |
Terminator is available in Ubuntu 8.04, so you should be able to install it from the "All available applications" section of Applications-
However, I strongly suspect that doing it that way will stop it segfaulting. On one hand I'd like to get your issue sorted as quickly as possible, but I'd also like to know why it's segfaulting!
Wayne (wlee618) wrote : Re: [Bug 227263] Re: window closed when try to 'split' | #6 |
i have also installed the terminator by 'apt-get install terminator'..
shouldn't that be doing the same thing? i will go ahead and try that... i
doubt it will fix that issue..
On Wed, May 7, 2008 at 9:27 AM, Chris Jones <email address hidden>
wrote:
> Terminator is available in Ubuntu 8.04, so you should be able to install
> it from the "All available applications" section of
> Applications-
> However, I strongly suspect that doing it that way will stop it
> segfaulting. On one hand I'd like to get your issue sorted as quickly as
> possible, but I'd also like to know why it's segfaulting!
>
> --
> window closed when try to 'split'
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
-------
Wayne from Gmail
Chris Jones (cmsj) wrote : Re: window closed when try to 'split' | #7 |
Is this still a problem? Did a package install fix it?
Wayne (wlee618) wrote : Re: [Bug 227263] Re: window closed when try to 'split' | #8 |
Chris Jones wrote:
> Is this still a problem? Did a package install fix it?
>
>
nope.. still the same. nothing changed.
Chris Jones (cmsj) wrote : Re: window closed when try to 'split' | #9 |
Wayne: In that case, could you download the current trunk and see if it still happens? (you can do this by installing the "bzr" package, running "bzr branch lp:terminator" and then running ./terminator from the "trunk" directory. I'm very curious to find out what is causing python to segfault!
Wayne (wlee618) wrote : Re: [Bug 227263] Re: window closed when try to 'split' | #10 |
hi Chris,
if you meant to run the terminator fromthe use/bin/ dir, then i did. i got
bash: setenv: command not found
bash: setenv: command not found
when i did that "./terminator"
then i did the 'CTRL-Shift-E' i got..
(terminator:7274): Vte-WARNING **: No handler for control sequence
`device-
Segmentation fault
hope that helps..
thanks
is that what you are looking for?
Chris Jones wrote:
> Wayne: In that case, could you download the current trunk and see if it
> still happens? (you can do this by installing the "bzr" package, running
> "bzr branch lp:terminator" and then running ./terminator from the
> "trunk" directory. I'm very curious to find out what is causing python
> to segfault!
>
>
Shang Wu (shangwu) wrote : Re: window closed when try to 'split' | #11 |
hi Chris,
I download the trunk and ran the terminator form the terminator folder and here are the messages:
Using Linux pid_get_cwd
VSGConf: Found profile 'Default' in profile_list
VSConf: setting callback to: <bound method Terminator.
TConfig: Looking for: 'handle_size' in 'RCFile'
Failed to find 'handle_size'
TConfig: Looking for: 'handle_size' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'handle_size' in 'Default'
Returning 'handle_size'
TConfig: got: '-1' from a 'Default'
TConfig: Looking for: 'fullscreen' in 'RCFile'
Failed to find 'fullscreen'
TConfig: Looking for: 'fullscreen' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'fullscreen' in 'Default'
Returning 'fullscreen'
TConfig: got: 'False' from a 'Default'
TConfig: Looking for: 'maximise' in 'RCFile'
Failed to find 'maximise'
TConfig: Looking for: 'maximise' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'maximise' in 'Default'
Returning 'maximise'
TConfig: got: 'False' from a 'Default'
TConfig: Looking for: 'borderless' in 'RCFile'
Failed to find 'borderless'
TConfig: Looking for: 'borderless' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'borderless' in 'Default'
Returning 'borderless'
TConfig: got: 'False' from a 'Default'
TConfig: Looking for: 'scrollbar_
Failed to find 'scrollbar_
TConfig: Looking for: 'scrollbar_
VSGConf: preparing: /apps/gnome-
GConf: picked function: get_str
TConfig: got: 'right' from a 'GConf'
TConfig: Looking for: 'emulation' in 'RCFile'
Failed to find 'emulation'
TConfig: Looking for: 'emulation' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'emulation' in 'Default'
Returning 'emulation'
TConfig: got: 'xterm' from a 'Default'
TConfig: Looking for: 'word_chars' in 'RCFile'
Failed to find 'word_chars'
TConfig: Looking for: 'word_chars' in 'GConf'
VSGConf: preparing: /apps/gnome-
GConf: picked function: get_str
TConfig: got: '-A-Za-
TConfig: Looking for: 'mouse_autohide' in 'RCFile'
Failed to find 'mouse_autohide'
TConfig: Looking for: 'mouse_autohide' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'mouse_autohide' in 'Default'
Returning 'mouse_autohide'
TConfig: got: 'True' from a 'Default'
TConfig: Looking for: 'backspace_binding' in 'RCFile'
Failed to find 'backspace_binding'
TConfig: Looking for: 'backspace_binding' in 'GConf'
VSGConf: preparing: /apps/gnome-
GConf: picked function: get_str
TConfig: got: 'ascii-del' from a 'GConf'
TConfig: Looking for: 'delete_binding' in 'RCFile'
Failed to find 'delete_binding'
TConfig: Looking for: 'delete_binding' in 'GConf'
VSGConf: preparing: /apps/gnome-
...
Chris Jones (cmsj) wrote : | #12 |
Thanks Shang. I've pushed a small change to trunk which may help here, but ultimately I think it would be really helpful if you could run terminator in gdb and when it segfaults, get a backtrace.
Shang Wu (shangwu) wrote : | #13 |
- gdb-terminator.txt Edit (16.5 KiB, text/plain)
This is the backtrace for the old program, will try the new trunk later.
Shang Wu (shangwu) wrote : | #14 |
- gdb-terminator2.txt Edit (25.3 KiB, text/plain)
And the latest trunk failed as well, attach with the backtrace file.
Wayne (wlee618) wrote : Re: [Bug 227263] Re: window closed when try to 'split' | #15 |
hi guys,
do i need to do anything with this?
thanks
On Thu, May 29, 2008 at 8:15 PM, Chris Jones <email address hidden>
wrote:
> Thanks Shang. I've pushed a small change to trunk which may help here,
> but ultimately I think it would be really helpful if you could run
> terminator in gdb and when it segfaults, get a backtrace.
>
> --
> window closed when try to 'split'
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
-------
Wayne from Gmail
Chris Jones (cmsj) wrote : | #16 |
Hi
Wayne wrote:
> do i need to do anything with this?
Not at the moment thanks, we're trying to get out some useful debugging
information.
Cheers,
--
Chris Jones
Changed in terminator: | |
importance: | Undecided → Critical |
milestone: | none → 0.9 |
Chris Jones (cmsj) wrote : | #17 |
Shang: I'm not entirely sure it will help very much in the short term, but it would be useful if we could get a backtrace with enough -dbg packages to resolve all the library symbols
Shang Wu (shangwu) wrote : | #18 |
- valgrind.log Edit (594.3 KiB, text/plain)
Chris,
I used the valgrind to generated the debug information against the latest trunk, I hope it has enough information to troubleshoot the issue.
Shang Wu (shangwu) wrote : | #19 |
- strace-terminator.log Edit (2.2 MiB, text/html)
Also, here is the strace file, if it helps any. Please let me know if anything else would help.
Shang Wu (shangwu) wrote : | #20 |
Chris Jones (cmsj) wrote : | #21 |
Thanks Shang. I have added some more debugging to trunk to try and figure out exactly what is triggering this - could you grab the latest trunk and test again? (either just the output of Terminator or another strace is fine)
Shang Wu (shangwu) wrote : | #22 |
Hi Chris,
I have tested with the latest trunk, here is the output:
Using Linux pid_get_cwd
VSGConf: Found profile 'Default' in profile_list
VSConf: setting callback to: <bound method Terminator.
Terminator__init__: comparing None and Default
TConfig: Looking for: 'f11_modifier' in 'RCFile'
Failed to find 'f11_modifier'
TConfig: Looking for: 'f11_modifier' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'f11_modifier' in 'Default'
Returning 'f11_modifier'
TConfig: got: 'False' from a 'Default'
TConfig: Looking for: 'handle_size' in 'RCFile'
Failed to find 'handle_size'
TConfig: Looking for: 'handle_size' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'handle_size' in 'Default'
Returning 'handle_size'
TConfig: got: '-1' from a 'Default'
TConfig: Looking for: 'fullscreen' in 'RCFile'
Failed to find 'fullscreen'
TConfig: Looking for: 'fullscreen' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'fullscreen' in 'Default'
Returning 'fullscreen'
TConfig: got: 'False' from a 'Default'
TConfig: Looking for: 'maximise' in 'RCFile'
Failed to find 'maximise'
TConfig: Looking for: 'maximise' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'maximise' in 'Default'
Returning 'maximise'
TConfig: got: 'False' from a 'Default'
TConfig: Looking for: 'borderless' in 'RCFile'
Failed to find 'borderless'
TConfig: Looking for: 'borderless' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'borderless' in 'Default'
Returning 'borderless'
TConfig: got: 'False' from a 'Default'
TConfig: Looking for: 'scrollbar_
Failed to find 'scrollbar_
TConfig: Looking for: 'scrollbar_
VSGConf: preparing: /apps/gnome-
GConf: picked function: get_str
TConfig: got: 'right' from a 'GConf'
TConfig: Looking for: 'emulation' in 'RCFile'
Failed to find 'emulation'
TConfig: Looking for: 'emulation' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'emulation' in 'Default'
Returning 'emulation'
TConfig: got: 'xterm' from a 'Default'
TConfig: Looking for: 'word_chars' in 'RCFile'
Failed to find 'word_chars'
TConfig: Looking for: 'word_chars' in 'GConf'
VSGConf: preparing: /apps/gnome-
GConf: picked function: get_str
TConfig: got: '-A-Za-
TConfig: Looking for: 'mouse_autohide' in 'RCFile'
Failed to find 'mouse_autohide'
TConfig: Looking for: 'mouse_autohide' in 'GConf'
VSGConf: preparing: /apps/gnome-
TConfig: Looking for: 'mouse_autohide' in 'Default'
Returning 'mouse_autohide'
TConfig: got: 'True' from a 'Default'
TConfig: Looking for: 'backspace_binding' in 'RCFile'
Failed to find 'backspace_binding'
TConfig: Looking for: 'backspace_binding' in 'GConf'
VSGConf: preparing: /apps/gnome-
Shang Wu (shangwu) wrote : | #23 |
Shang Wu (shangwu) wrote : | #24 |
Changed in terminator: | |
status: | Incomplete → Confirmed |
Shang Wu (shangwu) wrote : | #25 |
Chris Jones (cmsj) wrote : | #26 |
Thanks very much Shang. We now have enough debugging to know exactly which pygtk call is causing the segfault. It's in TerminatorTerm.
widget.
chantra (chantra) wrote : Re: [Bug 227263] Re: segfault when splitting window | #27 |
- unnamed Edit (1.0 KiB, text/html; charset=utf-8)
- debuntubanner-small.png Edit (7.5 KiB, image/png; name=debuntubanner-small.png)
Hi shang,
I slightly modified this bit of code, can you try out the latest trunk.
Does it fixes your issue?
cheers
On Fri, 2008-06-13 at 10:56 +0000, Chris Jones wrote:
> Thanks very much Shang. We now have enough debugging to know exactly
> which pygtk call is causing the segfault. It's in TerminatorTerm.
> near the beginning:
>
> widget.reparent (pane)
>
Debuntu deb's repository
Shang Wu (shangwu) wrote : | #28 |
Chris Jones (cmsj) wrote : | #29 |
Shang, I just pushed the debugging back in, could you pull and try again. I want to be sure it's dying in the same place.
Shang Wu (shangwu) wrote : | #30 |
chantra (chantra) wrote : | #31 |
- gtk remove Edit (583 bytes, text/x-python)
Shang, can you try the following script.
Click on the button
does it segfault?
cheers
chantra (chantra) wrote : | #32 |
shang,
I also found that: http://
It is all, but I wonder if this could be related.
Could you also check that python code: http://
does it segfault? it did not on my lappy
cheers
chantra (chantra) wrote : | #33 |
- unnamed Edit (803 bytes, text/html; charset=utf-8)
- debuntubanner-small.png Edit (7.5 KiB, image/png; name=debuntubanner-small.png)
Shang,
yet again, what does happen if you first open a new tab (ctrl-shift-t)
and then split?
does it fail when opening a new tab, or when splitting? or not at all :)
cheers
Debuntu deb's repository
Chris Jones (cmsj) wrote : | #34 |
I'm going to mark this bug as Invalid for terminator because I think it's a bug in vte. Even if we are doing something wrong, this shouldn't segfault in a C library. Added vte as an affected distribution package
Changed in terminator: | |
status: | Confirmed → Invalid |
importance: | Critical → Undecided |
Wayne (wlee618) wrote : | #35 |
So u r saying all users with ubuntu 8.04
Has this problem?
Sent from my cell phone
I'm going to mark this bug as Invalid for terminator because I think
it's a bug in vte. Even if we are doing something wrong, this shouldn't
segfault in a C library. Added vte as an affected distribution package
** Also affects: vte (Ubuntu)
Importance: Undecided
Status: New
** Changed in: terminator
Status: Confirmed => Invalid
** Changed in: terminator
Importance: Critical => Undecided
--
segfault when splitting window
https:/
You received this bug notification because you are a direct subscriber
of the bug.
Chris Jones (cmsj) wrote : | #36 |
Wayne: No, this isn't affecting all Ubuntu 8.04 users - I run Terminator on two 8.04 machines. one was a fresh install, one was an upgrade. Shang is able to reproduce it on 8.04 machines, but I can't, so there is some deeper mystery here, but I'm pretty sure it's not Terminator's fault, and unfortunately I don't think we can work around it from Terminator.
Wayne (wlee618) wrote : | #37 |
is there any work around? you are not telling me to 'too bad, you are
screwed' are you?
thanks
On Tue, Jun 17, 2008 at 5:17 AM, Chris Jones <email address hidden>
wrote:
> Wayne: No, this isn't affecting all Ubuntu 8.04 users - I run Terminator
> on two 8.04 machines. one was a fresh install, one was an upgrade. Shang
> is able to reproduce it on 8.04 machines, but I can't, so there is some
> deeper mystery here, but I'm pretty sure it's not Terminator's fault,
> and unfortunately I don't think we can work around it from Terminator.
>
> --
> segfault when splitting window
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
-------
Wayne from Gmail
Chris Jones (cmsj) wrote : | #38 |
Wayne: we tried a workaround, but it didn't make any difference, we seem to be hitting a lower level bug, so for the moment I'm afraid there's not very much we can do. I'm trying to get hold of the relevant people in the GNOME project to figure out what's going on because this is possibly fixed upstream already. I'm very sorry and I do feel bad about not being able to fix this bug. It's especially frustrating that I can't even reproduce it.
Chris Jones (cmsj) wrote : | #39 |
I decided that while the bug isn't ours, I'm still going to leave this as a Confirmed, Critical bug for us, at least partly so it stays on my radar.
Changed in terminator: | |
importance: | Undecided → Critical |
status: | Invalid → Confirmed |
Wayne (wlee618) wrote : | #40 |
thank you! there was a reason i like open source software.. :)
On Wed, Jun 18, 2008 at 5:27 AM, Chris Jones <email address hidden>
wrote:
> I decided that while the bug isn't ours, I'm still going to leave this
> as a Confirmed, Critical bug for us, at least partly so it stays on my
> radar.
>
> ** Changed in: terminator
> Importance: Undecided => Critical
> Status: Invalid => Confirmed
>
> --
> segfault when splitting window
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
-------
Wayne from Gmail
Changed in terminator: | |
milestone: | 0.9 → none |
Pedro Villavicencio (pedro) wrote : | #41 |
It would be good if someone having the issue could send this to the upstream maintainers at bugzilla.gnome.org for forwarding intructions please have a look to https:/
Changed in vte: | |
assignee: | nobody → desktop-bugs |
importance: | Undecided → Medium |
Chris Jones (cmsj) wrote : | #42 |
Is anyone still able to reproduce this? Shang has indicated that after upgrading to Intrepid (and thus terminator 0.11) he is able to split the window now.
Changed in terminator: | |
status: | Confirmed → Incomplete |
Chris Jones (cmsj) wrote : | #43 |
On further investigation with Shang it seems to relate to combinations of encoding and titlebar setting.
Shang: could you elaborate on exactly which combinations do and do not crash, please?
Shang Wu (shangwu) wrote : | #44 |
In 8.10, I was able to reproduce the issue by:
1. Open the terminal
2. Check if the Show title is enabled by right click on the window. If it is, right click to open a split window.
3. Disable show title on both window, and close the window.
4. And when I try to run terminal again, try the split window, I get the segmentation fault.
It seems it require to have the show title set, in order to split the window.
Chris Jones (cmsj) wrote : | #45 |
- Exploratory patch to see if delaying vte creation/configuration until gtk events are completed, works Edit (1.5 KiB, text/plain)
I have a theory which might help with this. Would you be able to grab the latest trunk (bzr branch lp:terminator) and apply the attached patch please?
Shang Wu (shangwu) wrote : | #46 |
Hi Chris,
Sorry for the delay, however, since I upgraded to 9.04, the issue doesn't seem to occured anymore...
Thanks for your help,
Chris Jones (cmsj) wrote : | #47 |
I'm going to mark this bug Invalid. Someone please re-open it if you can still reproduce this.
Changed in terminator: | |
status: | Incomplete → Invalid |
Changed in vte (Ubuntu): | |
status: | New → Invalid |
Hi Wayne,
Thanks for reporting this bug.
Can you start terminator from the command line and send us the output that is generated when splitting the terminal.
Also, what version of terminator are you running and on what distribution.
cheers