[Click] Error compiling my package in Click for kernel level

Harkeerat Bedi hsbedi at memphis.edu
Thu Feb 9 19:45:19 EST 2012


OK. I will look into that. Just wanted to add that I have a b-tree
data-structure in my program. I also have a recursive function which I call
in my class's destructor to delete the b-tree from memory. However, I use
"new" and "delete" to perform allocations and de-allocations so I think
they work with heap.

I will try to look more in to it. Please let me know if you have any more
guesses. Thanks once again.

Regards,
Harkeerat Bedi
University of Memphis


On Thu, Feb 9, 2012 at 6:24 PM, Cliff Frey <cliff at meraki.com> wrote:

> Best guess is that you are destroying the stack somehow, perhaps you have
> a recursive function that is using too much stack space?  But that's just a
> guess.
>
> Cliff
>
> On Thu, Feb 9, 2012 at 4:22 PM, Harkeerat Bedi <hsbedi at memphis.edu> wrote:
>
>> I don't know yet. But the crash occurs every time I execute
>> "click-uninstall". My whole system just hangs and then I have to manually
>> reboot it.
>>
>> I do not get a dmesg output every time this crash occurs. But when I do,
>> it is similar to this:
>>
>> [  866.396418] click: starting router thread pid 3408 (f6892f00)
>> [  866.403373] chatter: initialize(): queueCapacity 2000
>> [  877.466474] BUG: scheduling while atomic:
>> click-uninstall/3632/0x1360312f
>> [  877.466478] Modules linked in: myelementpackage click proclikefs
>> vmhgfs vsock vmmemctl acpiphp rfcomm binfmt_misc sco bridge stp bnep l2cap
>> snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss
>> snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi
>> snd_seq_midi_event snd_seq ppdev snd_timer snd_seq_device psmouse serio_raw
>> btusb fbcon tileblit font bitblit softcursor bluetooth joydev parport_pc
>> snd soundcore snd_page_alloc intel_agp lp parport shpchp i2c_piix4 vmci
>> vga16fb vgastate agpgart pcnet32 mptspi usbhid hid floppy vmxnet mptscsih
>> mii mptbase scsi_transport_spi vmw_pvscsi vmxnet3
>> [  877.466516] Pid: 3632, comm: click-uninstall Not tainted
>> 2.6.32-38-generic #83-Ubuntu
>> [  877.466518] Call Trace:
>> [  877.466529]  [<c013f6e2>] __schedule_bug+0x72/0x80
>> [  877.466535] BUG: unable to handle kernel paging request at 000424d1
>> [  877.466537] IP: [<c0106a91>] print_context_stack+0x81/0x110
>> [  877.466541] *pde = 32128067 *pte = 00000000
>>
>


More information about the click mailing list