Closed Bug 239412 Opened 20 years ago Closed 20 years ago

Calendar crashes if it tries to give too many alarms at the same time.

Categories

(Calendar :: Sunbird Only, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 229916

People

(Reporter: mozilla-bugs, Assigned: mostafah)

Details

(Keywords: crash)

To reproduce:

- Se Calendar to five alarms for missed events
- Import some old calendar with a large number of old events

Calendar tries to give a huge "multi-alarm" and crashes.

- Now try starting it again.

Calendar tried to give those alarma again and crashes.

One stack trace I saw was:

#0  0x008ae364 in _int_malloc () from /lib/libc.so.6
#1  0x008ad7ff in malloc () from /lib/libc.so.6
#2  0x00445527 in g_malloc () from /usr/lib/libglib-2.0.so.0
#3  0x0073325b in gdk_region_rectangle () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x00751321 in expose_serial_predicate () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x0074fda6 in gdk_window_scroll () from /usr/lib/libgdk-x11-2.0.so.0
#6  0x0075d8e8 in gdk_window_resize () from /usr/lib/libgdk-x11-2.0.so.0
#7  0x00c05aac in moz_drawingarea_resize (drawingarea=0xa692690, width=71610281,
height=195392064) at mozdrawingarea.c:188
#8  0x00c0ab61 in nsWindow::NativeResize(int, int, int) (this=0xb9b5f78,
aWidth=71610281, aHeight=71610280, aRepaint=1)
    at nsWindow.cpp:2336
#9  0x00c0fe33 in nsCommonWidget::Resize(int, int, int) (this=0xb9b5f78,
aWidth=71610281, aHeight=71610280, aRepaint=1)
    at nsCommonWidget.cpp:307
#10 0x04a95f0e in nsView::SetDimensions(nsRect const&, int) (this=0xa81a570,
aRect=@0x1c, aPaint=1) at nsUnitConversion.h:159
#11 0x04a98c2a in nsViewManager::SetWindowDimensions(int, int) (this=0xb7aee38,
aWidth=1074154155, aHeight=1074154140)
    at nsViewManager.cpp:660
#12 0x04a9b783 in nsViewManager::DispatchEvent(nsGUIEvent*, nsEventStatus*)
(this=0xb7aee38, aEvent=0xfeba145c,
    aStatus=0xfeba13f8) at nsUnitConversion.h:149
#13 0x04a951a8 in HandleEvent (aEvent=0xfeba145c) at nsView.h:243
#14 0x00c0fc06 in nsCommonWidget::DispatchEvent(nsGUIEvent*, nsEventStatus&)
(this=0xb9b5f78, aEvent=0xfeba145c,
    aStatus=@0xfeba1458) at nsCommonWidget.cpp:214
#15 0x00c0fb7b in nsCommonWidget::DispatchResizeEvent(nsRect&, nsEventStatus&)
(this=0x1, aRect=@0x958940, aStatus=@0xfeba14c8)
    at nsCommonWidget.cpp:200
#16 0x00c0fdc3 in nsCommonWidget::Resize(int, int, int) (this=0xb9b5f78,
aWidth=71610277, aHeight=71610276, aRepaint=1)
    at nsCommonWidget.cpp:318
#17 0x04a95f0e in nsView::SetDimensions(nsRect const&, int) (this=0xa81a570,
aRect=@0x1c, aPaint=1) at nsUnitConversion.h:159
#18 0x04a98c2a in nsViewManager::SetWindowDimensions(int, int) (this=0xb7aee38,
aWidth=1074154095, aHeight=1074154080)
    at nsViewManager.cpp:660
#19 0x04a9b783 in nsViewManager::DispatchEvent(nsGUIEvent*, nsEventStatus*)
(this=0xb7aee38, aEvent=0xfeba16bc,
    aStatus=0xfeba1658) at nsUnitConversion.h:149
#20 0x04a951a8 in HandleEvent (aEvent=0xfeba16bc) at nsView.h:243
#21 0x00c0fc06 in nsCommonWidget::DispatchEvent(nsGUIEvent*, nsEventStatus&)
(this=0xb9b5f78, aEvent=0xfeba16bc,
    aStatus=@0xfeba16b8) at nsCommonWidget.cpp:214
#22 0x00c0fb7b in nsCommonWidget::DispatchResizeEvent(nsRect&, nsEventStatus&)
(this=0x1, aRect=@0x958940, aStatus=@0xfeba1728)
    at nsCommonWidget.cpp:200
#23 0x00c0fdc3 in nsCommonWidget::Resize(int, int, int) (this=0xb9b5f78,
aWidth=71610273, aHeight=71610272, aRepaint=1)
    at nsCommonWidget.cpp:318
#24 0x04a95f0e in nsView::SetDimensions(nsRect const&, int) (this=0xa81a570,
aRect=@0x1c, aPaint=1) at nsUnitConversion.h:159
#25 0x04a98c2a in nsViewManager::SetWindowDimensions(int, int) (this=0xb7aee38,
aWidth=1074154035, aHeight=1074154020)
    at nsViewManager.cpp:660
#26 0x04a9b783 in nsViewManager::DispatchEvent(nsGUIEvent*, nsEventStatus*)
(this=0xb7aee38, aEvent=0xfeba191c,
    aStatus=0xfeba18b8) at nsUnitConversion.h:149
#27 0x04a951a8 in HandleEvent (aEvent=0xfeba191c) at nsView.h:243
#28 0x00c0fc06 in nsCommonWidget::DispatchEvent(nsGUIEvent*, nsEventStatus&)
(this=0xb9b5f78, aEvent=0xfeba191c,
    aStatus=@0xfeba1918) at nsCommonWidget.cpp:214
#29 0x00c0fb7b in nsCommonWidget::DispatchResizeEvent(nsRect&, nsEventStatus&)
(this=0x1, aRect=@0x958940, aStatus=@0xfeba1988)
    at nsCommonWidget.cpp:200
#30 0x00c0fdc3 in nsCommonWidget::Resize(int, int, int) (this=0xb9b5f78,
aWidth=71610269, aHeight=71610268, aRepaint=1)
    at nsCommonWidget.cpp:318
...
and so on in a loop.

*** This bug has been marked as a duplicate of 229916 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.