Opened 10 years ago

Closed 10 years ago

Last modified 10 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


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/
#2  0x004147c2 in BPrivate::TextGapBuffer::FindChar ()
   from /boot/system/lib/
#3  0x003f36a6 in BTextView::_TabExpandedStyledWidth ()
   from /boot/system/lib/
#4  0x003ef032 in BTextView::PointAt () from /boot/system/lib/
#5  0x003ef92f in BTextView::ScrollToOffset () from /boot/system/lib/
#6  0x003ee6fd in BTextView::Paste () from /boot/system/lib/
#7  0x0022b728 in BComboBox::TextInput::Paste ()
#8  0x003ed25d in BTextView::MessageReceived () from /boot/system/lib/
#9  0x00348753 in BLooper::DispatchMessage () from /boot/system/lib/
#10 0x0040c779 in BWindow::DispatchMessage () from /boot/system/lib/
#11 0x00410978 in BWindow::task_looper () from /boot/system/lib/
#12 0x00349caf in BLooper::_task0_ () from /boot/system/lib/
#13 0x008d60b2 in thread_entry () from /boot/system/lib/
#14 0x70184fec in ?? ()

Change History (6)

comment:1 by jackburton, 10 years ago

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

Looks like a BTextView issue.

comment:2 by axeld, 10 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, 10 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, 10 years ago

Is it really that obvious? :-)

comment:5 by zooey, 10 years ago

Resolution: fixed
Status: in-progressclosed

Fixed in hrev38006.

comment:6 by axeld, 10 years ago

Yay! :-)

Note: See TracTickets for help on using tickets.