I've finally gotten a chance to debug this with gdb, after building debug versions of mozilla and my program. I'm not seeing a segfault on this computer at home, but at the office I was. Here at home, I'm getting a lockup, and whenever I break in gdb, it seems to be in pthread_getconcurrency(). My code is very simple -- 3 lines other than putting it on the window. I call gtk_moz_embed_set_comp_path, gtk_moz_embed_new, and then gtk_moz_embed_load_url. Attached is the final portion of what is spit out to the terminal, as well as the backtrace.

Does anyone know what could cause it to not ever exit that function?

Thanks in advance for any ideas.
-Jon

*** Chrome Registration of package: Checking for contents.rdf at jar:resource:/c
hrome/messenger.jar!/content/messenger-views/
*** Chrome Registration of locale : Checking for contents.rdf at jar:resource:/c
hrome/en-US.jar!/locale/en-US/messenger-views/
*** Chrome Registration of package: Checking for contents.rdf at jar:resource:/c
hrome/messenger.jar!/content/messenger/
*** Chrome Registration of package: Checking for contents.rdf at jar:resource:/c
hrome/messenger.jar!/content/messenger-region/
*** Chrome Registration of locale : Checking for contents.rdf at jar:resource:/c
hrome/en-US.jar!/locale/en-US/messenger/
*** Chrome Registration of locale : Checking for contents.rdf at jar:resource:/c
hrome/US.jar!/locale/US/messenger-region/
***** Chrome Registration: Selecting skin classic/1.0 as default



Backtrace:


#0 0x40b51574 in pthread_getconcurrency () from /lib/libpthread.so.0
#1 0x40b51338 in pthread_getconcurrency () from /lib/libpthread.so.0
#2 0x40b50bb2 in pthread_create () from /lib/libpthread.so.0
#3 0x40b39209 in _PR_CreateThread (type=PR_USER_THREAD,
start=0x40a82e58 <nsThread::Main(void*)>, arg=0x855c140,
priority=PR_PRIORITY_NORMAL, scope=PR_GLOBAL_THREAD,
state=PR_JOINABLE_THREAD, stackSize=65536, isGCAble=0) at ptthread.c:442
#4 0x40b393e8 in PR_CreateThread (type=PR_USER_THREAD,
start=0x40a82e58 <nsThread::Main(void*)>, arg=0x855c140,
priority=PR_PRIORITY_NORMAL, scope=PR_GLOBAL_THREAD,
state=PR_JOINABLE_THREAD, stackSize=0) at ptthread.c:525
#5 0x40a8360f in nsThread::Init(nsIRunnable*, unsigned, PRThreadPriority, PRThr
eadScope, PRThreadState) (this=0x855c140, runnable=0x85e8e6c, stackSize=0,
priority=PR_PRIORITY_NORMAL, scope=PR_GLOBAL_THREAD,
state=PR_JOINABLE_THREAD) at nsThread.cpp:263
#6 0x40a83773 in NS_NewThread(nsIThread**, nsIRunnable*, unsigned, PRThreadStat
e, PRThreadPriority, PRThreadScope) (result=0x85e8e7c, runnable=0x85e8e6c,
stackSize=0, state=PR_JOINABLE_THREAD, priority=PR_PRIORITY_NORMAL,
scope=PR_GLOBAL_THREAD) at nsThread.cpp:308
#7 0x40a89307 in TimerThread::Init() (this=0x85e8e6c) at TimerThread.cpp:92
#8 0x40a867b7 in InitThread () at nsTimerImpl.cpp:145
#9 0x40b26d7f in PR_CallOnce (once=0x40afe3b0, func=0x40a86744 <InitThread>)
at prinit.c:806
---Type <return> to continue, or q <return> to quit---
#10 0x40a86a80 in nsTimerImpl (this=0x8592ec0) at nsTimerImpl.cpp:168
#11 0x40a06d4d in nsTimerImplConstructor (aOuter=0x0, [EMAIL PROTECTED],
aResult=0xbfffe890) at nsXPComInit.cpp:174
#12 0x40ac7cc1 in nsGenericFactory::CreateInstance(nsISupports*, nsID const&, vo
id**) (this=0x8396538, aOuter=0x0, [EMAIL PROTECTED], aResult=0xbfffe890)
at nsGenericFactory.cpp:86
#13 0x40a70f13 in nsComponentManagerImpl::CreateInstanceByContractID(char const*
, nsISupports*, nsID const&, void**) (this=0x837ff48,
aContractID=0x411d144f "@mozilla.org/timer;1", aDelegate=0x0,
[EMAIL PROTECTED], aResult=0xbfffe890) at nsComponentManager.cpp:2006
#14 0x40aca7c0 in nsCreateInstanceByContractID::operator()(nsID const&, void**)
const (this=0xbfffe8d0, [EMAIL PROTECTED], aInstancePtr=0xbfffe890)
at nsComponentManagerUtils.cpp:75
#15 0x411613b9 in nsCOMPtr<nsITimer>::assign_from_helper(nsCOMPtr_helper const&,
nsID const&) (this=0x85911e4, [EMAIL PROTECTED], [EMAIL PROTECTED])
at nsCOMPtr.h:988
#16 0x4118bf19 in nsCOMPtr<nsITimer>::operator=(nsCOMPtr_helper const&) (
this=0x85911e4, [EMAIL PROTECTED]) at nsCOMPtr.h:610
#17 0x41186e8e in nsHttpHandler::StartPruneDeadConnectionsTimer() (
this=0x85911b0) at nsHttpHandler.cpp:281
#18 0x41186d37 in nsHttpHandler::Init() (this=0x85911b0)
at nsHttpHandler.cpp:250
#19 0x410bd133 in nsHttpHandlerConstructor (aOuter=0x0, [EMAIL PROTECTED],
---Type <return> to continue, or q <return> to quit---
aResult=0xbfffea40) at nsNetModule.cpp:173
#20 0x40ac7cc1 in nsGenericFactory::CreateInstance(nsISupports*, nsID const&, vo
id**) (this=0x851c6f8, aOuter=0x0, [EMAIL PROTECTED], aResult=0xbfffea40)
at nsGenericFactory.cpp:86
#21 0x40a70f13 in nsComponentManagerImpl::CreateInstanceByContractID(char const*
, nsISupports*, nsID const&, void**) (this=0x837ff48,
aContractID=0xbfffeb30 "@mozilla.org/network/protocol;1?name=http",
aDelegate=0x0, [EMAIL PROTECTED], aResult=0xbfffea40)
at nsComponentManager.cpp:2006
#22 0x40a71dff in nsComponentManagerImpl::GetServiceByContractID(char const*, ns
ID const&, void**) (this=0x837ff48,
aContractID=0xbfffeb30 "@mozilla.org/network/protocol;1?name=http",
[EMAIL PROTECTED], result=0xbfffed50) at nsComponentManager.cpp:2424
#23 0x410da2d3 in CallGetService<nsIProtocolHandler> (
aContractID=0xbfffeb30 "@mozilla.org/network/protocol;1?name=http",
aDestination=0xbfffed50) at nsIServiceManagerUtils.h:182
#24 0x410d808d in nsIOService::GetProtocolHandler(char const*, nsIProtocolHandle
r**) (this=0x84f4f28, scheme=0xbfffed10 "http", result=0xbfffed50)
at nsIOService.cpp:344
#25 0x4260290c in nsDefaultURIFixup::CreateFixupURI(nsAString const&, unsigned,
nsIURI**) (this=0x855d090, [EMAIL PROTECTED], aFixupFlags=1,
aURI=0xbfffefa0) at nsDefaultURIFixup.cpp:199
#26 0x425ca262 in nsDocShell::LoadURI(unsigned short const*, unsigned, nsIURI*,
---Type <return> to continue, or q <return> to quit---
nsIInputStream*, nsIInputStream*) (this=0x85550c0, aURI=0x8591158,
aLoadFlags=0, aReferringURI=0x0, aPostStream=0x0, aHeaderStream=0x0)
at nsDocShell.cpp:2465
#27 0x427773f4 in nsWebBrowser::LoadURI(unsigned short const*, unsigned, nsIURI*
, nsIInputStream*, nsIInputStream*) (this=0x83aeac8, aURI=0x8591158,
aLoadFlags=0, aReferringURI=0x0, aPostDataStream=0x0,
aExtraHeaderStream=0x0) at nsWebBrowser.cpp:614
#28 0x40490901 in EmbedPrivate::LoadCurrentURI() (this=0x82bdbdc)
at EmbedPrivate.cpp:382
#29 0x4048d4bd in gtk_moz_embed_load_url (embed=0x8386cd0,
url=0x83081ad "http://realsoftware.com/";) at gtkmozembed2.cpp:849


_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to