[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-bugs
Subject: [Haiku-bugs] [Haiku] #1733: BAlert sometimes crashes (appears to be
From: "Haiku" <trac () haiku-os ! org>
Date: 2008-01-28 1:51:22
Message-ID: 044.f4a86b9d0fcb4f6ec22e64e7467ed5e9 () haiku-os ! org
[Download RAW message or body]
#1733: BAlert sometimes crashes (appears to be somewhere in BMessage's internals)
----------------------------------+-----------------------------------------
Reporter: anevilyak | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Kits/Application Kit | Version: R1 development
Platform: All |
----------------------------------+-----------------------------------------
In Vision, there is an option to warn you on pasting multiline messages.
This brings up a BAlert that is constructed as follows:
BString str;
str += "As if there isn't enough, you ";
str += "are about to add ";
str << lines;
str += " more lines of spam to ";
str += "the internet. How ";
str += "would you like to go about this?";
BAlert *alert (new BAlert (
"Spam",
str.String(),
"Cancel",
"Spam!",
"Single Line",
B_WIDTH_FROM_WIDEST,
B_OFFSET_SPACING,
B_WARNING_ALERT));
BMessage *invokeMsg (new BMessage (msg));
BInvoker *invoker (new BInvoker (invokeMsg, msgr));
invokeMsg->AddPointer ("invoker", invoker);
alert->Go (invoker);
Roughly every other time, picking any of the presented options on the
aforementioned alert results in a crash with the following trace:
0x003d09a1 in BMessage::IsSourceWaiting () from /
boot/beos/system/lib/libbe.so
(gdb) bt
#0 0x003d09a1 in BMessage::IsSourceWaiting ()
from /boot/beos/system/lib/libbe.so
#1 0x003d3158 in BMessage::_SendMessage () from /
boot/beos/system/lib/libbe.so
#2 0x003d97d8 in BMessenger::SendMessage ()
from /boot/beos/system/lib/libbe.so
#3 0x003d971b in BMessenger::SendMessage ()
from /boot/beos/system/lib/libbe.so
#4 0x003cb805 in BInvoker::Invoke () from /boot/
beos/system/lib/libbe.so
#5 0x003e8da3 in BAlert::MessageReceived ()
from /boot/beos/system/lib/libbe.so
#6 0x003ccd1b in BLooper::DispatchMessage ()
from /boot/beos/system/lib/libbe.so
#7 0x0046d769 in BWindow::DispatchMessage ()
from /boot/beos/system/lib/libbe.so
#8 0x003e8eeb in BAlert::DispatchMessage ()
from /boot/beos/system/lib/libbe.so
#9 0x00470f00 in BWindow::task_looper () from /
boot/beos/system/lib/libbe.so
#10 0x003ce253 in BLooper::_task0_ () from /boot/
beos/system/lib/libbe.so
#11 0x0086e264 in thread_entry () from /boot/beos/
system/lib/libroot.so
#12 0x70184fec in ?? ()
Unfortunately I'm unable to debug this further using gdb because I've been
unsuccessful at building debugging versions of libbe (halted by libroot
failing to link).
--
Ticket URL: <http://dev.haiku-os.org/ticket/1733>
Haiku <http://dev.haiku-os.org>
The Haiku operating system.
_______________________________________________
Haiku-bugs mailing list
Haiku-bugs@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/haiku-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic