Open GoogleCodeExporter opened 9 years ago
Is it possible to document the platform/compiler/cpu/etc. you are running on.
Also a run with _PX_DEBUG=1 and _MM_DEBUG=1 could help.
Original comment by nicolas.dufresne@gmail.com
on 30 Sep 2010 at 9:03
Original comment by nicolas.dufresne@gmail.com
on 7 Nov 2010 at 2:15
The information was provided to you on IRC a LONG time ago so I didn't think I
needed to provide it here as well. Anyway, here is our conversation:
<stormer> [23:59:53] zeenix: could you remind what
platform/distro/compiler/cpu/etc you are running on ?
<zeenix> [00:05:52] stormer: ubuntu, x86
<zeenix> [00:06:04] stormer: compiler = gcc
<stormer> [00:06:22] do you have NetworkManager ?
<zeenix> [00:06:24] $ uname -a
<zeenix> [00:06:24] Linux codecamp 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16
14:17:33 UTC 2010 i686 GNU/Linux
<zeenix> [00:06:27] stormer: yes
<zeenix> [00:06:37] stormer: the one in ubuntu i guess
<stormer> [00:06:51] that looks like a normal platform
<zeenix> [00:06:58] it very much is :)
<stormer> [00:07:32] there must be a difference, otherwise more people would
have this issue
<stormer> [00:08:45] zeenix: can you paste bin a run with _MM_DEBUG=1
_PX_DEBUG=1 proxy http://test.com:80
<zeenix> [00:09:49] stormer: with the proxy config. that allows me to reproduce
the issue?
<stormer> [00:10:07] yep, while reproducing the issue
<zeenix> [00:10:37] hmm.. hopefully only the proxy config is needed, not the
proxy to be actually there
<stormer> [00:10:53] you don't need the proxy
<stormer> [00:11:18] libproxy is about reading the proxy configuration, running
the tool proxy should do just like running your app
<stormer> [00:11:32] (hopeffuly)
<zeenix> [00:11:57] http://pastebin.com/spam.php?i=jUMpyVNb
<stormer> [00:14:04] so it works outside your app :(
<stormer> [00:14:49] zeenix: can your confirm, your running an app, that
depends on libsoup, which depends on libproxy
<zeenix> [00:15:35] yes
<stormer> [00:24:29] zeenix: the thing is that this bug was fixed month ago
with
http://code.google.com/p/libproxy/source/diff?spec=svn618&r=618&format=side&path
=/trunk/libproxy/extension_network.hpp
<stormer> [00:25:41] So I have a really hard time to figure-out why it pops
again
<zeenix> [00:28:49] hmm..
<stormer> [00:33:21] zeenix: what version of Ubuntu is this ? Is libproxy 0.4.6
the default ?
<zeenix> [00:33:44] who said i'm using libproxy from Ubuntu :)
<zeenix> [00:33:57] i'm using jhbuild for gnome stuff
<zeenix> [00:34:02] sorry, i should have mentioned
<stormer> [00:34:33] do you have a package named libmodman installed ?
<zeenix> [00:34:41] $ pkg-config --modversion libproxy-1.00.4.6
<zeenix> [00:35:36] libmodman.so
<zeenix> [00:35:40] is there
<zeenix> [00:35:51] in ${PREFIX}/lib/
<stormer> [00:36:50] well the one in your jhbuild tree should be fine, but if
you are using one from the system, this may go wrong, but again I broke
libmodman ABI in 0.4.6, so I don't think this is the issue
<stormer> [00:42:21] I'm running jhbuild update, but I last time it did not
allow me to reproduce, what application/uri is triggering the assertion ?
<zeenix> [00:51:54] stormer: my own: rygel
<stormer> [00:52:40] and what URI rygel tries to load ?
<zeenix> [00:52:50] its own :)
<zeenix> [00:53:01] stormer: rygel has both server and renderer
<zeenix> [00:53:42] so in the control-point app (gupnp-av-cp) i choose to play
a URI offered by rygel's server-side to rygel's renderer
<stormer> [00:54:17] fair, now what this URI looks like ? (any sample would be
fine)
<zeenix> [00:55:28]
http://172.21.36.34:46488/RygelHTTPServer/Tracker/item/QWxsTXVzaWMsdXJuOnV1aWQ6N
zY0OWQyZGItMTM0MC1mMjc3LTdlODctNmMwM2I4ZDAwYTgy
<stormer> [00:57:15] 172.21.36.34 is your local network right ?
<zeenix> [00:59:18] yes
<stormer> [01:16:27] oki, I never ran any test on the ignore code, it's a
disaster
<stormer> [01:26:07] DimStar, npmccallum: While trying to find a way to
reproduce zeenix crash, I discovered that the ignore code is mad, if the forth
digit of an IP is lower then 24, it get ignored
<stormer> [20:19:42] npmccallum, DimStar: I've fix URL stuff on win32, please
review last 4 commit in
http://git.collabora.co.uk/?p=user/nicolas/libproxy.git;a=summary
<stormer> [20:20:25] nmake test should now work for all with those, but I only
tested on MSVC 2010
Original comment by zee...@gmail.com
on 7 Nov 2010 at 2:29
I've been able to reproduce using Debian sqeeze. This looks like a GCC 4.4 bug
since I can't reproduce on GCC 4.5. I'm posting a patch here that will
workaround the issue for distros stuck with this GCC bug, but has this is not
type safe I won't push this upstream (I'm still open to any type safe solution):
diff --git a/libmodman/module_manager.hpp b/libmodman/module_manager.hpp
index f221bff..045bd81 100644
--- a/libmodman/module_manager.hpp
+++ b/libmodman/module_manager.hpp
@@ -51,7 +51,8 @@ public:
vector<base_extension*> extlist = it->second;
for (size_t i=0 ; i < extlist.size() ; i++) {
- T* obj = dynamic_cast<T*>(extlist[i]);
+ //T* obj = dynamic_cast<T*>(extlist[i]);
+ T* obj = (T*)(extlist[i]);
if (obj)
retlist.push_back(obj);
Original comment by nicolas.dufresne@gmail.com
on 4 Jan 2011 at 4:44
Original issue reported on code.google.com by
zee...@gmail.com
on 29 Sep 2010 at 1:46