Opened 12 years ago

Closed 12 years ago

#9312 closed bug (fixed)

Deskbar: always crash

Reported by: dsjonny Owned by: jscipione
Priority: normal Milestone: R1
Component: Applications/Deskbar Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I have tried the latest Deskbar (build from the source code, and from the latest nightly iamge).

If I use from the source code, I use it under R1A4.1: replace the libtracker.so, Tracker, Deskbar, Deskba (pref), Time (pref). If I want to set the time settings by click on the time in the self, the Time pref. appear, but the Deskbar crash. This is the same on any action randomly.

GNU gdb 6.3
...

[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 9049 caused an exception: Segment violation
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++.r4.so...done.
Loaded symbols for /boot/system/lib/libstdc++.r4.so
Reading symbols from /boot/system/lib/libicudata.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicudata.so.48.1.1
Reading symbols from /boot/system/lib/libicui18n.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicui18n.so.48.1.1
Reading symbols from /boot/system/lib/libicuio.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicuio.so.48.1.1
Reading symbols from /boot/system/lib/libicule.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicule.so.48.1.1
Reading symbols from /boot/system/lib/libiculx.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libiculx.so.48.1.1
Reading symbols from /boot/system/lib/libicutu.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicutu.so.48.1.1
Reading symbols from /boot/system/lib/libicuuc.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicuuc.so.48.1.1
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/libroot-addon-icu.so...done.
Loaded symbols for /boot/system/lib/libroot-addon-icu.so
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
[Switching to team /boot/system/Deskbar (9040) thread w>Deskbar (9049)]
0x007eb6ae in strdup () from /boot/system/lib/libroot.so
(gdb) 

If I use the latest nightly all the same. I have attached the debugger logs.

I try to remove the settings for the Deskbar, and for the Time, but not helped. I think for the localization too: change the language back to English, but I got the same problem.

Attachments (6)

Deskbar-132-debug-21-12-2012-21-35-44.report (10.8 KB ) - added by dsjonny 12 years ago.
Deskbar-820-debug-21-12-2012-21-36-30.report (10.8 KB ) - added by dsjonny 12 years ago.
Deskbar-1053-debug-21-12-2012-21-37-46.report (9.0 KB ) - added by dsjonny 12 years ago.
Deskbar-1488-debug-21-12-2012-21-39-11.report (9.0 KB ) - added by dsjonny 12 years ago.
time.png (12.7 KB ) - added by dsjonny 12 years ago.
0001-Fix-initializing-fClockSettingFile.patch (786 bytes ) - added by mt 12 years ago.

Download all attachments as: .zip

Change History (18)

comment:1 by dsjonny, 12 years ago

I have attached the debug reports what I got when I used the nightly image (44926). As you can see all the same. I have attached 4 logs, because I have tried 1-2 things: remove, the Deskbar settings, change the language settings...

comment:2 by anevilyak, 12 years ago

Component: Kits/libtracker.soApplications/Deskbar
Owner: changed from anevilyak to jscipione
Priority: highnormal
Status: newassigned

comment:3 by anevilyak, 12 years ago

Not able to reproduce this here.

comment:4 by jscipione, 12 years ago

You are going to have to replace libroot.so to upgrade Deskbar on a running system as well. Then it should work.

comment:5 by dsjonny, 12 years ago

I have replaced the libroot.so too, but after some click I got crash too.

[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 206 caused an exception: Segment violation
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++.r4.so...done.
Loaded symbols for /boot/system/lib/libstdc++.r4.so
Reading symbols from /boot/system/lib/libicudata.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicudata.so.48.1.1
Reading symbols from /boot/system/lib/libicui18n.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicui18n.so.48.1.1
Reading symbols from /boot/system/lib/libicuio.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicuio.so.48.1.1
Reading symbols from /boot/system/lib/libicule.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicule.so.48.1.1
Reading symbols from /boot/system/lib/libiculx.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libiculx.so.48.1.1
Reading symbols from /boot/system/lib/libicutu.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicutu.so.48.1.1
Reading symbols from /boot/system/lib/libicuuc.so.48.1.1...done.
Loaded symbols for /boot/system/lib/libicuuc.so.48.1.1
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/libroot-addon-icu.so...done.
Loaded symbols for /boot/system/lib/libroot-addon-icu.so
Reading symbols from /boot/system/servers/mail_daemon...done.
Loaded symbols for /boot/system/servers/mail_daemon
Reading symbols from /boot/system/lib/libmail.so...done.
Loaded symbols for /boot/system/lib/libmail.so
Reading symbols from /boot/system/lib/libnetwork.so...done.
Loaded symbols for /boot/system/lib/libnetwork.so
Reading symbols from /boot/system/lib/libbnetapi.so...done.
Loaded symbols for /boot/system/lib/libbnetapi.so
Reading symbols from /boot/common/lib/libcrypto.so.1.0.0...done.
Loaded symbols for /boot/common/lib/libcrypto.so.1.0.0
Reading symbols from /boot/common/lib/libssl.so.1.0.0...done.
Loaded symbols for /boot/common/lib/libssl.so.1.0.0
Reading symbols from /boot/system/lib/libz.so.1.2.7...done.
Loaded symbols for /boot/system/lib/libz.so.1.2.7
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
[Switching to team /boot/system/Deskbar (134) thread w>Deskbar (206)]
0x007ed5d3 in strdup () from /boot/system/lib/libroot.so
(gdb) 

I also rebuild the source, and use the latest apps/libs.

comment:6 by dsjonny, 12 years ago

Sometimes when I open a Time pref from the clock's menu, the controls are inactive (and the Deskbar crash...):

Last edited 12 years ago by dsjonny (previous) (diff)

by dsjonny, 12 years ago

Attachment: time.png added

comment:7 by dsjonny, 12 years ago

I found something: I have installed the latest nightly image (45092), and the Deskbar does not save the settings. After I restert the system or just the Deskbar, the default settings will be use.

comment:8 by dsjonny, 12 years ago

Update: since some days I have no crash, but the Deskbar does not save the settings.

And foound another thing: on the Deskbar preferences panel the active list item is not bold as on the Tracker's preferences panel.

in reply to:  8 ; comment:9 by mt, 12 years ago

Replying to dsjonny:

Update: since some days I have no crash, but the Deskbar does not save the settings.

Hi, this patch may solve the problem (Deskbar dose not save the settings) . In TBarApp::InitSettings(), fClockSettingFile initialized incorrectly, so Deskbar can't save settings.

comment:10 by mt, 12 years ago

patch: 01

in reply to:  9 comment:11 by anevilyak, 12 years ago

Replying to mt:

Hi, this patch may solve the problem (Deskbar dose not save the settings) . In TBarApp::InitSettings(), fClockSettingFile initialized incorrectly, so Deskbar can't save settings.

It does indeed, thanks! Applied in hrev45115.

comment:12 by korli, 12 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.