Ticket #1202 (closed defect: fixed)

Opened 11 years ago

Last modified 2 years ago

Packagekit may crash while installing

Reported by: tick@… Owned by: allen_lin@…
Priority: high Milestone:
Component: Applications & Dependencies Version: current svn head
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

After installing and uninstalling for many times.
The packagekitd may go away.

Maybe it is because *opkg fork failed* but I am not knowing why now.

It's seems nothing related with assassin.


root@fic-gta01:~$ assassin install 'tcl;8.4.11-r5;armv4t;'
DEBUG: (assassin.c, 53): get_properties: Type: 0 status: 0 T->package is
tcl;8.4.11-r5;armv4t;
DEBUG: (pkutil.c, 105): packagekit_thread: g_main_loop_run starts
DEBUG: (pkutil.c, 64): pkg_client_initialize: Getting new pk_connection
DEBUG: (pkutil.c, 67): pkg_client_initialize: Getting new pk_client
DEBUG: (pkutil.c, 21): check_connection: check PASS!!
DEBUG: (pkutil.c, 32): check_packagekit: Connection is fine!!
DEBUG: (confirm_command.c, 65): do_confirm:
CP.target->package=tcl;8.4.11-r5;armv4t;
DEBUG: (gears.c, 24): autolayout_type_message: type x=12,y= 0,w=104,h=32
DEBUG: (gears.c, 31):
autolayout_button: button move to ( 0,125)
DEBUG: (gears.c, 31): autolayout_button: button move to (240,125)
DEBUG: (assassin.c, 79): main: ecore main loop runs
DEBUG: (confirm_command.c, 18): assassin_confirm_positive: Yes selected!!
DEBUG: (confirm_command.c, 21): assassin_confirm_positive:
cp->target->package=tcl;8.4.11-r5;armv4t;
DEBUG: (actions.c, 160): action: Try to install: tcl;8.4.11-r5;armv4t;
DEBUG: (gears.c, 162): new_Progressbar: text = Downloading
DEBUG: (actions.c, 122): pk_status_change_cb: 0;daeebcde;data Status: setup 0
DEBUG: (actions.c, 135): pk_status_change_cb: target->status=1
DEBUG: (actions.c, 122): pk_status_change_cb: 0;daeebcde;data Status: install
7
DEBUG: (actions.c, 135): pk_status_change_cb: target->status=3
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=0
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 0
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 0
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 2
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 4
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=4
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 4
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 6
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 8
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 10
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 12
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 14
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 16
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 18
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=18
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 18
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 20
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 22
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 24
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 26
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 29
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 31
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 33
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=33
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 33
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 35
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 37
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 39
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 41
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 43
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 45
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 47
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=47
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 47
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 49
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 51
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 53
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 55
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 57
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 59
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 62
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 64
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=64
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 64
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 66
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 68
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 70
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 72
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 74
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 76
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 78
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=78
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 78
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 80
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 82
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 84
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 86
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 88
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 90
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 92
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 95
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 97
DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=97
DEBUG: (actions.c, 51): eavs_progress_bar_cb: progress is 97
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 99
DEBUG: (actions.c, 92): pk_progress_cb: Progress Update 100

DEBUG: (actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2
progress=100
opkg: fork failed
DEBUG: (pkutil.c, 54): pk_connection_changed_cb: Connection changed event
happened!!
DEBUG: (pkutil.c, 57): pk_connection_changed_cb: The daemon went away...DEBUG:
(actions.c, 23): eavs_progress_bar_cb: Update Progess bar status=2 progress=100

Change History

comment:1 Changed 11 years ago by thomas@…

I have tried using pkcon to install and remove a package several times and I
have not managed to reproduce this error.

Today I fixed an issue with the progress bar code which may have resulted in a
crash. Could you please test again using pkcon and see if you can still
reproduce this bug with the latest code. If you can, please run packagekitd
inside gdb and attach a stack trace if it crashes.

comment:2 Changed 11 years ago by tick@…

DEBUG: (actions.c, 122): pk_message_cb: details is Downloading
http://192.168.0.200/build/deploy/glibc/ipk/armv4t//aspell_0.60.5-r0_armv4t.ipk

DEBUG: (actions.c, 75): pk_progress_cb: Progress Update 2
DEBUG: (actions.c, 75): pk_progress_cb: Progress Update 26
DEBUG: (actions.c, 75): pk_progress_cb: Progress Update 52
DEBUG: (actions.c, 75): pk_progress_cb: Progress Update 74
DEBUG: (actions.c, 14): eavs_progress_bar_cb: Update Progess bar status=2
progress=74
DEBUG: (actions.c, 42): eavs_progress_bar_cb: progress is 74
DEBUG: (actions.c, 75): pk_progress_cb: Progress Update 100

opkg: fork failed
DEBUG: (pkutil.c, 54): pk_connection_changed_cb: Connection changed event happened!!
DEBUG: (pkutil.c, 57): pk_connection_changed_cb: The daemon went away...DEBUG:
(actions.c, 14): eavs_progress_bar_cb: Update Progess bar status=2 progress=100
DEBUG: (actions.c, 14): eavs_progress_bar_cb: Update Progess bar status=2
progress=100
...
DEBUG: (actions.c, 14): eavs_progress_bar_cb: Update Progess bar status=2
progress=100
DEBUG: (actions.c, 14): eavs_progress_bar_cb: Update Progess bar status=2
progress=100
DEBUG: (actions.c, 14): eavs_progress_bar_cb: Update Progess bar status=2
progress=100

[1] + Segmentation fault packagekitd

comment:3 Changed 11 years ago by thomas@…

I haven't reproduced this on my desktop yet. Please recompile the packagekitd
packages with debugging enabled to produce a useful backtrace. This will be the
only way to debug the issue.

comment:4 Changed 11 years ago by thomas@…

I've just fixed a memory corruption issue with opkg, which could have been
related to this bug. I've also tested opkg with valgrind for both install and
remove actions, and it does not detect any memory issues.

Please try again with the latest version of opkg and if there is still a
problem, produce a backtrace with gdb.

comment:5 Changed 11 years ago by tick@…

  • Owner changed from thomas@… to allen_lin@…

Hi Allen,

Please verify if this issue is fixed.

Thanks,
Tick

comment:6 Changed 11 years ago by tick@…

  • Status changed from new to closed
  • Resolution set to fixed

bug fixed

comment:7 Changed 2 years ago by Kennescoma

Orlisatat <a href=http://zol1.xyz/zoloft-price.php>Zoloft Price</a> Generic Levitra From Canada Compare Viagra Canadian Costs <a href=http://kama1.xyz/kamagra-jelly-online.php>Kamagra Jelly Online</a> Prochlorperazine Best Price How To Mail Order Cheap Viagra <a href=http://cial5mg.xyz/buy-cialis-online.php>Buy Cialis Online</a> Propecia Effective Generic Finasteride Lasix Effets Secondaires <a href=http://zol1.xyz/getting-zoloft-overseas.php>Getting Zoloft Overseas</a> Vender Viagra Order Doxycycline No Prescription <a href=http://viag1.xyz/cheap-viagra-100mg.php>Cheap Viagra 100mg</a> Acheter Tadalis Sx Where Can I Buy Cialis Online Cheap <a href=http://cial1.xyz/low-price-cialis.php>Low Price Cialis</a> Viagra From Europe Domperidone From Sweden <a href=http://zoloft.ccrpdc.com/prices-zoloft.php>Prices Zoloft</a> Vente Misoprostol20mg Cialis Siti Sicuri <a href=http://priligy.ccrpdc.com/priligy-venta.php>Priligy Venta</a> Walmart Generic Drug List Buy Viagra Paypal Accepted <a href=http://lasix.ccrpdc.com/cheapest-lasix.php>Cheapest Lasix</a> Cialis 5 Mg Le Prix Worldwide Isotretinoin By Money Order In Usa Price <a href=http://zol1.xyz/zoloft-online-no.php>Zoloft Online No</a> Propecia Tener Hijos Sildenafil Citrate 100mg For Sale <a href=http://cial1.xyz/purchase-cheap-cialis.php>Purchase Cheap Cialis</a> Vanuatu Pharmacy Online Amoxicillin 500 Mg Capsule <a href=http://zol1.xyz/buy-cheap-generic-zoloft.php>Buy Cheap Generic Zoloft</a> Extra Super Viagra Keflex Dental Infection <a href=http://cial1.xyz/purchase-cheap-cialis.php>Purchase Cheap Cialis</a> Viagra Eis Gokshura <a href=http://kama1.xyz/low-cost-kamagra-online.php>Low Cost Kamagra Online</a> Viagra Comprare Acheter Cialis En Ligne Canada <a href=http://cial1.xyz/cheap-cialis-generic.php>Cheap Cialis Generic</a> buy accutane online cheap Achat De Kamagra En Pharmacie <a href=http://prednisone.ccrpdc.com/generic-deltasone-usa.php>Generic Deltasone Usa</a> Buy Finasteride 1mg Propecia Side Effects Kamagra By Ajanta Pharma <a href=http://priligy.ccrpdc.com/comprar-priligy-en-internet.php>Comprar Priligy En Internet</a> Glucophage Metformin Pastillas Cialis Levitra <a href=http://cial5mg.xyz/cialis-prices.php>Cialis Prices</a> Cephalexin For Toddlers Viagra Quanto Costa Farmacia <a href=http://viag1.xyz/best-generic-viagra.php>Best Generic Viagra</a> Viagra Durar Mas Viagra Online Kaufen Zollfrei <a href=http://zithromax.ccrpdc.com/price-generic-zithromax.php>Price Generic Zithromax</a> Cialis In Griechenland Online Canadian Pharmacy <a href=http://kama1.xyz/kamagra-online.php>Kamagra Online</a> Cheap Plavix Usa Purchase Generic Bentyl Dicyclomine Muscle Spasms Medication Tablet <a href=http://cytotec.ccrpdc.com/cytotec-buy-online.php>Cytotec Buy Online</a> Furasemidum To Buy Uk Discount Viagra Prescription <a href=http://cial5mg.xyz/cheap-cialis-tablets.php>Cheap Cialis Tablets</a> Viagra Et Nitrate Generic Propecia 5mg Pharmacy <a href=http://viag1.xyz/viagra-online-fast.php>Viagra Online Fast</a> But Lexapro Without A Script

Note: See TracTickets for help on using tickets.