Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5959 closed bug (fixed)

Pasting "mailto:" into Mail crashes

Reported by: humdinger Owned by: zooey
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/alpha2
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is r1a2.

If you copy "mailto:" into the clipboard and paste it into Mail's "To" gdb comes up with:

[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 1617 called debugger(): RealCharAt: invalid index supplied
[...]
[Switching to team /boot/system/apps/Mail (1607) thread w>Mail (1617)]
0xffff0114 in ?? ()
(gdb) bt
#0  0xffff0114 in ?? ()
#1  0x008d1bfe in debugger () from /boot/system/lib/libroot.so
#2  0x004147c2 in BPrivate::TextGapBuffer::FindChar ()
   from /boot/system/lib/libbe.so
#3  0x003f36a6 in BTextView::_TabExpandedStyledWidth ()
   from /boot/system/lib/libbe.so
#4  0x003ef032 in BTextView::PointAt () from /boot/system/lib/libbe.so
#5  0x003ef92f in BTextView::ScrollToOffset () from /boot/system/lib/libbe.so
#6  0x003ee6fd in BTextView::Paste () from /boot/system/lib/libbe.so
#7  0x0022b728 in BComboBox::TextInput::Paste ()
#8  0x003ed25d in BTextView::MessageReceived () from /boot/system/lib/libbe.so
#9  0x00348753 in BLooper::DispatchMessage () from /boot/system/lib/libbe.so
#10 0x0040c779 in BWindow::DispatchMessage () from /boot/system/lib/libbe.so
#11 0x00410978 in BWindow::task_looper () from /boot/system/lib/libbe.so
#12 0x00349caf in BLooper::_task0_ () from /boot/system/lib/libbe.so
#13 0x008d60b2 in thread_entry () from /boot/system/lib/libroot.so
#14 0x70184fec in ?? ()

Change History (6)

comment:1 by jackburton, 14 years ago

Component: Applications/MailKits/Interface Kit
Owner: changed from bga to axeld

Looks like a BTextView issue.

comment:2 by axeld, 14 years ago

Owner: changed from axeld to zooey
Status: newassigned

Since it worked so well with the other bug, I give zooey a chance to look at it :-)

in reply to:  2 comment:3 by zooey, 14 years ago

Status: assignedin-progress

Replying to axeld:

Since it worked so well with the other bug, I give zooey a chance to look at it :-)

Ah, now I get it: your secret plan is to make me fix all BTextView bugs *before* October, so that I can actually get some proper work done during BeGeistert, right? :-)

comment:4 by axeld, 14 years ago

Is it really that obvious? :-)

comment:5 by zooey, 14 years ago

Resolution: fixed
Status: in-progressclosed

Fixed in hrev38006.

comment:6 by axeld, 14 years ago

Yay! :-)

Note: See TracTickets for help on using tickets.