[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfault: latest Path and Utilities issues
From: |
David Chisnall |
Subject: |
Re: Segfault: latest Path and Utilities issues |
Date: |
Mon, 15 Feb 2016 11:04:57 +0000 |
When I’ve seen crashes like this, they have been caused by one of two things:
1) Stack corruption from something earlier.
2) Linking two versions of the same shared library with the same executable.
David
> On 15 Feb 2016, at 10:58, Riccardo Mottola <address@hidden> wrote:
>
> Hi,
>
> right now all GS applications crash for me on startup:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to LWP 1]
> 0xbb396986 in NSUserName () at NSPathUtilities.m:1638
> 1638 {
> (gdb) bt
> #0 0xbb396986 in NSUserName () at NSPathUtilities.m:1638
> #1 0xbb428e87 in -[NSUserDefaults init] (self=0xb8ab5090,
> _cmd=0xbb6700b8 <_OBJC_SELECTOR_TABLE+472>) at NSUserDefaults.m:1179
> #2 0xbb4298a4 in +[NSUserDefaults standardUserDefaults] (
> self=0xbb670380 <_OBJC_Class_NSUserDefaults>,
> _cmd=0xbb670098 <_OBJC_SELECTOR_TABLE+440>) at NSUserDefaults.m:847
> #3 0xbb42bb8e in GSPrivateDefaultsFlag (address@hidden)
> at NSUserDefaults.m:2208
> #4 0xbb378a1e in _NSLog_standard_printf_handler (
> message=0xbb64b060 <_OBJC_INSTANCE_1>) at NSLog.m:184
> #5 0xbb3b928a in +[NSProcessInfo processInfo] (
> self=0xbb64ac80 <_OBJC_Class_NSProcessInfo>,
> _cmd=0xbb642770 <_OBJC_SELECTOR_TABLE+400>) at NSProcessInfo.m:1015
> #6 0xbb396d3d in InitialisePathUtilities () at NSPathUtilities.m:1154
> #7 0xbb39e5fb in GSDefaultsRootForUser (address@hidden)
> at NSPathUtilities.m:1883
> #8 0xbb429374 in -[NSUserDefaults initWithUser:] (address@hidden,
> address@hidden <_OBJC_SELECTOR_TABLE+680>, userName=0xb8a03870)
> at NSUserDefaults.m:1264
> #9 0xbb428e94 in -[NSUserDefaults init] (self=0xb8ab5050,
> _cmd=0xbb6700b8 <_OBJC_SELECTOR_TABLE+472>) at NSUserDefaults.m:1179
> #10 0xbb4298a4 in +[NSUserDefaults standardUserDefaults] (
> self=0xbb670380 <_OBJC_Class_NSUserDefaults>,
>
> That the crash happens on a curly brace is a mystery... I can only suppose
> that I don't get back a valid NSUsername() anymore.
>
> Richard, does everything work for you? Did you try any GUI app?
> This is with NetBSD/x86/gcc here.
>
> Riccardo
>
>
>
>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
- Segfault: latest Path and Utilities issues, Riccardo Mottola, 2016/02/15
- Re: Segfault: latest Path and Utilities issues,
David Chisnall <=
- Re: Segfault: latest Path and Utilities issues, Richard Frith-Macdonald, 2016/02/15
- Re: Segfault: latest Path and Utilities issues, Richard Frith-Macdonald, 2016/02/15
- Re: Segfault: latest Path and Utilities issues, Riccardo Mottola, 2016/02/15
- Re: Segfault: latest Path and Utilities issues, Riccardo Mottola, 2016/02/16
- Re: Segfault: latest Path and Utilities issues, Richard Frith-Macdonald, 2016/02/16
- Re: Segfault: latest Path and Utilities issues, Richard Frith-Macdonald, 2016/02/16
- Re: Segfault: latest Path and Utilities issues, Riccardo Mottola, 2016/02/16
- Re: Segfault: latest Path and Utilities issues, Sebastian Reitenbach, 2016/02/18