Opened 4 years ago

Closed 4 years ago

#12584 closed bug (fixed)

Tracker crashes when asked to remove a replicant with hey

Reported by: mmu_man Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: tracker, shelf Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Even when no replicant exist, asking the Shelf to do something results in a segfault:

hey Tracker delete Replicant BSnow of Shelf of View BPoseView of Window 0

Attachments (2)

Tracker-5612-debug-12-01-2016-01-44-21.report (14.6 KB) - added by mmu_man 4 years ago.
tracker_shelf (2.5 KB) - added by mmu_man 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by mmu_man

comment:1 Changed 4 years ago by mmu_man

Oh, it seems like it might be due to the multiple zombies I have in tracker_shelf:

~> message ~/config/settings/Tracker/tracker_shelf 
BMessage(0x0) {
        class = string("BShelf", 7 bytes)
        _zom_dsp = bool(true)
        _zom_alw = bool(true)
        _sg_cnt = int32(0xa or 10)
        replicant[0] = BMessage('ARCV') {
                uniqueid = int32(0x1 or 1)
                message = BMessage(0x0) {
                }
                position = BPoint(x:0, y:0)
        }
        replicant[1] = BMessage('ARCV') {
                uniqueid = int32(0x2 or 2)
                message = BMessage(0x0) {
                }
                position = BPoint(x:0, y:0)
        }
        replicant[2] = BMessage('ARCV') {
                uniqueid = int32(0x3 or 3)
                message = BMessage(0x0) {
                }
                position = BPoint(x:0, y:0)
        }
        replicant[3] = BMessage('ARCV') {
                uniqueid = int32(0x4 or 4)
                message = BMessage(0x0) {
                }
                position = BPoint(x:0, y:0)
        }
        replicant[4] = BMessage('ARCV') {
                uniqueid = int32(0x5 or 5)
                message = BMessage(0x0) {
                }
                position = BPoint(x:0, y:0)
        }
        replicant[5] = BMessage('ARCV') {
                uniqueid = int32(0x6 or 6)
                message = BMessage(0x0) {
                }
                position = BPoint(x:0, y:0)
        }
        replicant[6] = BMessage('ARCV') {
                uniqueid = int32(0x7 or 7)
                message = BMessage(0x0) {
                }
                position = BPoint(x:0, y:0)
        }
        replicant[7] = BMessage('ARCV') {
                uniqueid = int32(0x8 or 8)
                message = BMessage(0x0) {
                }
                position = BPoint(x:0, y:0)
        }
        replicant[8] = BMessage('ARCV') {
                uniqueid = int32(0x9 or 9)
                message = BMessage(0x0) {
                }
                position = BPoint(x:0, y:0)
        }
}

In any case, it shouldn't crash.

Changed 4 years ago by mmu_man

Attachment: tracker_shelf added

comment:2 Changed 4 years ago by mmu_man

Indeed, removing tracker_shelf gives:

~> hey Tracker delete Replicant BSnow of Shelf of View BPoseView of Window 0
Cannot find replicant at/with specified index/name. (error 0x80000003)

comment:3 Changed 4 years ago by waddlesplash

Resolution: fixed
Status: newclosed

Fixed in hrev50021.

Note: See TracTickets for help on using tickets.