Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 401880 Details for
Bug 539888
dev-util/geany-plugins - segmentation fault in __strchr_sse2() from /lib64/libc.so.6 (crashes geany)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patches to fix two crashes in the debugger plugin
debugger-fix-run-crash.patch (text/plain), 1.73 KB, created by
georg
on 2015-04-23 19:34:58 UTC
(
hide
)
Description:
patches to fix two crashes in the debugger plugin
Filename:
MIME Type:
Creator:
georg
Created:
2015-04-23 19:34:58 UTC
Size:
1.73 KB
patch
obsolete
>From e6aed21b8437d6b5d15392bee4ad95551ff758be Mon Sep 17 00:00:00 2001 >From: Georg Gast <georg@schorsch-tech.de> >Date: Thu, 23 Apr 2015 21:25:40 +0200 >Subject: [PATCH] debugger: fix run crash > >--- > 0001-mutex.patch | 31 +++++++++++++++++++++++++++++++ > debugger/src/dbm_gdb.c | 2 +- > 2 files changed, 32 insertions(+), 1 deletion(-) > create mode 100644 0001-mutex.patch > >diff --git a/0001-mutex.patch b/0001-mutex.patch >new file mode 100644 >index 0000000..0f8eff7 >--- /dev/null >+++ b/0001-mutex.patch >@@ -0,0 +1,31 @@ >+From 30ac9e68208eadd0faee8e51def56b15204c8c35 Mon Sep 17 00:00:00 2001 >+From: Georg Gast <georg@schorsch-tech.de> >+Date: Thu, 23 Apr 2015 20:54:03 +0200 >+Subject: [PATCH] mutex >+ >+--- >+ debugger/src/dconfig.c | 2 ++ >+ 1 file changed, 2 insertions(+) >+ >+diff --git a/debugger/src/dconfig.c b/debugger/src/dconfig.c >+index 97e7bab..d09f235 100644 >+--- a/debugger/src/dconfig.c >++++ b/debugger/src/dconfig.c >+@@ -271,6 +271,7 @@ static gpointer saving_thread_func(gpointer data) >+ { >+ GTimeVal interval; >+ GMutex *m = g_mutex_new(); >++ g_mutex_lock(m); >+ do >+ { >+ g_mutex_lock(change_config_mutex); >+@@ -316,6 +317,7 @@ static gpointer saving_thread_func(gpointer data) >+ g_time_val_add(&interval, SAVING_INTERVAL); >+ } >+ while (!g_cond_timed_wait(cond, m, &interval)); >++ g_mutex_unlock(m); >+ g_mutex_free(m); >+ >+ return NULL; >+-- >+2.0.5 >diff --git a/debugger/src/dbm_gdb.c b/debugger/src/dbm_gdb.c >index 09a483a..a817673 100644 >--- a/debugger/src/dbm_gdb.c >+++ b/debugger/src/dbm_gdb.c >@@ -369,7 +369,7 @@ static gboolean on_read_async_output(GIOChannel * src, GIOCondition cond, gpoint > update_files(); > > /* -exec-run */ >- exec_async_command("-exec-run &"); >+ exec_async_command("-exec-run"); > } > } > else >-- >2.0.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 539888
:
396262
|
396264
|
396266
|
396268
|
396270
| 401880 |
401882
|
401884