Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Seg fault on startup #2165

Open
hari-rangarajan opened this issue May 3, 2018 · 10 comments
Open

Seg fault on startup #2165

hari-rangarajan opened this issue May 3, 2018 · 10 comments

Comments

@hari-rangarajan
Copy link

hari-rangarajan commented May 3, 2018

New to oni. It was working fine for a little bit. It now refuses to start. Can provide more info. Thanks!

dmesg

[27731.459328] oni[22285]: segfault at ffffffffffffef8b ip 00000000020ff5fb sp 00007ffd3bbe34a0 error 5 in oni[400000+466d000]
[27745.502674] oni[22350]: segfault at ffffffffffffef8b ip 00000000020ff5fb sp 00007ffd9757f3b0 error 5 in oni[400000+466d000]
[27757.149658] oni[22385]: segfault at ffffffffffffef8b ip 00000000020ff5fb sp 00007fff53707600 error 5 in oni[400000+466d000]
[27762.932895] oni[22401]: segfault at ffffffffffffef8b ip 00000000020ff5fb sp 00007ffe657057a0 error 5 in oni[400000+466d000]
[27766.104766] oni[22411]: segfault at ffffffffffffef8b ip 00000000020ff5fb sp 00007fffe5992840 error 5 in oni[400000+466d000]
[27883.017726] oni[23169]: segfault at ffffffffffffef8b ip 00000000020ff5fb sp 00007ffe57a7f5d0 error 5 in oni[400000+466d000]
[27886.320953] oni[23179]: segfault at ffffffffffffef8b ip 00000000020ff5fb sp 00007ffde0670970 error 5 in oni[400000+466d000]
[29470.874504] oni[26639]: segfault at ffffffffffffef8b ip 00000000020ff5fb sp 00007ffd5712b2f0 error 5 in oni[400000+466d000]

(gdb) r
Starting program: /usr/local/bin/oni
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe8c85700 (LWP 27122)]

Thread 1 "oni" received signal SIGSEGV, Segmentation fault.
0x00000000020ff5fb in ?? ()
(gdb) where
#0 0x00000000020ff5fb in ?? ()
#1 0x0000000003923582 in ?? ()
#2 0x0000000002152385 in calloc ()
#3 0x00007ffff23865d1 in g_malloc0 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007ffff4da64c9 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5 0x00007ffff4dab855 in g_type_register_static () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff4dabaf5 in g_type_register_static_simple () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff5f3df24 in gdk_display_manager_get_type () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#8 0x00007ffff5f3df69 in gdk_display_manager_get () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#9 0x00007ffff631a954 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#10 0x00007ffff6300fcb in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x00007ffff238cfdf in g_option_context_parse () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff6301538 in gtk_parse_args () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007ffff63015b9 in gtk_init () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x0000000000fbd996 in ?? ()
#15 0x0000000000fb2608 in ?? ()
#16 0x0000000000fb4906 in ?? ()
#17 0x000000000384d0bb in brightray::BrowserMainParts::PreEarlyInitialization() ()
#18 0x000000000370e649 in atom::AtomBrowserMainParts::PreEarlyInitialization() ()
#19 0x00000000014334da in ?? ()
#20 0x00000000012852dd in ?? ()
#21 0x00000000011b4c5d in ?? ()
#22 0x0000000000fc1e02 in ?? ()
#23 0x0000000002653e05 in ?? ()
#24 0x0000000000fc0e02 in ?? ()
#25 0x0000000003706608 in main ()

@oni-bot
Copy link

oni-bot bot commented May 3, 2018

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

@CrossR
Copy link
Member

CrossR commented May 19, 2018

Sorry for the late reply! Missed this somehow.

What OS was this on?

@hari-rangarajan
Copy link
Author

hari-rangarajan commented May 20, 2018 via email

@tcoopman
Copy link

tcoopman commented Aug 9, 2018

I also have this issue on archlinux:

[46295.905943] oni[7657]: segfault at a4fa30 ip 0000000000a4fa30 sp 00007ffdcf8664d8 error 15 in oni[200000+1602000]
[46302.008720] oni[7938]: segfault at a4fa30 ip 0000000000a4fa30 sp 00007ffdf7240128 error 15 in oni[200000+1602000]
[46308.698369] oni[8156]: segfault at a4fa30 ip 0000000000a4fa30 sp 00007ffde6913ba8 error 15 in oni[200000+1602000]
[46363.695827] oni[8738]: segfault at a4fa30 ip 0000000000a4fa30 sp 00007ffd707f88d8 error 15 in oni[200000+1602000]

@CrossR
Copy link
Member

CrossR commented Aug 9, 2018

@tcoopman could yours be related to #2497? That seems to be an arch issue.

@tcoopman
Copy link

tcoopman commented Aug 9, 2018

Looks like it, thanks!

@danielpza
Copy link

I'm having an issue in ubuntu 18.10

$ oni
Segmentation fault (core dumped)

@hasseio
Copy link

hasseio commented Dec 3, 2018

Segmentation fault in 18.10

dmesg

[ 4482.166599] oni[10266]: segfault at a4fa30 ip 0000000000a4fa30 sp 00007ffed884a948 error 15 in oni[200000+1602000]
[ 4482.166604] Code: da 9d ef 9d e6 9d f2 9d f8 9d 0c 9e fa 9d 1b 9e 64 76 58 76 67 76 02 76 46 76 47 76 49 76 1e 76 3b 76 6d 76 6e 76 69 76 72 76 <c7> 7a b6 7a 60 89 33 89 5d 89 47 89 38 89 64 89 b8 76 2e 80 2c 80

gdb

Starting program: /usr/local/bin/oni 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000000000a4fa30 in ?? ()

Edit: installed 0.3.7 beta 3 and there are no issues. I think this issue can be closed.

@Enqueued
Copy link

Enqueued commented Dec 3, 2018

Having the same issue in Fedora 29:

GDB:
Program received signal SIGSEGV, Segmentation fault. 0x0000000000a4fa30 in ?? ()

@heralden
Copy link

Seems like this was fixed in 0.3.7 beta2 (#2642), as the beta3 or https://github.com/onivim/oni/releases/tag/v0.3.8 works fine for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants