[debian/shr apps] conatcts app crashes with full addressbook w/o any error message

arne anka openmoko at ginguppin.de
Tue Jan 19 23:14:16 CET 2010


> 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 () from /lib/libc.so.6
#1  0x401ded1c in _compare_contacts (_a=<value optimized out>, _b=0x112124)
     at phoneui-utils.c:674
#2  0x402401bc in ?? () from /lib/libc.so.6
Cannot access memory at address 0x0
#3  0x402401bc in ?? () from /lib/libc.so.6
Cannot access memory at address 0x0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)



> 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.



More information about the community mailing list