Ticket #215 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

fingerwheel crashes mainmenu when touching the black part

Reported by: koen@… Owned by: mickey@…
Priority: high Milestone:
Component: openmoko-libs Version: current svn head
Severity: blocker Keywords:
Cc: buglog@…, stefan@… HasPatchForReview:
Blocked By: Estimated Completion (week):
PatchReviewResult: Blocking:
Reproducible:

Description

fingerwheel crashes when touching the black part, and after 3 crashes no
openmoko application will start.

Change History

Changed 3 years ago by stefan@…

The finger-wheel in openmoko-finger-demo works fine from last svn on x86.

Do you use it on your ipaq? Can you start it from the console and give me an
error log from the crashes?

Changed 3 years ago by stefan@…

I was able to reproduce it with openmoko-mainmenu on x86. I'll see if I found
something obvious.

Changed 3 years ago by koen@…

  • summary changed from fingerwheel crashes when touching the black part to fingerwheel crashes mainmenu when touching the black part

It doesn't happen in the finger demo on my ipaq, only in main-menu

Changed 3 years ago by koen@…

  • cc stefan@… added

Changed 3 years ago by sunzhiyong@…

  • status changed from new to closed
  • resolution set to fixed

same reason with #154.

Changed 3 years ago by koen@…

  • status changed from closed to reopened
  • resolution fixed deleted

Mainmenu still crashes!

Changed 3 years ago by sunzhiyong@…

  • status changed from reopened to assigned

Please list more details about your operations(it will not crashed on my board
and PC).
there are two functions of the bottom button of mainmenu's finger wheel:
1. back to the parent folder
2. hide the main finger window (when you are in the top folder)

Changed 3 years ago by koen@…

root@fic-gta01:~$ gdb openmoko-mainmenu
GNU gdb 6.6
Copyright (C) 2006 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 "arm-angstrom-linux-gnueabi"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/openmoko-mainmenu
BFD: /usr/lib/.debug/libexpat.so.1.5.0: warning: sh_link not set for section
`.ARM.exidx'

(openmoko-mainmenu:2217): GLib-GObject-WARNING **: invalid cast from
MokoFingerWheel' to GtkWindow?'

(openmoko-mainmenu:2217): Gtk-CRITICAL **: gtk_window_set_title: assertion
`GTK_IS_WINDOW (window)' failed
moko: vfolder_path_root=/usr/share/matchbox/vfolders/Root.directory
moko: vfolder_path=/usr/share/matchbox/vfolders
moko: RootMatchStr?=[PIM]
mokodesktop: failed to open /usr/local/share/applications
mokodesktop: failed to open /home/root/.applications
** (openmoko-mainmenu:2217): DEBUG: moko_finger_wheel_show
** (openmoko-mainmenu:2217): DEBUG: moko_finger_wheel: toolbox not visible,
doing nothing
** (openmoko-mainmenu:2217): DEBUG: moko_finger_wheel_set_transient_for
** (openmoko-mainmenu:2217): DEBUG: moko_finger_wheel_button_press
** (openmoko-mainmenu:2217): DEBUG: moko_finger_wheel_button_check_area
** (openmoko-mainmenu:2217): DEBUG: The event x=46, y=112
** (openmoko-mainmenu:2217): DEBUG: The req width=152, height=152
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: FIXME: emit scroll values here...
** (openmoko-mainmenu:2217): DEBUG: moko_finger_wheel_button_release

Changed 3 years ago by koen@…

Surprisingly gdb doesn't think it crashed, but the mainmenu isn't visible
anymore, nor is it in "active tasks".

Changed 3 years ago by sunzhiyong@…

Oh. Firstly, I must say that it not a bug, and mainmenu is not crashed.
The "active task" folder of Matchbox-Desktop always show all the full screen
windows, but not all the windows, for example iconify window will not.
The mainmenu finger wheel just hide (iconify) the window, so you can't find it
in matchbox-desktop active task, but you can use openmoko-taskmanager to find it
out.

AND:
Whether we should use this function here??
Or does our applications need "exit" function?

Changed 3 years ago by alphaone@…

  • status changed from assigned to closed
  • resolution set to fixed

The crashes were fixed a long time ago. Minimizing is the intended
functionality, thus closing this bug.

Note: See TracTickets for help on using tickets.