[Geany-Users] Segfault

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Geany-Users] Segfault

Chris Spencer
Every time I try and launch a new instance of Geany, it immediately returns a segmentation fault.

    $ geany -i
    Segmentation fault (core dumped)

I've tried with and without a *.geany file, and the result is the same. How do I diagnose this?

_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Frank Lanitz
On 10.05.2017 20:36, Chris Spencer wrote:
> Every time I try and launch a new instance of Geany, it immediately
> returns a segmentation fault.
>
>     $ geany -i
>     Segmentation fault (core dumped)
>
> I've tried with and without a *.geany file, and the result is the same.
> How do I diagnose this?

Can you please provide a backtrace as well as exact version of Geany?

Cheers,
Frank



_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Chris Spencer
How do I get a backtrace? Googling it, I found this page (https://wiki.ubuntu.com/Backtrace), suggesting I should be able to run:

    gdb geany -i project.geany 2>&1 | tee ~/gdb-geany.txt

but this gives me the error:

    Interpreter `project.geany' unrecognized

However, my version of Geany is:

    geany 1.27 (built on 2016-04-17 with GTK 2.24.30, GLib 2.48.0)

from the standard package in the Ubuntu 16.04 repo.

On Wed, May 10, 2017 at 2:43 PM, Frank Lanitz <[hidden email]> wrote:
On 10.05.2017 20:36, Chris Spencer wrote:
> Every time I try and launch a new instance of Geany, it immediately
> returns a segmentation fault.
>
>     $ geany -i
>     Segmentation fault (core dumped)
>
> I've tried with and without a *.geany file, and the result is the same.
> How do I diagnose this?

Can you please provide a backtrace as well as exact version of Geany?

Cheers,
Frank



_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Mike Miller
Might be a broken plug-in.  Might try deactivating them in the config file, then
enabling one at a time.

Also, there's a PPA which could get you to newer version and plugins.


On 2017-05-10 11:56, Chris Spencer wrote:
_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Frank Lanitz
In reply to this post by Chris Spencer
On 10.05.2017 20:56, Chris Spencer wrote:
> How do I get a backtrace? Googling it, I found this page
> (https://wiki.ubuntu.com/Backtrace), suggesting I should be able to run:
>
>     gdb geany -i project.geany 2>&1 | tee ~/gdb-geany.txt
>
> but this gives me the error:
>
>     Interpreter `project.geany' unrecognized

Run

gdb geany

and than inside gdb:
run -i project.geany

once geany crashed you can show the backtrace via bt

> However, my version of Geany is:
>
>     geany 1.27 (built on 2016-04-17 with GTK 2.24.30, GLib 2.48.0)
>
> from the standard package in the Ubuntu 16.04 repo.

It's a quiet old version.


Cheers,
Frank



_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Chris Spencer
Ok, that worked. Here's the output from GDB:

    GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
    Copyright (C) 2016 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:
    <http://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from geany...(no debugging symbols found)...done.
    (gdb) run -i project.geany
    Starting program: /usr/bin/geany -i project.geany
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0x7fffed1a9700 (LWP 6825)]
    [New Thread 0x7fffec9a8700 (LWP 6826)]
    [New Thread 0x7fffe7fff700 (LWP 6827)]
    [New Thread 0x7fffe77fe700 (LWP 6828)]
    [Thread 0x7fffe7fff700 (LWP 6827) exited]

    Thread 1 "geany" received signal SIGSEGV, Segmentation fault.
    0x00007fffe545c801 in PyModule_AddObject () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0


On Wed, May 10, 2017 at 4:03 PM, Frank Lanitz <[hidden email]> wrote:
On 10.05.2017 20:56, Chris Spencer wrote:
> How do I get a backtrace? Googling it, I found this page
> (https://wiki.ubuntu.com/Backtrace), suggesting I should be able to run:
>
>     gdb geany -i project.geany 2>&1 | tee ~/gdb-geany.txt
>
> but this gives me the error:
>
>     Interpreter `project.geany' unrecognized

Run

gdb geany

and than inside gdb:
run -i project.geany

once geany crashed you can show the backtrace via bt

> However, my version of Geany is:
>
>     geany 1.27 (built on 2016-04-17 with GTK 2.24.30, GLib 2.48.0)
>
> from the standard package in the Ubuntu 16.04 repo.

It's a quiet old version.


Cheers,
Frank



_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Chris Spencer
In reply to this post by Mike Miller

On Wed, May 10, 2017 at 3:57 PM, Mike Miller <[hidden email]> wrote:
Might be a broken plug-in.  Might try deactivating them in the config file, then enabling one at a time.

Also, there's a PPA which could get you to newer version and plugins.



On 2017-05-10 11:56, Chris Spencer wrote:
_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Frank Lanitz
In reply to this post by Chris Spencer
On 10.05.2017 22:13, Chris Spencer wrote:

> Ok, that worked. Here's the output from GDB:
>
>     GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
>     Copyright (C) 2016 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:
>     <http://www.gnu.org/software/gdb/bugs/>.
>     Find the GDB manual and other documentation resources online at:
>     <http://www.gnu.org/software/gdb/documentation/>.
>     For help, type "help".
>     Type "apropos word" to search for commands related to "word"...
>     Reading symbols from geany...(no debugging symbols found)...done.
>     (gdb) run -i project.geany
>     Starting program: /usr/bin/geany -i project.geany
>     [Thread debugging using libthread_db enabled]
>     Using host libthread_db library
> "/lib/x86_64-linux-gnu/libthread_db.so.1".
>     [New Thread 0x7fffed1a9700 (LWP 6825)]
>     [New Thread 0x7fffec9a8700 (LWP 6826)]
>     [New Thread 0x7fffe7fff700 (LWP 6827)]
>     [New Thread 0x7fffe77fe700 (LWP 6828)]
>     [Thread 0x7fffe7fff700 (LWP 6827) exited]
>
>     Thread 1 "geany" received signal SIGSEGV, Segmentation fault.
>     0x00007fffe545c801 in PyModule_AddObject () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
What does bt say?





_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Mike Miller
In reply to this post by Chris Spencer
https://launchpad.net/~geany-dev/+archive/ubuntu/ppa

I think that's the main one.



On 2017-05-10 13:15, Chris Spencer wrote:

> Which PPA do you recommend? Is it the one described here?
> https://askubuntu.com/questions/88327/how-do-i-keep-geanys-versions-updated-after-installing-it-in-my-system
>
> On Wed, May 10, 2017 at 3:57 PM, Mike Miller <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Might be a broken plug-in.  Might try deactivating them in the config file,
>     then enabling one at a time.
>
>     Also, there's a PPA which could get you to newer version and plugins.
_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Mike Miller
In reply to this post by Frank Lanitz
That's the Python C API.  Try deactivating the python scripting plugin.
_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Chris Spencer
Upgrading to the PPA version seems to have fixed the problem. Thanks.

On Wed, May 10, 2017 at 4:22 PM, Mike Miller <[hidden email]> wrote:
That's the Python C API.  Try deactivating the python scripting plugin.

_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Lex Trotman
In reply to this post by Frank Lanitz
On 11 May 2017 at 04:43, Frank Lanitz <[hidden email]> wrote:

> On 10.05.2017 20:36, Chris Spencer wrote:
>> Every time I try and launch a new instance of Geany, it immediately
>> returns a segmentation fault.
>>
>>     $ geany -i
>>     Segmentation fault (core dumped)
>>
>> I've tried with and without a *.geany file, and the result is the same.
>> How do I diagnose this?
>
> Can you please provide a backtrace as well as exact version of Geany?  And the operating system you are using.
>
> Cheers,
> Frank
>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geany-Users] Segfault

Lex Trotman
On 11 May 2017 at 09:22, Lex Trotman <[hidden email]> wrote:

> On 11 May 2017 at 04:43, Frank Lanitz <[hidden email]> wrote:
>> On 10.05.2017 20:36, Chris Spencer wrote:
>>> Every time I try and launch a new instance of Geany, it immediately
>>> returns a segmentation fault.
>>>
>>>     $ geany -i
>>>     Segmentation fault (core dumped)
>>>
>>> I've tried with and without a *.geany file, and the result is the same.
>>> How do I diagnose this?
>>
>> Can you please provide a backtrace as well as exact version of Geany?  And the operating system you are using.

Never mind I see you fixed it (for some reason the mail thread broke
after the first post).

Cheers
Lex

>>
>> Cheers,
>> Frank
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>>
_______________________________________________
Users mailing list
[hidden email]
https://lists.geany.org/cgi-bin/mailman/listinfo/users
Loading...