Opened 12 years ago

Closed 9 years ago

#9272 closed bug (fixed)

E-Mail preflet crashes when doubleclicking "Reply with" of the popup menu in Rule filter

Reported by: Karvjorm Owned by: axeld
Priority: normal Milestone: R1
Component: Preferences/E-mail Version: R1/alpha4.1
Keywords: Rule filter doubleclick crash Cc: Karvjorm
Blocked By: Blocking:
Platform: All

Description

If I add a Rule filter to my e-mail account and select the account for the rule with "Reply with", doubleclicking of the menu line "Reply with" gets E-mail preflet to crash. I have same problem with two different test computers, so it is not any hardware dependent bug. It looks a little like "if (!view->Parent())" type checking is missing prior to AddChild() in some point in libbe.so code. Here is my debugger text:

[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 7021 called debugger(): AddChild failed - the view already has a parent.
Reading symbols from /boot/system/runtime_loader...done.
Loaded symbols for /boot/system/runtime_loader
Reading symbols from /boot/system/lib/libbe.so...done.
Loaded symbols for /boot/system/lib/libbe.so
Reading symbols from /boot/system/lib/libmail.so...done.
Loaded symbols for /boot/system/lib/libmail.so
Reading symbols from /boot/system/lib/libnetwork.so...done.
Loaded symbols for /boot/system/lib/libnetwork.so
Reading symbols from /boot/system/lib/libbnetapi.so...done.
Loaded symbols for /boot/system/lib/libbnetapi.so
Reading symbols from /boot/system/lib/libstdc++.r4.so...done.
Loaded symbols for /boot/system/lib/libstdc++.r4.so
Reading symbols from /boot/system/lib/libroot.so...done.
Loaded symbols for /boot/system/lib/libroot.so
Reading symbols from /boot/common/lib/libicudata.so.48.1...done.
Loaded symbols for /boot/common/lib/libicudata.so.48.1
Reading symbols from /boot/common/lib/libicui18n.so.48.1...done.
Loaded symbols for /boot/common/lib/libicui18n.so.48.1
Reading symbols from /boot/common/lib/libicuio.so.48.1...done.
Loaded symbols for /boot/common/lib/libicuio.so.48.1
Reading symbols from /boot/common/lib/libicule.so.48.1...done.
Loaded symbols for /boot/common/lib/libicule.so.48.1
Reading symbols from /boot/common/lib/libiculx.so.48.1...done.
Loaded symbols for /boot/common/lib/libiculx.so.48.1
Reading symbols from /boot/common/lib/libicutu.so.48.1...done.
Loaded symbols for /boot/common/lib/libicutu.so.48.1
Reading symbols from /boot/common/lib/libicuuc.so.48.1...done.
Loaded symbols for /boot/common/lib/libicuuc.so.48.1
Reading symbols from /boot/system/lib/libtextencoding.so...done.
Loaded symbols for /boot/system/lib/libtextencoding.so
Reading symbols from /boot/system/lib/libtracker.so...done.
Loaded symbols for /boot/system/lib/libtracker.so
Reading symbols from /boot/common/lib/libcrypto.so.1.0.0...done.
Loaded symbols for /boot/common/lib/libcrypto.so.1.0.0
Reading symbols from /boot/common/lib/libssl.so.1.0.0...done.
Loaded symbols for /boot/common/lib/libssl.so.1.0.0
Reading symbols from /boot/system/lib/libtranslation.so...done.
Loaded symbols for /boot/system/lib/libtranslation.so
Reading symbols from /boot/system/lib/libz.so.1...done.
Loaded symbols for /boot/system/lib/libz.so.1
Reading symbols from /boot/system/lib/libroot-addon-icu.so...done.
Loaded symbols for /boot/system/lib/libroot-addon-icu.so
Reading symbols from /boot/system/add-ons/mail_daemon/inbound_filters/MatchHeader...done.
Loaded symbols for /boot/system/add-ons/mail_daemon/inbound_filters/MatchHeader
Reading symbols from /boot/system/add-ons/mail_daemon/inbound_filters/NewMailNotification...done.
Loaded symbols for /boot/system/add-ons/mail_daemon/inbound_filters/NewMailNotification
Reading symbols from /boot/system/add-ons/mail_daemon/inbound_filters/SpamFilter...done.
Loaded symbols for /boot/system/add-ons/mail_daemon/inbound_filters/SpamFilter
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
[Switching to team /boot/system/preferences/E-mail (7015) thread w>E-mail (7021)]
0xffff0114 in ?? ()
(gdb) bt
#0  0xffff0114 in ?? ()
#1  0x00647fee in debugger () from /boot/system/lib/libroot.so
#2  0x003e6fd9 in BView::_AddChild () from /boot/system/lib/libbe.so
#3  0x003e6f11 in BView::AddChild () from /boot/system/lib/libbe.so
#4  0x021f0034 in RuleFilterConfig::MessageReceived ()
   from /boot/system/add-ons/mail_daemon/inbound_filters/MatchHeader
#5  0x003174ef in BLooper::DispatchMessage () from /boot/system/lib/libbe.so
#6  0x003f03c5 in BWindow::DispatchMessage () from /boot/system/lib/libbe.so
#7  0x003f4788 in BWindow::task_looper () from /boot/system/lib/libbe.so
#8  0x00318a4b in BLooper::_task0_ () from /boot/system/lib/libbe.so
#9  0x0064c6e3 in thread_entry () from /boot/system/lib/libroot.so
#10 0x78033fec in ?? ()
(gdb) 

And here is snippet of my syslog:

KERN: [ACPI Debug]  String [0x10] "BAT0_BST_RETURN:"
Last message repeated 7 times
USER 'liblocale.so'[7042]: app application/x-vnd.haiku.mimeset send to client failed: Bad port ID
KERN: [ACPI Debug]  String [0x10] "BAT0_BST_RETURN:"
Last message repeated 3 times
KERN: 7021: DEBUGGER: AddChild failed - the view already has a parent.
KERN: debug_server: Thread 7021 entered the debugger: Debugger call: `AddChild failed - the view already has a parent.'
KERN: stack trace, current PC 0xffff0114  :
KERN:   (0x78033c3c)  0x3e6fd9  _AddChild__5BViewP5BViewT1 + 0x3d
KERN:   (0x78033c6c)  0x3e6f11  AddChild__5BViewP5BViewT1 + 0x29
KERN:   (0x78033c9c)  0x21f0034  MessageReceived__16RuleFilterConfigP8BMessage + 0x18c
KERN:   (0x78033cdc)  0x3174ef  DispatchMessage__7BLooperP8BMessageP8BHandler + 0x5b
KERN:   (0x78033d0c)  0x3f03c5  DispatchMessage__7BWindowP8BMessageP8BHandler + 0x1a99
KERN:   (0x78033f1c)  0x3f4788  task_looper__7BWindow + 0x270
KERN:   (0x78033f7c)  0x318a4b  _task0___7BLooperPv + 0x3f
KERN:   (0x78033fac)  0x64c6e3  thread_entry + 0x23
KERN: [ACPI Debug]  String [0x10] "BAT0_BST_RETURN:"
Last message repeated 55 times
USER 'liblocale.so'[7275]: app application/x-vnd.haiku-screenshot-cli send to client failed: Bad port ID
KERN: [ACPI Debug]  String [0x10] "BAT0_BST_RETURN:"
Last message repeated 5 times
USER 'liblocale.so'[3448]: app application/x-vnd.Haiku-Locale send to client failed: Bad port ID
KERN: [ACPI Debug]  String [0x10] "BAT0_BST_RETURN:"
Last message repeated 3 times
KERN: SYNAPTICS: bad mouse data, trying resync
KERN: [ACPI Debug]  String [0x10] "BAT0_BST_RETURN:"
USER 'liblocale.so'[7018]: app application/x-vnd.Haiku-Mail send to client failed: Bad port ID
USER 'liblocale.so'[7085]: app application/x-vnd.Haiku-Terminal send to client failed: Bad port ID
KERN: [ACPI Debug]  String [0x10] "BAT0_BST_RETURN:"

Attachments (2)

e-mail11.png (40.6 KB ) - added by Karvjorm 12 years ago.
Rule filter view prior to crash
e-mail12.png (7.5 KB ) - added by Karvjorm 12 years ago.
Popup menu with the "Replay with" line

Download all attachments as: .zip

Change History (4)

by Karvjorm, 12 years ago

Attachment: e-mail11.png added

Rule filter view prior to crash

by Karvjorm, 12 years ago

Attachment: e-mail12.png added

Popup menu with the "Replay with" line

comment:1 by axeld, 12 years ago

Owner: changed from bga to axeld
Status: newin-progress

IIRC I already fixed that in my IMAP branch.

comment:2 by axeld, 9 years ago

Resolution: fixed
Status: in-progressclosed

It had in fact been fixed in my branch. However, the E-mail preferences still crashed when leaving a filter view, and, furthermore, the MatchHeader add-on crashed on setting its values. The last two have been fixed by hrev50030.

Note: See TracTickets for help on using tickets.