Closed Bug 313665 Opened 21 years ago Closed 18 years ago

clicking on the top right 'x' crashes Minimo on Linux ...

Categories

(Core :: XPCOM, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: tonikitoo, Unassigned)

Details

(Keywords: mobile)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 Firefox/1.0.7 Build Identifier: Minimo 009, pulled from cvs at Oct 24th No matter how many tabs or which site you are browsering on, if you try to close Minimo clicking on the default 'x' button (yeah, those one provided by the Window Manager) , you will got a crash ! Reproducible: Always Steps to Reproduce: 1. lauch Minimo on an x86 linux 2. click 'x' or Alt+F4 Actual Results: Segfault message showed on the shell :( Expected Results: it should just 'died' quietly :) I am on Debian/Gnome
is this still a problem?
marking WFM
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
this bug still persists for me, both on x86 as on ARM (nokia 770) it crashes at somewhere inside NS_TermEmbedding. can I reopen it ?
yeah, but include a stack trace and some information about local variables :). if you're not running on real hardware and have the ability to use valgrind, that'd be appreciated (ask valgrind to retain longer call stacks than the default, i like 20, but 10 should be sufficient, 4 is kinda useless in gecko).
it is still an issue. I'll be looking over this along this week .
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
from gdb (debug build) (...) ###!!! ASSERTION: preserved wrapper table not empty at shutdown: 'sPreservedWrapperTable.ops == 0', file nsDOMClassInfo.cpp, line 3582 Break: at file nsDOMClassInfo.cpp, line 3582 [Thread -1222087776 (LWP 18770) exited] [Thread -1253434464 (LWP 18775) exited] [Thread -1238873184 (LWP 18772) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1220708688 (LWP 18767)] 0x08c1aaf1 in ?? () (gdb) up #1 0x08517f27 in ~nsWindowWatcher (this=0x8960b30) at nsWindowWatcher.cpp:447 447 } (gdb) #2 0x08516b25 in nsWindowWatcher::Release (this=0x8960b30) at nsWindowWatcher.cpp:428 428 NS_IMPL_RELEASE(nsWindowWatcher) (gdb) #3 0x086a46b1 in nsCOMPtr_base::assign_with_AddRef (this=0x88bcbb8, rawPtr=0x0) at nsCOMPtr.cpp:89 89 assign_assuming_AddRef(rawPtr); (gdb) #4 0x080b5e26 in nsCOMPtr<nsISupports>::operator= (this=0x88bcbb8, rhs=0x8961de8) at nsCOMPtr.h:1033 1033 nsCOMPtr.h: No such file or directory. in nsCOMPtr.h (gdb) #5 0x086d9c6e in FreeServiceContractIDEntryEnumerate (aTable=0x889a5cc, aHdr=0x39d0, aNumber=371, aData=0x0) at nsComponentManager.cpp:2028 2028 factoryEntry->mServiceObject = nsnull; (gdb) #6 0x086a40cd in PL_DHashTableEnumerate (table=0x889a5cc, etor=0x86d9c56 <FreeServiceContractIDEntryEnumerate>, arg=0x0) at pldhash.c:683 683 op = etor(table, entry, i++, arg); Current language: auto; currently c (gdb) #7 0x086d9cd2 in nsComponentManagerImpl::FreeServices (this=0x889a580) at nsComponentManager.cpp:2041 2041 PL_DHashTableEnumerate(&mContractIDs, FreeServiceContractIDEntryEnumerate, nsnull); Current language: auto; currently c++ (gdb) #8 0x086a8f4c in NS_ShutdownXPCOM_P (servMgr=0x0) at nsXPComInit.cpp:841 841 nsComponentManagerImpl::gComponentManager->FreeServices(); (gdb) #9 0x0870a33a in NS_TermEmbedding () at nsEmbedAPI.cpp:215 215 nsresult rv = NS_ShutdownXPCOM(sServiceManager); (gdb) #10 0x080599d8 in main (argc=1, argv=0xbffb8794) at Minimo.cpp:942 942 NS_TermEmbedding(); (In reply to comment #4) > yeah, but include a stack trace and some information about local variables :). > > if you're not running on real hardware and have the ability to use valgrind, > that'd be appreciated (ask valgrind to retain longer call stacks than the > default, i like 20, but 10 should be sufficient, 4 is kinda useless in gecko).
is this fixed?
no
reproducible on ubuntu x86, maemo arm.
martynas' patch workarounds the crash ...
Assignee: dougt → nobody
Status: REOPENED → NEW
Component: Minimo Front-End → XPCOM
Keywords: mobile
Product: Minimo → Core
Version: WinCE → unspecified
minimo is not an officially supported project anymore, so assuming WONTFIX
Status: NEW → RESOLVED
Closed: 20 years ago → 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: