Opened 8 years ago

Last modified 6 years ago

#8352 assigned bug

Gobe translators crashing DataTranslations prefs

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by diver)

This is hrev43766.

Gobe translators crash the DataTranslations preferences. Just click on a Gobe translator there and:

[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 9049 caused an exception: Segment violation
[...]
[Switching to team /boot/system/preferences/DataTranslations (9045) thread w>DataTranslations (9049)]
0x003b613b in BView::_ReservedView2 () from /boot/system/lib/libbe.so
(gdb) bt
#0  0x003b613b in BView::_ReservedView2 () from /boot/system/lib/libbe.so
#1  0x00312b86 in BBox::_ValidateLayoutData () from /boot/system/lib/libbe.so
#2  0x00311c9d in BBox::MinSize () from /boot/system/lib/libbe.so
#3  0x003b6b22 in BViewLayoutItem::MinSize () from /boot/system/lib/libbe.so
#4  0x003a8dcf in BTwoDimensionalLayout::LocalLayouter::AddConstraints ()
   from /boot/system/lib/libbe.so
#5  0x003a7d6d in BTwoDimensionalLayout::CompoundLayouter::_AddConstraints ()
   from /boot/system/lib/libbe.so
#6  0x003a7adb in BTwoDimensionalLayout::CompoundLayouter::ValidateMinMax ()
   from /boot/system/lib/libbe.so
#7  0x003a893e in BTwoDimensionalLayout::LocalLayouter::ValidateMinMax ()
   from /boot/system/lib/libbe.so
#8  0x003a7671 in BTwoDimensionalLayout::_ValidateMinMax ()
   from /boot/system/lib/libbe.so
#9  0x003a6cd4 in BTwoDimensionalLayout::BaseMinSize ()
   from /boot/system/lib/libbe.so
#10 0x0030737e in BAbstractLayout::MinSize () from /boot/system/lib/libbe.so
#11 0x003a8dcf in BTwoDimensionalLayout::LocalLayouter::AddConstraints ()
   from /boot/system/lib/libbe.so
#12 0x003a7d6d in BTwoDimensionalLayout::CompoundLayouter::_AddConstraints ()
   from /boot/system/lib/libbe.so
#13 0x003a7adb in BTwoDimensionalLayout::CompoundLayouter::ValidateMinMax ()
   from /boot/system/lib/libbe.so
#14 0x003a893e in BTwoDimensionalLayout::LocalLayouter::ValidateMinMax ()
   from /boot/system/lib/libbe.so
#15 0x003a7671 in BTwoDimensionalLayout::_ValidateMinMax ()
   from /boot/system/lib/libbe.so
#16 0x003a6cd4 in BTwoDimensionalLayout::BaseMinSize ()
   from /boot/system/lib/libbe.so
#17 0x0030737e in BAbstractLayout::MinSize () from /boot/system/lib/libbe.so
#18 0x003b38bc in BView::MinSize () from /boot/system/lib/libbe.so
#19 0x003bba6f in BWindow::UpdateSizeLimits () from /boot/system/lib/libbe.so
#20 0x003be244 in BWindow::Layout () from /boot/system/lib/libbe.so
#21 0x003bb5b6 in BWindow::DispatchMessage () from /boot/system/lib/libbe.so
#22 0x003bf954 in BWindow::task_looper () from /boot/system/lib/libbe.so
#23 0x002ea217 in BLooper::_task0_ () from /boot/system/lib/libbe.so
#24 0x00551153 in thread_entry () from /boot/system/lib/libroot.so
#25 0x78033fec in ?? ()
(gdb) 

Attachments (2)

DataTranslations-1887-debug-13-02-2014-11-29-49.report (20.0 KB ) - added by diver 6 years ago.
GOCRTranslator.0.0.2.pkg (202.2 KB ) - added by diver 6 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by diver, 6 years ago

Description: modified (diff)
Owner: changed from axeld to bonefish
Status: newassigned

Same problem with GOCRTranslator in hrev46865.

by diver, 6 years ago

Attachment: GOCRTranslator.0.0.2.pkg added

comment:2 by bonefish, 6 years ago

The this pointer in BView::_ReservedView2() is 0x00000002, which, if I read the stack trace and the BBox::_ValidateLayoutData() code correctly, is the pointer to the child of the BBox (as returned by BBox::_Child()). Doesn't sound all that plausible, as one would expect a crash already when the child was added.

comment:3 by bonefish, 6 years ago

Owner: changed from bonefish to nobody
Note: See TracTickets for help on using tickets.