Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread elextr
Closed #2736.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#event-4258379753

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread elextr
> Geany opens fine, and is not segfaulting,

Good, that means there is something in the setup or settings that is weird, but 
it nonetheless should not cause a segfault.

> Now it is not segfaulting anymore even with the regular config.

Thats weird, and bad because that means we can't track down what weirdness is 
causing the segfaulting and protect against it.

If it happens again can you try running Geany under gdb and get a backtrace 
showing where it segfaults and re-open this and post here?

The behaviour you describe with only one new document open is the intended 
behaviour.  There is an option to always open a new document when the last is 
closed because someone didn't like having an empty space where the editor tabs 
go, but since it was just a space filler they deleted it when the user opened 
or created a document, but they did that always.  So when you create a new 
document and there is only one existing document and it has no backing file and 
is unmodified it is deleted and you see that message in the status.  

A side effect of this is that unless you have more than one document open or 
one file backed or modified document open you can't open multiple empty 
documents.  Although there have been various discussions about this over the 
years nobody has found the use-case of opening _only_ multiple empty documents 
sufficiently important to make the code to change it.   For example add a flag 
to the "fake" document and only delete the single document it if its flagged as 
well as being unmodified and not file backed, so not deleting user created 
empty documents.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768639702

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread gsi-nestor
Now it is not segfaulting anymore even with the regular config. Maybe we should 
close this here and move forward with this last behavior.

Thank you very much for your time

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768303938

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread gsi-nestor
The problem changes a little bit. Geany opens fine, and is not segfaulting,
but if I press "New document" nothing happens, but in the message console I
get:

08:50:51: This is Geany 1.37.1.
08:50:51: New file "untitled" opened.
08:50:54: File untitled closed.
08:50:54: New file "untitled" opened.
08:50:54: File untitled closed.
08:50:55: New file "untitled" opened.
08:50:55: File untitled closed.
08:50:55: New file "untitled" opened.
08:50:55: File untitled closed.
08:50:55: New file "untitled" opened.

Visually, there is only a new file tab in the editor area. Please see the
attached file.


On Tue, Jan 26, 2021 at 11:57 PM elextr  wrote:

> try starting geany as geany -c /tmp/something_that_does_not_exist and see
> if the problem persists.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> , or
> unsubscribe
> 
> .
>


-- 
*Nestor Alonso*
CTO
General Software Inc
(786) 230-8081 <+17862308081>
nes...@generalsoftwareinc.com | LinkedIn





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768299234

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread elextr
try starting geany as `geany -c /tmp/something_that_does_not_exist` and see if 
the problem persists.  

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768030488

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-27 Thread gsi-nestor
I've disabled all plugins and the problem remains.

On Tue, Jan 26, 2021 at 10:35 PM elextr  wrote:

> Note WFM on Linux Mint 20 which is derived from Ubuntu 20.04.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> , or
> unsubscribe
> 
> .
>


-- 
*Nestor Alonso*
CTO
General Software Inc
(786) 230-8081 <+17862308081>
nes...@generalsoftwareinc.com | LinkedIn





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-768022278

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-26 Thread elextr
Note WFM on Linux Mint 20 which is derived from Ubuntu 20.04.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-767998254

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-26 Thread elextr
Please verify that you have _no_ plugins enabled.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-767996949

Re: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736)

2021-01-26 Thread gsi-nestor
More on that: If I open at least one document, "New document" works as 
expected. The issue appears only when I don't have any documents open and I 
click several times on "New document."

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2736#issuecomment-767986113