Re: Cause of g-i crashing on AMD64 at VT switch found

2006-11-28 Thread Davide Viti
On Tue, Nov 28, 2006 at 12:42:03PM +0100, Attilio Fiandrotti wrote:
> Yesterday i tried to dig a bit some more in this issue, but i had no luck.
> It looks like libgcc is needed on AMD64 only, on i386 i culd not find 
> this library in the ISO, and i wonder why AMD64 differs from i386.
> I haven't the skills to solve this issue, so if no one comes at rescue 
> i'll ask d-gcc guys, who maintain libgcc.

googling a bit shows that many ppl reported problems related to pthread_cancel()

See for example:

#360933
#294322
http://lists.debian.org/debian-amd64/2004/10/msg00046.html

just looking for "libgcc_s.so.1 must be installed for pthread_cancel to work"
brings up a lot of messages

regards,
Davide


signature.asc
Description: Digital signature


Re: Cause of g-i crashing on AMD64 at VT switch found

2006-11-28 Thread Attilio Fiandrotti

Attilio Fiandrotti wrote:

Hi

i recently put my hands on an AMD64 machine, so i had the chance to run 
the installer from a chroot and i noticed that the crash produces this log


libgcc_s.so.1 must be installed for pthread_cancel to work
(!) [ 5905:0.000] --> Caught signal 6 (unknown origin) <--
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

adding this library (and full libc) to the chroot prevents the crash.


Yesterday i tried to dig a bit some more in this issue, but i had no luck.
It looks like libgcc is needed on AMD64 only, on i386 i culd not find 
this library in the ISO, and i wonder why AMD64 differs from i386.
I haven't the skills to solve this issue, so if no one comes at rescue 
i'll ask d-gcc guys, who maintain libgcc.


cheers

Attilio



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cause of g-i crashing on AMD64 at VT switch found

2006-11-25 Thread Jérôme Marant
Le vendredi 24 novembre 2006 15:01, Attilio Fiandrotti a écrit :
> Hi
> 
> i recently put my hands on an AMD64 machine, so i had the chance to run 
> the installer from a chroot and i noticed that the crash produces this log
> 
> libgcc_s.so.1 must be installed for pthread_cancel to work
> (!) [ 5905:0.000] --> Caught signal 6 (unknown origin) <--
> libgcc_s.so.1 must be installed for pthread_cancel to work
> Aborted
> 
> adding this library (and full libc) to the chroot prevents the crash.
> 
> Try this by yourself
> 
> - boot an amd64 image with DEBIAN_FRONTEND=newt
> - proceed with installation process until full libc6 is unpacked
> - wget libgcc_s.so.1 into the installer
> - export DEBIAN_FRONTEND=gtk
> - debian-installer
> 
> now you should be able to chvt without crashing anymore.

Thanks for finding this bug!

I didn't know that you could change the frontend on the fly.
So you interrupted it right after installing the libc and
restarted after changing the frontend?

-- 
Jérôme Marant


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cause of g-i crashing on AMD64 at VT switch found

2006-11-25 Thread Attilio Fiandrotti

Jérôme Marant wrote:

Le vendredi 24 novembre 2006 15:01, Attilio Fiandrotti a écrit :


Hi

i recently put my hands on an AMD64 machine, so i had the chance to run 
the installer from a chroot and i noticed that the crash produces this log


libgcc_s.so.1 must be installed for pthread_cancel to work
(!) [ 5905:0.000] --> Caught signal 6 (unknown origin) <--
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

adding this library (and full libc) to the chroot prevents the crash.

Try this by yourself

- boot an amd64 image with DEBIAN_FRONTEND=newt
- proceed with installation process until full libc6 is unpacked
- wget libgcc_s.so.1 into the installer
- export DEBIAN_FRONTEND=gtk
- debian-installer

now you should be able to chvt without crashing anymore.



Thanks for finding this bug!

I didn't know that you could change the frontend on the fly.
So you interrupted it right after installing the libc and
restarted after changing the frontend?



I think this starts two main-menu instances in parallel, but one could 
set global the DEBIAN_FRONTEND variable and then kill mainmenu (wrapped) 
to see if it's possible having one single main-menu instance running.


cheers and thanks for all your efforts in debugging this :)

Attilio


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]