1. 23 Dec, 2009 1 commit
    • Martin Pitt's avatar
      Support storing assertion messages into core dump · da668979
      Martin Pitt authored
      Crash interception/debugging systems like Apport or ABRT capture core dumps for
      later crash analysis. However, if a program exits with an assertion failure,
      the core dump is not useful since the assertion message is only printed to
      stderr.
      
      glibc recently got a patch which stores the message of assert() into the
      __abort_msg global variable.
      (http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=48dcd0ba)
      That works fine for programs which actually use the standard C assert() macro.
      
      This patch adds the same functionality for glib's assertion tests. If we are
      building against a glibc which already has __abort_msg (2.11 and later, or
      backported above git commit), use that, otherwise put it into our own field
      __glib_assert_msg.
      
      Usage:
      
        $ cat test.c
        #include <glib.h>
      
        int main() {
            g_assert(1 < 0);
            return 0;
        }
      
        $ ./test
        **ERROR:test.c:5:main: assertion failed: (1 < 0)
        Aborted (Core dumped)
      
        $ gdb --batch --ex 'print (char*) __abort_msg' ./test core
        [...]
        $1 = 0x93bf028 "ERROR:test.c:5:main: assertion failed: (1 < 0)"
      
      https://bugzilla.gnome.org/show_bug.cgi?id=594872
      da668979
  2. 22 Dec, 2009 1 commit
  3. 21 Dec, 2009 10 commits
  4. 20 Dec, 2009 1 commit
  5. 19 Dec, 2009 3 commits
  6. 18 Dec, 2009 3 commits
  7. 16 Dec, 2009 1 commit
  8. 14 Dec, 2009 2 commits
  9. 08 Dec, 2009 1 commit
  10. 07 Dec, 2009 1 commit
    • Alexander Larsson's avatar
      Remove default implementation of async filter steam ops · 4fbbe190
      Alexander Larsson authored
      Not only is the default implementation broken (it causes infinite recursion
      as seen in bug #603982), but its also worthless. If we just fall back on the
      default stream operations we automatically get async version based on
      the sync filter stream operations, which is what we want.
      4fbbe190
  11. 06 Dec, 2009 3 commits
  12. 04 Dec, 2009 1 commit
  13. 02 Dec, 2009 1 commit
  14. 01 Dec, 2009 4 commits
  15. 30 Nov, 2009 7 commits