Tim Pepper [Tue, 11 Sep 2012 01:02:35 +0000 (18:02 -0700)]
Remove two old meego-isms
The /etc/os-release file is now standard and we have our own default server
for now and it isn't the meego one.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Tim Pepper [Tue, 11 Sep 2012 00:56:00 +0000 (17:56 -0700)]
Search for core_* instead of core.*
This is pretty arbitrary, but that happens to be what's checked into
nitra's config files currently. Eventually we'll be called dynamically
by systemd probably when it receives things regarding which we've asked
to be notified.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Tim Pepper [Tue, 11 Sep 2012 00:47:28 +0000 (17:47 -0700)]
Fix autotools paths
I don't fully understand how/where autotools gets its default values, but
these don't seem to be set correctly if I don't explicitly set them.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Tim Pepper [Mon, 10 Sep 2012 23:17:19 +0000 (16:17 -0700)]
A little more cleaning pre-production
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Tim Pepper [Mon, 10 Sep 2012 23:15:17 +0000 (16:15 -0700)]
A little more cleaning
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Tim Pepper [Thu, 6 Sep 2012 21:56:30 +0000 (14:56 -0700)]
Correct memory management around os-release/version
Valgrind reminded me I should correctly dup the substring and free the
original full string.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Tim Pepper [Thu, 6 Sep 2012 17:59:48 +0000 (10:59 -0700)]
Add an example yaml file
This is an example of a low quality (no debuginfo present) core that was
processed/submitted.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Tim Pepper [Thu, 6 Sep 2012 17:52:12 +0000 (10:52 -0700)]
Clean out meego/tizen specific things and quiet compile warnings
Updated code to match nitra needs in terms of paths, config, info sent to
server. Also removed a lot of code unused as a result of the code
updating, which was causing compile warnings due to our pedantic nitra
settings.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Tim Pepper [Mon, 27 Aug 2012 19:57:14 +0000 (12:57 -0700)]
Fix config file path
For me 'make prefix=/usr libdir=/usr/lib64 sysconfdir=/etc install' put the
configuration files in /etc/corewatcher/, but these files weren't looking
in that subdirectory.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Tim Pepper [Mon, 27 Aug 2012 19:55:41 +0000 (12:55 -0700)]
De-brand config file
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
William Douglas [Thu, 24 May 2012 21:59:39 +0000 (14:59 -0700)]
testmode wasn't getting set when it should have been, fix
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 24 May 2012 21:50:56 +0000 (14:50 -0700)]
remove incorrect comments
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 24 May 2012 21:50:23 +0000 (14:50 -0700)]
Remove useless check.
Since the crash submission/opt in was removed this check was changed
to only testmode, making test mode useless. Since we always send we
need to modify what testmode does now.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 24 May 2012 21:46:18 +0000 (14:46 -0700)]
add short option check for test mode
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 24 May 2012 21:40:10 +0000 (14:40 -0700)]
fix compiler failure do to taking out crash submission code
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 24 May 2012 21:31:35 +0000 (14:31 -0700)]
add test that generates a core for corewatcher
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 24 May 2012 21:25:15 +0000 (14:25 -0700)]
Remove options to not submit crash info
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 21 May 2012 22:32:27 +0000 (15:32 -0700)]
Use CFLAGS for the configuration file as well
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 21 May 2012 22:15:04 +0000 (15:15 -0700)]
update gitignore for autoconf
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 21 May 2012 22:12:25 +0000 (15:12 -0700)]
Remove opt out check.
Always submit so remove check for opt out. Still need to remove the
configuration bits for this.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 21 May 2012 22:02:42 +0000 (15:02 -0700)]
Update CFLAGS from old Makefile
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 21 May 2012 21:32:32 +0000 (14:32 -0700)]
Remove dbus interface to UI
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 21 May 2012 17:58:32 +0000 (10:58 -0700)]
Add check for malloc failing
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 21 May 2012 17:57:37 +0000 (10:57 -0700)]
Fix double free possibility
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 4 Aug 2011 17:06:17 +0000 (10:06 -0700)]
Update ioprio defines
We don't use RT priority so remove that. Also 7 seemed like a
magic number so try and explain it and reference the kernel
docs where everything came from.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Wed, 3 Aug 2011 23:48:43 +0000 (16:48 -0700)]
Take out Debian Etch work around.
Etch is old, move on.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Wed, 3 Aug 2011 23:05:11 +0000 (16:05 -0700)]
Rename coredump scan function.
Doing this rename for clarity since scan_dmesg doesn't scan
dmesg and the kernel oops code actually does so it will take
that name.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Wed, 3 Aug 2011 21:23:38 +0000 (14:23 -0700)]
Reorganize header, move objects under the appropriate source file
Part of kernel oops integration to corewatcher.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Wed, 27 Jul 2011 00:04:42 +0000 (17:04 -0700)]
Update corewatcher to use autotools.
This involves major source restructuring and in the process
some files have been renamed as well as moved. This was
done to ease the use of autotooling the package though
it shouldn't impair clarity of purpose for the files.
At this point there are further opportunities to improve
the packaging such as introducing #defines for some
file locations in the code.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Tue, 26 Jul 2011 18:11:27 +0000 (11:11 -0700)]
Remove old define that was duplicating asm/unistd.h information.
This was for __NR_ioprio_set which is a syscall without a glibc
interface. Since the define is already done in asm/unistd.h
for our architectures we no longer need to have it in corewatcher.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Fri, 22 Jul 2011 21:22:09 +0000 (14:22 -0700)]
initial removal of corewatcher-applet
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Sat, 9 Jul 2011 00:21:06 +0000 (17:21 -0700)]
Rework corewatcher, clean valgrind warnings.
Major rework of corewatcher. Corewatcher is now multithreaded
and will spawn a thread to process each corefile and will now
send a crash notification as soon it scans the /tmp/ folder.
There should be no more than one thread running gdb at a time
so we have a global lock to prevent that.
Corewatcher was also cleaned up to have 0 valgrind errors
(that are not suppressed, we have added a valgrind suppression
file for that purpose).
From here on any changes to corewatcher which cause a valgrind
error need to be discussed before being commited and ack'd
by a maintainer (and have its error added to the suppression
file). Right now all suppressions are either glibc not doing
things that are not ansi c compliant or are in a library
corewatcher depends on (likely also running into glibc compliance
issues but I was unable to verify for all of the errors).
To test corewatcher for valgrind errors it should be run in
with no internet connection and with an internet connection
with multiple core files available to scan.
The following command should be used to test corewatcher with
valgrind (run from the source build directory):
G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind \
--partial-loads-ok=yes --read-var-info=yes --leak-check=full \
--track-origins=yes --malloc-fill=AD --free-fill=DA \
--suppressions=./corewatcher.supp --gen-suppressions=yes \
./corewatcher -d -n
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Tue, 17 May 2011 22:13:47 +0000 (15:13 -0700)]
corewatcher v0.26
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Tue, 17 May 2011 22:12:56 +0000 (15:12 -0700)]
Check getline return properly
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Wed, 4 May 2011 22:14:18 +0000 (15:14 -0700)]
corewatcher v0.25
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Wed, 4 May 2011 22:12:12 +0000 (15:12 -0700)]
clean up memory leaks
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Wed, 4 May 2011 20:12:45 +0000 (13:12 -0700)]
add meaningful package list details for files in coredump
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Thu, 28 Apr 2011 22:33:11 +0000 (15:33 -0700)]
corewatcher v0.24
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Thu, 28 Apr 2011 21:43:33 +0000 (14:43 -0700)]
skip over crashes that could cause looping
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Thu, 28 Apr 2011 21:23:53 +0000 (14:23 -0700)]
Revert "Remove rpm information gathering as we don't use it"
This reverts commit
6b98180a0081b109a973f609669256c7e2237122.
William Douglas [Wed, 27 Apr 2011 23:30:57 +0000 (16:30 -0700)]
corewatcher 0.23
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Wed, 27 Apr 2011 23:20:14 +0000 (16:20 -0700)]
Remove rpm information gathering as we don't use it
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Fri, 22 Apr 2011 22:17:42 +0000 (15:17 -0700)]
corewatcher 0.22
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Fri, 22 Apr 2011 22:15:49 +0000 (15:15 -0700)]
Change behavior to avoid rerunning gdb each time we try scan corefiles
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Thu, 21 Apr 2011 20:37:10 +0000 (13:37 -0700)]
corewatcher 0.21
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Thu, 21 Apr 2011 19:49:56 +0000 (12:49 -0700)]
fix many temporary core detail files from flooding the system
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
Chris Leech [Mon, 18 Apr 2011 22:02:27 +0000 (15:02 -0700)]
corewatcher 0.20
Chris Leech [Fri, 15 Apr 2011 23:48:07 +0000 (16:48 -0700)]
corewatcher: libproxy support
add libproxy support for automatic proxy selection
Signed-off-by: Chris Leech <christopher.leech@linux.intel.com>
Chris Leech [Thu, 14 Apr 2011 21:00:29 +0000 (14:00 -0700)]
corewatcher: add private field to crash report
Private data will not be visible on the public web interface.
Signed-off-by: Chris Leech <christopher.leech@linux.intel.com>
Chris Leech [Thu, 14 Apr 2011 21:00:29 +0000 (14:00 -0700)]
corewatcher-config: add command line tool for editing the config file
Simple tool using the glib keyfile support to get and set key/value pairs.
Intended to be used to script configuration changes, such as.
# corewatcher-config --set allow-submit=yes
Default config file changes add a required group header for glib and whitespace
changes to reflect what happens when the glib keyfile routines read and then
write back the file.
Signed-off-by: Chris Leech <christopher.leech@linux.intel.com>
William Douglas [Thu, 7 Apr 2011 16:57:40 +0000 (09:57 -0700)]
Version 0.19
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
Patrick McCarty [Wed, 6 Apr 2011 17:11:05 +0000 (10:11 -0700)]
Add new translations: es_MX, eu, uk, vi
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
Patrick McCarty [Wed, 6 Apr 2011 17:10:36 +0000 (10:10 -0700)]
Pull from Transifex: update existing translations
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
William Douglas [Thu, 7 Apr 2011 17:43:52 +0000 (20:43 +0300)]
clean up some memory leaks
William Douglas [Wed, 6 Apr 2011 23:03:50 +0000 (02:03 +0300)]
Send message to dbus once core is processed and once core is submitted
William Douglas [Wed, 6 Apr 2011 21:06:51 +0000 (00:06 +0300)]
Debugged and tested keeping files to send until online
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Mon, 4 Apr 2011 23:52:15 +0000 (16:52 -0700)]
first stab at resending coredumps that were unsent
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Mon, 4 Apr 2011 20:07:08 +0000 (13:07 -0700)]
Version: 0.18
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Mon, 4 Apr 2011 19:55:22 +0000 (12:55 -0700)]
rework finding qml-launcher apps
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
Chris Leech [Fri, 1 Apr 2011 23:54:26 +0000 (16:54 -0700)]
add application name and crash id to the dbus sent signal
Signed-off-by: Chris Leech <christopher.leech@linux.intel.com>
Chris Leech [Fri, 1 Apr 2011 23:54:26 +0000 (16:54 -0700)]
pass oops struct instead of just a text blob, just to keep application name useable
Signed-off-by: Chris Leech <christopher.leech@linux.intel.com>
Chris Leech [Fri, 1 Apr 2011 23:54:26 +0000 (16:54 -0700)]
sent dbus signal and log to syslog on each oops, not just once per batch
Signed-off-by: Chris Leech <christopher.leech@linux.intel.com>
William Douglas [Thu, 31 Mar 2011 23:10:53 +0000 (16:10 -0700)]
Version v0.17
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Thu, 31 Mar 2011 22:47:49 +0000 (15:47 -0700)]
update gdb command to output the core file
William Douglas [Thu, 31 Mar 2011 00:01:57 +0000 (17:01 -0700)]
Finalize version v0.16
Signed-off-by: William Douglas <william.douglas@linux.intel.com>
William Douglas [Wed, 23 Mar 2011 19:09:35 +0000 (12:09 -0700)]
Add the build release information from MeeGo to corewatcher
William Douglas [Fri, 4 Mar 2011 22:23:12 +0000 (14:23 -0800)]
Fixup pointers that aren't initialized to NULL
William Douglas [Fri, 4 Mar 2011 21:24:27 +0000 (13:24 -0800)]
Fixed crash scenario, redid wrapper scanning
William Douglas [Thu, 3 Mar 2011 22:39:28 +0000 (14:39 -0800)]
Version 0.15
William Douglas [Thu, 3 Mar 2011 17:43:59 +0000 (09:43 -0800)]
Allow corewatcher to try multiple submit urls
Bugfixes:
- Fixed issue with set_wrapped_app not getting correct executable.
- Various memory leaks plugged.
Enhancements:
- Read multiple urls from config, try until one works.
- Write url submitted to syslog
- Write coredump text to file
William Douglas [Thu, 10 Feb 2011 22:44:06 +0000 (14:44 -0800)]
Have the process reported be the actual process run by meego-tablet-wrapper
William Douglas [Wed, 17 Nov 2088 22:36:05 +0000 (22:36 +15094352)]
oops need to an actual pid for the running process
William Douglas [Wed, 17 Nov 2088 22:25:54 +0000 (22:25 +15094402)]
Update default config to keep core dumps after processing
William Douglas [Wed, 17 Nov 2088 20:35:38 +0000 (20:35 +15094552)]
Keep the core generation origin for export
William Douglas [Wed, 17 Nov 2088 18:59:25 +0000 (18:59 +15094728)]
Add nice and IO nice to avoid grinding the system to a halt on a coredump
William Douglas [Thu, 3 Feb 2011 19:20:34 +0000 (21:20 +0200)]
Unlink core files we can't find
Auke Kok [Wed, 2 Feb 2011 19:31:20 +0000 (14:31 -0500)]
disclaimer.
Auke Kok [Wed, 2 Feb 2011 19:29:58 +0000 (14:29 -0500)]
Adding example crash application.
Auke Kok [Wed, 2 Feb 2011 16:16:22 +0000 (11:16 -0500)]
Merge branch 'master' of gitorious.org:meego-developer-tools/corewatcher
Auke Kok [Wed, 2 Feb 2011 16:15:56 +0000 (11:15 -0500)]
No need to print this out to the console every start.
Auke Kok [Wed, 2 Feb 2011 16:13:41 +0000 (11:13 -0500)]
Also retain the text-version of the backtrace when config file requests.
Jean Cayron [Fri, 12 Nov 2010 21:14:06 +0000 (21:14 +0000)]
l10n: Updated Walloon (wa) translation to 100%
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Jean Cayron [Sun, 7 Nov 2010 17:00:47 +0000 (17:00 +0000)]
l10n: First Walloon translation
New status: 5 messages complete with 0 fuzzies and 8 untranslated.
Transmitted-via: Transifex (www.transifex.net).
chaoweilun [Wed, 3 Nov 2010 14:55:31 +0000 (14:55 +0000)]
l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Sérgio Marques [Thu, 28 Oct 2010 10:36:24 +0000 (10:36 +0000)]
l10n: Added Portuguese locale
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
someone [Sat, 23 Oct 2010 22:04:51 +0000 (22:04 +0000)]
l10n: Arabic translation
New status: 5 messages complete with 0 fuzzies and 8 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Mostafa Daneshvar [Sat, 9 Oct 2010 09:51:49 +0000 (09:51 +0000)]
l10n: Persian trans
New status: 10 messages complete with 0 fuzzies and 3 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Auke Kok [Fri, 8 Oct 2010 21:13:04 +0000 (14:13 -0700)]
Rev to 0.13 - fix locale install
Auke Kok [Fri, 8 Oct 2010 21:03:40 +0000 (14:03 -0700)]
Rev to 0.12
Auke Kok [Fri, 8 Oct 2010 21:03:19 +0000 (14:03 -0700)]
Fix subdir builds etc.
Auke Kok [Fri, 8 Oct 2010 20:18:49 +0000 (13:18 -0700)]
Rev to 0.11 - translations merged
Auke Kok [Fri, 8 Oct 2010 20:17:35 +0000 (13:17 -0700)]
Merge branch 'master' of gitorious.org:meego-developer-tools/corewatcher
Auke Kok [Fri, 8 Oct 2010 20:17:10 +0000 (13:17 -0700)]
Rev to 0.10 for trunk
Torgeir Hjelmfoss [Thu, 7 Oct 2010 15:19:25 +0000 (15:19 +0000)]
l10n: Norwegian Bokmal translation
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Toni Hermoso Pulido [Thu, 7 Oct 2010 06:30:33 +0000 (06:30 +0000)]
l10n: Valencian Catalan translation
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Toni Hermoso Pulido [Thu, 7 Oct 2010 06:28:40 +0000 (06:28 +0000)]
l10n: Catalan translation
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Aranel Surion [Tue, 28 Sep 2010 22:48:57 +0000 (22:48 +0000)]
l10n: Initial
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Iñigo Varela [Sat, 18 Sep 2010 08:59:44 +0000 (08:59 +0000)]
l10n: Asturian translations
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Csanád Tóth [Fri, 17 Sep 2010 03:43:13 +0000 (03:43 +0000)]
l10n: Updates to Hungarian translation
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
fri [Thu, 9 Sep 2010 07:21:16 +0000 (07:21 +0000)]
l10n: Czech translation
New status: 13 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).