![]() |
Re: [Announce] kernel-power stable v53 in Extras Testing
Quote:
Yeah... googling the errors did not help, so that is why I thought that it is maybe a solution to compile other packages - not to mention that you suggested and hoped that if I'm lucky maybe I would not have to... :) Apparently I do have to... :) So thanks again for your suggestions and links, I shall try... Giving up on tweaking n900...? Never... :D I was thinking about these packages btw. (fcamera depends on these, and these packages are depending on libc6 and/or libglib2.0): Libjpeg62 6b-9osso6+0m5, Libpulse0 0.9.15-1maemo27+0m5, Libqt4-core 4.5.3~git20090723-0maemo4+0m5, Libqt4-gui 4.5.3~git20090723-0maemo4+0m5, Libstdc++6 4.6.1-maemo6. Update 20190122:// Now that I investigate it more I do not find source packages for those... |
Re: [Announce] kernel-power stable v53 in Extras Testing
So... Here is the output gdb gave me:
Code:
fcamera[2273]: GLIB CRITICAL ** GLib-GObject - g_object_get: assertion `G_IS_OBJECT (object)' failed Running fcamera from terminal says: Code:
FCam Error: Error creating daemon setter thread: -1 I tried to recover the line in question (i.e. 2273) from fcamera executable but I really do not know how to do that (converting does not help; tried with hexdump, xxd; even tried with strings command). It would be good to know which part of the source code gave that particular line but... I do not know how to do that or even if it is possible at all (maybe we could identify which part of the code causes that GLib error). Now I'm stuck again... :) |
Re: [Announce] kernel-power stable v53 in Extras Testing
@justmemory
I think gdb raises this sigabort with help of libc. So it was initiate by yourself. To get more information you need to recompile fcamera without code optimization, so without -O2 and activate debug information -g or -g3. Furthermore you should avoid to strip your binary. If you are in doubt please post your makefile. The binary get stripped by dpkg, when compiling a deb file (rules: dh_strip). So don't make a deb only compile fcamera with right gcc flags and copy the binary. For gcc flags it could be enough to change in the project file: Code:
line 44: CONFIG += release warn_on Code:
CONFIG += debug warn_on |
Re: [Announce] kernel-power stable v53 in Extras Testing
1 Attachment(s)
Quote:
Code:
fcamera[11826]: GLIB CRITICAL ** GLib-GObject - g_object_get: assertion `G_IS_OBJECT (object)' failed I run with these commands: - in terminal: Code:
gdb --args path_to_fcamera G_DEBUG=fatal-warnings G_DEBUG=fatal-criticals Code:
set env G_DEBUG=fatal-criticals Code:
run |
Re: [Announce] kernel-power stable v53 in Extras Testing
gdb backtrace?
|
Re: [Announce] kernel-power stable v53 in Extras Testing
Quote:
Executing backtrace command inside gdb it says: Code:
#0 0x40ff097c in raise () from /lib/libc.so.6 One other thing: I installed the previously built fcamera deb package to my other n900 which has libc version 2.5.1 and it runs without any issue... For me it is strange because that version was built against libc version 2.10 so I do not understand how can that be that it could run on that device if it does not on the other... As I understand from fcamera code it uses pthread, open, fprint and other libc6 related stuff but I can't imagine that would be a problem. On the other side Halftux said that maybe i should compile other related packages (libjpeg62 for example) but I cannot find source for those... Should I try with debian versions...? Update:// OK, I think I made a step forward (I do not understand what the errors might mean though - since I'm not very familiar with C language). In the FCam API (i.e. fcam-dev source) there are examples. So I simply gave the make command for example1 and run it. It did not gave glib errors but had the daemon setter creating error so I run it with gdb. The message from that is: Code:
0x400649f0 in sem_wait () from /lib/libpthread.so.0 Code:
#0 0x400649f0 in sem_wait () from /lib/libpthread.so.0 |
Re: [Announce] kernel-power stable v53 in Extras Testing
@justmemory that is something.
For investigating the problem I need to study the source code from libc and libglibc. Looks like the problem is deep in the system and thread related. Can you post what packages and in which order you already recompiled them against the new libc? |
Re: [Announce] kernel-power stable v53 in Extras Testing
Quote:
First I recompiled fcam-drivers then fcamera. For only building fcamera I installed fcam-dev but since I did not find the libs and headers I downloaded the fcam-dev source and specified the FCam directory in the .pro file. Quote:
|
Re: [Announce] kernel-power stable v53 in Extras Testing
Hi - having troubles installing kernel power.
Transferred an old backup to a 'new' N900 with backup menu. That has stock kernel, so used HAM to install the kernel-power-flasher. Seemed to work fine, but after restarting the old kernel is still active (uname -a -> 2.6.28-omap1 #PREEMPT ) Also tried to uninstall and install a few times https://wiki.maemo.org/Kernel_Power#...g_kernel-power Every time the same result. Any suggestions? |
Re: [Announce] kernel-power stable v53 in Extras Testing
Solved it.
First apt-get install --reinstall -y kernel-power kernel-power-modules rebooted and then apt-get install --reinstall -y kernel-power-flasher rebooted again now uname -a results in 2.6.28.10-omap1-power53 #PREEMPT... |
All times are GMT. The time now is 08:13. |
vBulletin® Version 3.8.8