Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 20:28:41 +0100
From:      "Daniel S. Haischt" <me@daniel.stefan.haischt.name>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: SIGBUS help, please
Message-ID:  <420FAA69.4010004@daniel.stefan.haischt.name>
In-Reply-To: <20050213203838.0d37b121@it.buh.tecnik93.com>
References:  <20050210225558.7a0879ec@it.buh.cameradicommercio.ro> <20050213150330.GI65523@green.homeunix.org> <20050213182616.036ba07a@it.buh.tecnik93.com> <20050213184752.611ce46c@it.buh.tecnik93.com> <20050213170437.GB63697@green.homeunix.org> <20050213202559.38e1f1af@it.buh.tecnik93.com> <20050213203838.0d37b121@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD abyssone.abyssworld.de 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Jan 
20 13:07:40 CET 2005     root@:/usr/obj/usr/src/sys/ABYSSONE  i386

root@abyssone# less /usr/src/sys/i386/conf/ABYSSONE | grep SCHED
options         SCHED_4BSD
options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time 
extensions

Ion-Mihai Tetcu schrieb:
> [ Stefan, please give me a uname -a and scheduler type. Thanks. ]
> 
> On Sun, 13 Feb 2005 20:25:59 +0200
> Ion-Mihai Tetcu <itetcu@people.tecnik93.com> wrote:
> 
> 
>>On Sun, 13 Feb 2005 12:04:37 -0500
>>Brian Fundakowski Feldman <green@freebsd.org> wrote:
>>
>>
>>>On Sun, Feb 13, 2005 at 06:47:52PM +0200, Ion-Mihai Tetcu wrote:
> 
> 
>  [ ... ]
> 
> 
>>>>In valgrind, on the other hand,  --trace-pthread=all --trace-signals=yes it dies:
>>>
>>>Have you tried helgrind?  That seems to be the one to try next.  The default
>>>stack trace size it keeps is not very large, so you may want to increase it
>>>to 100 or so before you go to debugging these.  These 4 errors probably are
>>>genuine bugs and could be the root cause of the crash that's occurring...
>>
>>On this it works
>> 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Feb 10 17:38:05 EET 2005     root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT53_U  i386
>>this kernel has ULE
>>
>>On this it crash
>> 5.3-STABLE FreeBSD 5.3-STABLE #17: Mon Jan 17 23:40:22 EET 2005     itetcu@it.buh.cameradicommercio.ro:/usr/obj/usr/src/sys/IT53_d  i386
>>this 4BSD
>>
>> WTF  ??
> 
> 
> Could this be the reason ?
> 
> :
>  jhb         2005-02-04 16:17:56 UTC
> 
>    FreeBSD src repository
> 
>    Modified files:        (Branch: RELENG_5)
> [..]
>    Log:
>    MFC Most of the various fixes and changes to libpthread from HEAD to 5.x
>    including: 
>    Pull debug symbols in for statically linked binaries.
>    gcc -O2 cleanups.
>    Don't call _thr_start_sig_daemon() when SYSTEM_SCOPE_ONLY is defined.
>    If a system scope thread didn't set a timeout, don't call the clock_gettime
>    system call before and after sleeping.
>    Add missing reference count drops to close a memory leak.
>    Save cancelflags in signal frame.
>    Use a generic way to back threads out of wait queues when handling
>    signals instead of having more intricate knowledge of thread state
>    within signal handling.
>    Simplify signal code because of above (by David Xu).
>    Use macros for libpthread usage of pthread_cleanup_push() and
>    pthread_cleanup_pop().  This removes some instances of malloc()
>    and free() from the semaphore and pthread_once() implementations.
>    When single threaded and forking(), make sure that the current
>    thread's signal mask is inherited by the forked thread.
>    Use private mutexes for libc and libpthread.  Signals are
>    deferred while threads hold private mutexes.  This fix breaks
>    an internal system ABI that old versions of the
>    www/linuxpluginwrapper port depend on.  Upgrading that port to the
>    latest version will fix that.
>    Fix race condition in condition variables where handling a
>    signal (pthread_kill() or kill()) may not see a wakeup
>    (pthread_cond_signal() or pthread_cond_broadcast()).
>    Don't panic when sigsuspend is interrupted by a cancellation.
> 
> jhb         2005-02-04 16:07:33 UTC
> 
>    FreeBSD src repository
> 
>    Modified files:        (Branch: RELENG_5)
>      lib/libpthread/thread thr_exit.c 
>    Log:
>    MFC: Check unhandled signals before thread marks itself as DEAD;
>    this reduces chances of losing a signal.
> 
> 
> 

-- 
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt

Want a complete signature??? Type at a shell prompt:
$ > finger -l haischt@daniel.stefan.haischt.name



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?420FAA69.4010004>