Opened 10 years ago

Closed 9 years ago

#11859 closed bug (fixed)

[Tracker] crashes in BView::GetLayout(BView)

Reported by: diver Owned by: waddlesplash
Priority: normal Milestone: R1
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

hrev48777.

Tracker crashed while trying to play with Deskbar virtual directories.

Attachments (1)

Tracker-252-debug-15-02-2015-20-08-00.report (22.4 KB ) - added by diver 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by diver, 10 years ago

Description: modified (diff)

comment:2 by waddlesplash, 10 years ago

Owner: changed from axeld to waddlesplash
Status: newassigned

comment:3 by waddlesplash, 10 years ago

Milestone: R1Unscheduled

I played around a lot with my virtual directories and got no crashes. If you have a way to reproduce this 100% of the time, let me know. Otherwise, moving out of R1.

comment:4 by ttcoder, 10 years ago

hrev48802, in the same timeframe as this ticket was created, likely introduced a regression (the while (index-- > 0) still uses the postfix decrement operator even though the index is now used for accessing items, it should be changed to a prefix operator otherwise at first loop iteration we access out-of-bounds and at last iteration we access item # 1 instead of # 0 -- humble apologies if I'm doing a stupid mistake in reading the code, it's been a long day again today).

Any chance this crash might be related to that regression? The trace mentions layout.

Version 1, edited 10 years ago by ttcoder (previous) (next) (diff)

comment:5 by diver, 9 years ago

Milestone: UnscheduledR1

hrev49503.

open /boot/system/cache/tmp/tracker/virtual-directories/c65d46a7-3c4d-45ac-af32-4211d957ae3f/Exposure\!\ for\ BeOS

crashes it here every time.

comment:6 by waddlesplash, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev49505.

Note: See TracTickets for help on using tickets.