Send Gtkmm-forge mailing list submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."
gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.
A daily digest is sent to gtkmm-main, to encourage people to help fixing the
bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.
Today's Topics:
1. [Bug 512348] Glib::Thread::create() does not appear to be
thread safe (glibmm (bugzilla.gnome.org))
2. [Bug 539063] GhostPad constructor is broken
(gnomemm (bugzilla.gnome.org))
3. [Bug 539186] New: destroy() deletes its Glib::Source instance
(glibmm (bugzilla.gnome.org))
4. [Bug 539186] destroy() deletes its Glib::Source instance
(glibmm (bugzilla.gnome.org))
5. [Bug 538882] Unable to compile gtkmm-2.8.12 on Slackware 12.1
(gtkmm (bugzilla.gnome.org))
6. [Bug 538882] Unable to compile gtkmm-2.8.12 on Slackware 12.1
(gtkmm (bugzilla.gnome.org))
7. [Bug 529533] Warning about wrapping unwrapped implementation
types (e.g. GHalMount) (glibmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Thu, 19 Jun 2008 10:17:10 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 512348] Glib::Thread::create() does not
appear to be thread safe
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=512348
glibmm | threads | Ver: 2.14.x
------- Comment #14 from Chris Vine 2008-06-19 10:17 UTC -------
Even better, a third solution would be to be able to pass a custom container
object to the sigc::trackable constructor as a constructor argument, or to have
the container type as a template type (as with std::queue) - it would then be
possible to pass in a thread-safe container (I would choose std::set rather
than std::list anyway).
That would avoid any dependency issues.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=512348.
------------------------------
Message: 2
Date: Thu, 19 Jun 2008 10:49:31 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 539063] GhostPad constructor is broken
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=539063
gnomemm | gstreamermm | Ver: unspecified
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
BugsThisDependsOn| |539108
Summary|GhostPad wrapper lacking |GhostPad constructor is
|something |broken
------- Comment #3 from Murray Cumming 2008-06-19 10:49 UTC -------
This is caused by gstreamer bug #539108.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=539063.
------------------------------
Message: 3
Date: Thu, 19 Jun 2008 21:03:58 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 539186] New: destroy() deletes its
Glib::Source instance
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]/>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=539186
glibmm | main loop | Ver: 2.16.x
Summary: destroy() deletes its Glib::Source instance
Product: glibmm
Version: 2.16.x
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: main loop
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
GNOME version: 2.21/2.22
GNOME milestone: Unspecified
In the glib C API, g_source_destroy() removes a source from its attached
context and marks it as destroyed; that's also the behavior documented for
Glib::Source::destroy(). The glibmm implementation, however, ends up deleting
the Glib::Source instance, not merely marking it as destroyed.
The same instance is later deleted again by its Glib::RefPtr, so calling
destroy() can easily and unavoidably cause heap corruption. This issue makes it
effectively impossible to safely detach a source from a context in glibmm.
I've attached a small example involving a derived source. The same issue is
also present for the standard event sources (Glib::TimeoutSource and friends).
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=539186.
------------------------------
Message: 4
Date: Thu, 19 Jun 2008 21:06:24 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 539186] destroy() deletes its
Glib::Source instance
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=539186
glibmm | main loop | Ver: 2.16.x
------- Comment #1 from Bryan Silverthorn 2008-06-19 21:06 UTC -------
Created an attachment (id=113073)
--> (http://bugzilla.gnome.org/attachment.cgi?id=113073&action=view)
glibmm_source_destroy.cc
Test case.
Observed behavior:
"
$ ./glibmm_source_destroy
> source->destroy()
~DerivedSource()
<
> source->destroy()
(process:19011): GLib-CRITICAL **: g_source_destroy: assertion `source != NULL'
failed
<
*** glibc detected *** ./glibmm_source_destroy: corrupted double-linked list:
0x08ffe4d0 ***
======= Backtrace: =========
/lib/libc.so.6[0xa867e4]
/lib/libc.so.6[0xa88613]
/lib/libc.so.6(cfree+0x96)[0xa88846]
/lib/libglib-2.0.so.0(g_free+0x36)[0xc44356]
/usr/lib/libglibmm-2.4.so.1(_ZNK4Glib11MainContext11unreferenceEv+0x1d)[0x729cccd]
./glibmm_source_destroy(_ZN4Glib6RefPtrINS_11MainContextEED1Ev+0x1c)[0x8048e3a]
./glibmm_source_destroy(__gxx_personality_v0+0x23c)[0x8048bb8]
/lib/libc.so.6(__libc_start_main+0xe6)[0xa2f5d6]
./glibmm_source_destroy(__gxx_personality_v0+0x55)[0x80489d1]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0 [vdso]
0094c000-00959000 r-xp 00000000 fd:00 3999374
/lib/libgcc_s-4.3.0-20080428.so.1
00959000-0095a000 rw-p 0000c000 fd:00 3999374
/lib/libgcc_s-4.3.0-20080428.so.1
009f5000-00a11000 r-xp 00000000 fd:00 3997816 /lib/ld-2.8.so
00a11000-00a12000 r--p 0001c000 fd:00 3997816 /lib/ld-2.8.so
00a12000-00a13000 rw-p 0001d000 fd:00 3997816 /lib/ld-2.8.so
00a19000-00b7c000 r-xp 00000000 fd:00 3997867 /lib/libc-2.8.so
00b7c000-00b7e000 r--p 00163000 fd:00 3997867 /lib/libc-2.8.so
00b7e000-00b7f000 rw-p 00165000 fd:00 3997867 /lib/libc-2.8.so
00b7f000-00b82000 rw-p 00b7f000 00:00 0
00b84000-00bab000 r-xp 00000000 fd:00 3999022 /lib/libm-2.8.so
00bab000-00bac000 r--p 00026000 fd:00 3999022 /lib/libm-2.8.so
00bac000-00bad000 rw-p 00027000 fd:00 3999022 /lib/libm-2.8.so
00baf000-00bb2000 r-xp 00000000 fd:00 3997898 /lib/libdl-2.8.so
00bb2000-00bb3000 r--p 00002000 fd:00 3997898 /lib/libdl-2.8.so
00bb3000-00bb4000 rw-p 00003000 fd:00 3997898 /lib/libdl-2.8.so
00bd1000-00beb000 r-xp 00000000 fd:00 3999377 /lib/libselinux.so.1
00beb000-00bec000 r--p 00019000 fd:00 3999377 /lib/libselinux.so.1
00bec000-00bed000 rw-p 0001a000 fd:00 3999377 /lib/libselinux.so.1
00c05000-00ce5000 r-xp 00000000 fd:00 3999384 /lib/libglib-2.0.so.0.1600.3
00ce5000-00ce6000 rw-p 000e0000 fd:00 3999384 /lib/libglib-2.0.so.0.1600.3
00cf4000-00d33000 r-xp 00000000 fd:00 3999388
/lib/libgobject-2.0.so.0.1600.3
00d33000-00d34000 rw-p 0003f000 fd:00 3999388
/lib/libgobject-2.0.so.0.1600.3
00d65000-00d68000 r-xp 00000000 fd:00 3999389
/lib/libgmodule-2.0.so.0.1600.3
00d68000-00d69000 rw-p 00002000 fd:00 3999389
/lib/libgmodule-2.0.so.0.1600.3
02031000-02036000 r-xp 00000000 fd:00 12044441 /usr/lib/libsigc-2.0.so.0.0.0
02036000-02037000 rw-p 00004000 fd:00 12044441 /usr/lib/libsigc-2.0.so.0.0.0
02ad9000-02bc0000 r-xp 00000000 fd:00 12032670 /usr/lib/libstdc++.so.6.0.10
02bc0000-02bc4000 r--p 000e6000 fd:00 12032670 /usr/lib/libstdc++.so.6.0.10
02bc4000-02bc6000 rw-p 000ea000 fd:00 12032670 /usr/lib/libstdc++.so.6.0.10
02bc6000-02bcb000 rw-p 02bc6000 00:00 0
07269000-072bc000 r-xp 00000000 fd:00 12043870
/usr/lib/libglibmm-2.4.so.1.0.24
072bc000-072be000 rw-p 00053000 fd:00 12043870
/usr/lib/libglibmm-2.4.so.1.0.24
08048000-0804a000 r-xp 00000000 fd:00 17958628
/home/bsilvert/arlut/home/bsilvert/toyprograms/glibmm_source_destroy/glibmm_source_destroy
0804a000-0804b000 rw-p 00001000 fd:00 17958628
/home/bsilvert/arlut/home/bsilvert/toyprograms/glibmm_source_destroy/glibmm_source_destroy
08ffe000-0901f000 rw-p 08ffe000 00:00 0 [heap]
b7f00000-b7f21000 rw-p b7f00000 00:00 0
b7f21000-b8000000 ---p b7f21000 00:00 0
b8088000-b808b000 rw-p b8088000 00:00 0
b8098000-b809f000 r--s 00000000 fd:00 12128132
/usr/lib/gconv/gconv-modules.cache
b809f000-b80a1000 rw-p b809f000 00:00 0
bfd8c000-bfda1000 rw-p bffeb000 00:00 0 [stack]
Aborted
"
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=539186.
------------------------------
Message: 5
Date: Fri, 20 Jun 2008 02:47:18 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 538882] Unable to compile gtkmm-2.8.12
on Slackware 12.1
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=538882
gtkmm | build | Ver: 2.8.x
------- Comment #2 from Eduardo Bacchi Kienetz 2008-06-20 02:47 UTC -------
(In reply to comment #1)
> What version of GTK+ are you using?
# ls /var/log/packages/gtk+*
# gtk+-1.2.10-i486-4 gtk+2-2.12.9-i486-1
These are the gtk+* I have installed (default from slackware), now, which one
gtkmm is getting to use I don't know. How could I find out?
Anyway... sorry, I didn't see there are newer versions. I'll try compiling
2.10.11 to check if the error persists and keep moving to newer ones if it
still happens.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=538882.
------------------------------
Message: 6
Date: Fri, 20 Jun 2008 05:59:26 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 538882] Unable to compile gtkmm-2.8.12
on Slackware 12.1
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=538882
gtkmm | build | Ver: 2.8.x
------- Comment #3 from Murray Cumming 2008-06-20 05:59 UTC -------
You have GTK+ 2.12, so I suggest that you use gtkmm 2.12, not GTK+ 2.8. This
error is probably due to new deprecations in GTK+.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=538882.
------------------------------
Message: 7
Date: Sun, 22 Jun 2008 08:34:48 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 529533] Warning about wrapping
unwrapped implementation types (e.g. GHalMount)
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=529533
glibmm | giomm | Ver: unspecified
------- Comment #10 from Beno?t Dejean 2008-06-22 08:34 UTC -------
*** Bug 539560 has been marked as a duplicate of this bug. ***
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=529533.
------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
------------------------------
_______________________________________________
Gtkmm-forge mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest, Vol 25, Issue 10
*******************************************
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list