Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2970 closed defect (fixed)

imagebuilder's ipkg script incompatible with busybox ipkg - causes ipkg segmentation fault

Reported by: ksc Owned by: developers
Priority: normal Milestone: Kamikaze 8.09 RC1
Component: other Version:
Keywords: Cc:

Description

Using the imagebuilder in trunk, the /usr/lib/ipkg/status generated is not compatible with busybox's ipkg.

ipkg install <anything> or ipkg remove <anything> causes segmentation fault

After deleting /usr/lib/ipkg/status, I can install/remove packages

Attachments (0)

Change History (7)

comment:1 Changed 10 years ago by Davide Guerri <d.guerri@…>

It should be resolved by r10091.
ipkg incorrectly parse "conffiles" sections in status file.

comment:2 follow-up: Changed 10 years ago by ksc

I thought so too, I'm using r10113 and I'm getting the problem. It's not the conffiles problem, I tried deleting all conffiles entries and still segfault.

I'm adding a couple of packages along with the default packages if it helps. Thanks

comment:3 in reply to: ↑ 2 Changed 10 years ago by Davide Guerri <d.guerri@…>

Replying to ksc:

I thought so too, I'm using r10113 and I'm getting the problem. It's not the conffiles problem, I tried deleting all conffiles entries and still segfault.

I'm adding a couple of packages along with the default packages if it helps. Thanks

Actually I still have problems with the upgrading of base-file-x86 (ipkg segfaults) but package installation/removal now works here (x86).

Could you please provide your status file?

comment:4 Changed 10 years ago by Davide Guerri <d.guerri@…>

I know nbd will kill me for this... however...
The second chunk of the memleak patch causes the segfaults (at least for the upgrading)
pkg_free_installed_files(pkg); frees a string used later by pkg_hash.c::file_hash_set_file_owner()

ksc: maybe your problem is the same as mine... could you try to recompile busybox removing the second chunk of the patch 522-memleak.patch?

comment:5 Changed 10 years ago by ksc

Thanks, I'll post my status file tomorrow and also try out busybox without the 522-memleak.patch. Will report back

comment:6 Changed 10 years ago by florian

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

Fixed with [10125]

comment:7 Changed 10 years ago by ksc

Confirmed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.