Opened 14 years ago

Closed 14 years ago

#5279 closed bug (fixed)

Tracker crashes when openning Disk icon.

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

Description (last modified by jackburton)

Desktop Icons disappears and tracker crashes when any tracker window is opened, and Tracker navigator is enabled. Tested in hrev35111, gcc4 on real hardware.

Attachments (1)

screenshot1.png (72.6 KB ) - added by mt 14 years ago.
screenshot of desktop

Download all attachments as: .zip

Change History (10)

in reply to:  description comment:1 by mt, 14 years ago

Replying to mt:

Desktop Icons disappears and tracker crashes when double-clicking it. Tested in hrev35111, gcc4 on real hardware.

gdb log added.

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-pc-haiku"...(no debugging symbols found)

[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 1898 called debugger(): Need to set the 'disabled' pictures for this BPictureButton 
Reading symbols from /boot/system/runtime_loader...done.
Loaded symbols for /boot/system/runtime_loader
Reading symbols from /boot/system/lib/libbe.so...done.
Loaded symbols for /boot/system/lib/libbe.so
Reading symbols from /boot/system/lib/libtracker.so...done.
Loaded symbols for /boot/system/lib/libtracker.so
Reading symbols from /boot/system/lib/libroot.so...done.
Loaded symbols for /boot/system/lib/libroot.so
Reading symbols from /boot/system/lib/libstdc++.so...done.
Loaded symbols for /boot/system/lib/libstdc++.so
Reading symbols from /boot/system/lib/libtranslation.so...done.
Loaded symbols for /boot/system/lib/libtranslation.so
Reading symbols from /boot/system/lib/libtextencoding.so...done.
Loaded symbols for /boot/system/lib/libtextencoding.so
Reading symbols from /boot/system/lib/libsupc++.so...done.
Loaded symbols for /boot/system/lib/libsupc++.so
Reading symbols from /boot/system/add-ons/Translators/BMPTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/BMPTranslator
Reading symbols from /boot/system/add-ons/Translators/EXRTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/EXRTranslator
Reading symbols from /boot/system/lib/libilmimf.so...done.
Loaded symbols for /boot/system/lib/libilmimf.so
Reading symbols from /boot/system/lib/libz.so...done.
Loaded symbols for /boot/system/lib/libz.so
Reading symbols from /boot/system/add-ons/Translators/GIFTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/GIFTranslator
Reading symbols from /boot/system/add-ons/Translators/ICOTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/ICOTranslator
Reading symbols from /boot/system/add-ons/Translators/JPEG2000Translator...done.
Loaded symbols for /boot/system/add-ons/Translators/JPEG2000Translator
Reading symbols from /boot/system/add-ons/Translators/JPEGTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/JPEGTranslator
Reading symbols from /boot/system/add-ons/Translators/PCXTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/PCXTranslator
Reading symbols from /boot/system/add-ons/Translators/PNGTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/PNGTranslator
Reading symbols from /boot/system/add-ons/Translators/PPMTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/PPMTranslator
Reading symbols from /boot/system/add-ons/Translators/RAWTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/RAWTranslator
Reading symbols from /boot/system/add-ons/Translators/RTF-Translator...done.
Loaded symbols for /boot/system/add-ons/Translators/RTF-Translator
Reading symbols from /boot/system/add-ons/Translators/SGITranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/SGITranslator
Reading symbols from /boot/system/add-ons/Translators/STXTTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/STXTTranslator
Reading symbols from /boot/system/add-ons/Translators/TGATranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/TGATranslator
Reading symbols from /boot/system/add-ons/Translators/TIFFTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/TIFFTranslator
Reading symbols from /boot/system/add-ons/Translators/WonderBrushTranslator...done.
Loaded symbols for /boot/system/add-ons/Translators/WonderBrushTranslator
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
[Switching to team /boot/system/Tracker (1884) thread w>Haiku (1898)]
0xffff0114 in ?? ()
(gdb) bt
#0  0xffff0114 in ?? ()
#1  0x005d9f73 in debugger () from /boot/system/lib/libroot.so
#2  0x0030a400 in BPictureButton::Draw () from /boot/system/lib/libbe.so
#3  0x00354abc in BView::_Draw () from /boot/system/lib/libbe.so
#4  0x0035f3b5 in BWindow::DispatchMessage () from /boot/system/lib/libbe.so
#5  0x0035af21 in BWindow::task_looper () from /boot/system/lib/libbe.so
#6  0x002aa022 in BLooper::_task0_ () from /boot/system/lib/libbe.so
#7  0x005ddc6b in thread_entry () from /boot/system/lib/libroot.so
#8  0x70184fec in ?? ()
(gdb) 

comment:2 by stippi, 14 years ago

"hread 1898 called debugger(): Need to set the 'disabled' pictures for this BPictureButton "

What replicants do you have embedded on your desktop? Also, are you sure that it's the Tracker which crashed?

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

Replying to stippi:

"hread 1898 called debugger(): Need to set the 'disabled' pictures for this BPictureButton "

What replicants do you have embedded on your desktop? Also, are you sure that it's the Tracker which crashed?

I think that the Tracker navigator uses BPictureButton, so might be possible it's something in there.

in reply to:  3 comment:4 by mt, 14 years ago

Replying to jackburton:

I think that the Tracker navigator uses BPictureButton, so might be possible it's something in there.

Oh, I'm using Tracker navigator! After deleting tracker settings from Ubuntu, tracker can open disk icons, but some icons (boot disk, /develop, /home, /system, trash)still missing.

by mt, 14 years ago

Attachment: screenshot1.png added

screenshot of desktop

comment:5 by jackburton, 14 years ago

Description: modified (diff)
Summary: Tacker crashes when openning Disk icon.Tracker crashes when openning Disk icon.

Happens here too, in fact, as soon as I enable the Tracker navigator. But I have to say that since some revisions, some icons dont' show up anymore in tracker, too (I think I've seen a ticket relative to missing attributes/resources when building from linux/bsd, but can't find it right now).

comment:6 by anevilyak, 14 years ago

There is no ticket because I didn't make one yet....I asked on the mailing list and was trying to binary search it, but it seems entirely random which leads me to think it's a race or other problem in the build tools of some form. The one interesting thing is that all the missing icons in question are Tracker rsrc icons rather than the usual variety retrieved from the mime database, but I can't for the life of me find a cause, and am doubly baffled that it works flawlessly every time with the same exact code built within Haiku.

comment:7 by anevilyak, 14 years ago

And the mystery thickens: I added a few printfs to GetTrackerResources() in Bitmaps.cpp to see if the resources were in fact getting initialized properly and suddenly the FreeBSD-built one works again :/

comment:8 by mt, 14 years ago

hrev35136 seems to work fine. (Built with Ubuntu 9.10)

comment:9 by anevilyak, 14 years ago

Resolution: fixed
Status: newclosed

Same here on FreeBSD, though none of my changes should have affected that, nor was I ever able to find cause of failure (adding debugging to a previously failing build made it magically succeed). Closing for now, please reopen if seen again.

Note: See TracTickets for help on using tickets.