Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
And another failing strcmp :P (The segfaults I reported so far where strcmp caused, too). I just checked the source. I guess you have a contact with an empty Name field. Can you check [1] /etc/freesmartphone/opim/csv-contacts.txt for such contacts? indeed there where a few. replacing it with a generic string makes contacts work again. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
shh freerunner $ export DISPLAY=:0.0 $ gdb phoneuid # run # bt here's what i get when starting phoneui-contacts. besides the actual crash there seems to be an issue with the log file -- i don't find where it is defined, but it is set to /var/log/phoneuid.log ... and per default writable for root only, while phoneuid runs as normal user, i guess? (gdb) run Starting program: /usr/bin/phoneuid [Thread debugging using libthread_db enabled] Log file: /var/log/phoneuid.log Log level: DEBUG (process:8351): phoneuid-DEBUG: Configuration file read phoneuid-Message: Using log level 'DEBUG' libphone-ui-Message: Loading phoneuid libphone-ui-Message: No speaker value for idle found, using none libphone-ui-Message: No microphone value for idle found, using none (process:8351): libphone-ui-DEBUG: settisg speaker_min to 90 libphone-ui-Message: no vibrator configured - turning vibration off (process:8351): libphone-ui-DEBUG: feedback: no flash configured for action error (process:8351): libphone-ui-DEBUG: feedback: no sound configured for action error (process:8351): libphone-ui-DEBUG: feedback: no vibrate configured for action error (process:8351): libphone-ui-DEBUG: feedback: no flash configured for action warning (process:8351): libphone-ui-DEBUG: feedback: no sound configured for action warning (process:8351): libphone-ui-DEBUG: feedback: no vibrate configured for action warning (process:8351): libphone-ui-DEBUG: feedback: no flash configured for action notice (process:8351): libphone-ui-DEBUG: feedback: no sound configured for action notice (process:8351): libphone-ui-DEBUG: feedback: no vibrate configured for action notice (process:8351): libphone-ui-DEBUG: feedback: no flash configured for action click (process:8351): libphone-ui-DEBUG: feedback: no sound configured for action click (process:8351): libphone-ui-DEBUG: feedback: no vibrate configured for action click (process:8351): libphone-ui-shr-WARNING **: No such file or directory (process:8351): libframeworkd-glib-DEBUG: Trying to get the system bus (process:8351): libframeworkd-glib-DEBUG: Adding signals. (process:8351): libframeworkd-glib-DEBUG: registered to GSM.Network.Status (process:8351): libframeworkd-glib-DEBUG: registered to GSM.Network.SignalStrength (process:8351): libframeworkd-glib-DEBUG: registered to GSM.Call.CallStatus (process:8351): libframeworkd-glib-DEBUG: registered to Device.IdleNotifier.State (process:8351): libframeworkd-glib-DEBUG: registered to Device.PowerSupply.Capacity. (process:8351): libframeworkd-glib-DEBUG: registered to Usage.ResourceChanged (process:8351): libframeworkd-glib-DEBUG: registered to PIM.Messages.UnreadMessages (process:8351): libframeworkd-glib-DEBUG: registered to PIM.Calls.NewMissedCalls (process:8351): libframeworkd-glib-DEBUG: registered to Preferences.Notify (process:8351): libphone-ui-shr-DEBUG: Initiated elementary (process:8351): libphone-ui-DEBUG: _idle_notifier_handler: idle state now 0 (process:8351): phoneuid-DEBUG: org.shr.phoneuid.Contacts.DisplayList (process:8351): libphone-ui-shr-DEBUG: window_new (process:8351): libphone-ui-shr-DEBUG: window_init(win=234408) (process:8351): libphone-ui-shr-DEBUG: window_view_show() (process:8351): libphone-ui-shr-DEBUG: window_view_hide() (process:8351): libphone-ui-shr-DEBUG: contact_list_view_show() (process:8351): libphone-ui-shr-DEBUG: No frame to hide (process:8351): libphone-ui-shr-DEBUG: frame_list_show() (process:8351): libphone-ui-shr-DEBUG: setting layout from file '/usr/share/libphone-ui-shr/default.edj' (phoneui/contacts/list) Error creating the logfile (/var/log/phoneuid.log) !!!EDJE ERROR: file /usr/share/elementary/themes/default.edj, group elm/index/base/vertical/default has a non-fixed part. add fixed: 1 1; ??? Problem part is: elm.swallow.event.0 Will recalc min size not allowing broken parts to affect the result. (process:8351): libphone-ui-shr-DEBUG: contact_list_fill() libphone-ui-Message: Probing for contacts (process:8351): libphone-ui-shr-DEBUG: window_show(win=234408) (process:8351): libphone-ui-DEBUG: _handle_network_status (process:8351): libphone-ui-DEBUG: provider is 'E-Plus' (process:8351): libphone-ui-DEBUG: signal strength is 52 (process:8351): GLib-CRITICAL **: g_hash_table_unref: assertion `hash_table-ref_count 0' failed (process:8351): libphone-ui-DEBUG: _handle_network_status (process:8351): libphone-ui-DEBUG: provider is 'E-Plus' (process:8351): libphone-ui-DEBUG: signal strength is 52 (process:8351): GLib-CRITICAL **: g_hash_table_unref: assertion `hash_table-ref_count 0' failed libphone-ui-Message: Contact query result gave 34 entries (process:8351): libphone-ui-DEBUG: Got to _contact_list_result_callback (process:8351): GLib-GObject-CRITICAL **: g_value_get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed Program received signal SIGSEGV, Segmentation fault. 0x402858c0 in strcasecmp () from /lib/libc.so.6 (gdb) bt #0 0x402858c0 in strcasecmp
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
On Tue, Jan 19, 2010 at 11:14:16PM +0100, arne anka wrote: shh freerunner $ export DISPLAY=:0.0 $ gdb phoneuid # run # bt here's what i get when starting phoneui-contacts. besides the actual crash there seems to be an issue with the log file -- i don't find where it is defined, but it is set to /var/log/phoneuid.log ... and per default writable for root only, while phoneuid runs as normal user, i guess? phoneuid is supposed to be started as the X user. In SHR they are using the root account for everything, so they don't have this problem ;) Try adding log_file = in the config file. #1 0x401ded1c in _compare_contacts (_a=value optimized out, _b=0x112124) at phoneui-utils.c:674 And another failing strcmp :P (The segfaults I reported so far where strcmp caused, too). I just checked the source. I guess you have a contact with an empty Name field. Can you check [1] /etc/freesmartphone/opim/csv-contacts.txt for such contacts? Ah I may have forgotten to switch default logging back to file. Can you check your frameworkd's config? yes, indeed. although i compared both the old and the new one in meld and copied log_level and log_destination over, the hash mark has escaped me. log_to was set to stderr instead of file. I guess I should change this back *makes notice* -- Sebastian signature.asc Description: Digital signature ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[debian/shr apps] conatcts app crashes with full addressbook w/o any error message
after today's update of libphone-ui*, the gui of contacts, dialer, messages and pin dialog looks ok. thanks to whoever is responsible. so i used the not so recently posted script [1] to import my contacts from an vcf file into opimd -- but after that, contacts crashes immediately without logging any error whatsoever. is there any way to make contacts (or any other shr/phoneui app) more verbose? [1] http://www.mail-archive.com/community@lists.openmoko.org/msg56143.html ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
Am Montag 18 Januar 2010 18:53:53 schrieb arne anka: after today's update of libphone-ui*, the gui of contacts, dialer, messages and pin dialog looks ok. thanks to whoever is responsible. so i used the not so recently posted script [1] to import my contacts from an vcf file into opimd -- but after that, contacts crashes immediately without logging any error whatsoever. is there any way to make contacts (or any other shr/phoneui app) more verbose? in /etc/phoneuid.conf set log_level to DEBUG -- Klaus 'mrmoku' Kurzmann ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
On Mon, Jan 18, 2010 at 06:53:53PM +0100, arne anka wrote: after today's update of libphone-ui*, the gui of contacts, dialer, messages and pin dialog looks ok. thanks to whoever is responsible. np :) so i used the not so recently posted script [1] to import my contacts from an vcf file into opimd -- but after that, contacts crashes immediately without logging any error whatsoever. is there any way to make contacts (or any other shr/phoneui app) more verbose? Can you check what is actually crashing? The framework? phoneuid? I will update the framework later. There were some changes in opimd since the last Debian package. -- Sebastian signature.asc Description: Digital signature ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
in /etc/phoneuid.conf set log_level to DEBUG that has been my first thought -- no dice. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
Can you check what is actually crashing? The framework? phoneuid? I will update the framework later. There were some changes in opimd since the last Debian package. actually, it really seems to be only the contacts app itself. messages and dialer come up fine, but once i hit in dialer the button to open contacts (to select a number), even the dialer crashes. phoneuid log and phonefsod log are both silent about that, although set to DEBUG (and since today's update of fso-config-gta02 the frameworkd log stays empty. not sure if coincidence or causation, though). ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian/shr apps] conatcts app crashes with full addressbook w/o any error message
On Mon, Jan 18, 2010 at 08:51:25PM +0100, arne anka wrote: Can you check what is actually crashing? The framework? phoneuid? I will update the framework later. There were some changes in opimd since the last Debian package. actually, it really seems to be only the contacts app itself. messages and dialer come up fine, but once i hit in dialer the button to open contacts (to select a number), even the dialer crashes. Can you install gdb and check for the segfault reason? shh freerunner $ export DISPLAY=:0.0 $ gdb phoneuid # run # bt You should install libphoneui-shr-dbg and libphoneui0-dbg before, though. phoneuid log and phonefsod log are both silent about that, although set to DEBUG (and since today's update of fso-config-gta02 the frameworkd log stays empty. not sure if coincidence or causation, though). Ah I may have forgotten to switch default logging back to file. Can you check your frameworkd's config? -- Sebastian signature.asc Description: Digital signature ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community