Page 2 of 3

Re: problemi con rpmdrake in rosa 2012.1

Posted: 27 December 2012, 6:09
by azioga
Stefano1956 ha una macchina a 64 bit e stessi problemi.

Ciao, Luca.

Re: problemi con rpmdrake in rosa 2012.1

Posted: 27 December 2012, 10:47
by NicCo
Interessante l'ultima considerazione di Akiro:

Chiedo a chi ha avuto problemi con rpmdrake:
trattasi solo di installazioni di Fresh 32bit?

Re: problemi con rpmdrake in rosa 2012.1

Posted: 27 December 2012, 11:15
by GiuX
Io installato solo software x86-64 e mai dato problemi (a parte la questione dei servizi...)

Re: problemi con rpmdrake in rosa 2012.1

Posted: 27 December 2012, 11:57
by azioga
Ma li leggete i post? ;)

Stefano ha macchina a 64 bit e miei stessi problemi.

Ciao.

Re: problemi con rpmdrake in rosa 2012.1

Posted: 27 December 2012, 12:09
by NicCo
Accade sia in 32 che 64, ma su alcuni hardware...

@Azioga
Con i dati che hai fornito, sono state fatte simulazioni, ma l'errore non si è verificato...

Mentre tanti altri problemi sono facili da riprodurre e successivamente correggere,
questo é veramente un problema abbastanza tosto, e alquanto difficile da scoprire

Re: problemi con rpmdrake in rosa 2012.1

Posted: 27 December 2012, 12:13
by azioga
A me succede in Vbox.
E mi sembra molto strano che dipenda dall'hardware.

Ciao.

Re: problemi con rpmdrake in rosa 2012.1

Posted: 27 December 2012, 13:57
by azioga
Ho fatto anche un'altra prova.

Ricostruito il db(dopo aver rimosso i __db.*).
rpmdrake di un rpm a caso(avidemux)

e core dumped :evil:

questa l'ultima parte dello strace:
....
....
4379 clock_gettime(CLOCK_MONOTONIC, {1189, 753356225}) = 0
4379 poll([{fd=7, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)
4379 clock_gettime(CLOCK_MONOTONIC, {1189, 753412621}) = 0
4379 lstat64("/usr/share/locale/zh_TW/LC_MESSAGES/avidemux.mo", {st_mode=S_IFREG|0644, st_size=149745, ...}) = 0
4379 open("/usr/share/locale/zh_TW/LC_MESSAGES/avidemux.mo", O_RDONLY|O_LARGEFILE) = 27
4379 fcntl64(27, F_SETFD, FD_CLOEXEC) = 0
4379 mmap2(NULL, 149745, PROT_READ, MAP_SHARED, 27, 0) = 0xa483c000
4379 munmap(0xa483c000, 149745) = 0
4379 close(27) = 0
4379 rename("/usr/share/locale/zh_TW/LC_MESSAGES/avidemux.mo;50dc2b12", "/usr/share/locale/zh_TW/LC_MESSAGES/avidemux.mo") = 0
4379 getuid32() = 0
4379 getuid32() = 0
4379 chown32("/usr/share/locale/zh_TW/LC_MESSAGES/avidemux.mo", 0, 0) = 0
4379 chmod("/usr/share/locale/zh_TW/LC_MESSAGES/avidemux.mo", 0644) = 0
4379 utime("/usr/share/locale/zh_TW/LC_MESSAGES/avidemux.mo", [2012/11/01-10:31:58, 2012/11/01-10:31:58]) = 0
4379 munmap(0xa4861000, 8392704) = 0
4379 _llseek(26, 3830197, [3830197], SEEK_SET) = 0
4383 <... poll resumed> ) = ? ERESTART_RESTARTBLOCK (To be restarted)
4383 --- {si_signo=SIGALRM, si_code=SI_KERNEL} (Alarm clock) ---
4383 --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x69c} (Segmentation fault) ---
4383 --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x4b8} (Segmentation fault) ---
4379 +++ killed by SIGSEGV (core dumped) +++

Re: problemi con rpmdrake in rosa 2012.1

Posted: 27 December 2012, 14:18
by rugyada
@ Luca:
sappi che tutti i tuoi report li sto inoltrando/segnalando.
FYI

Re: problemi con rpmdrake in rosa 2012.1

Posted: 27 December 2012, 15:29
by azioga
ultima per oggi:

ho il problema anche rimuovendo i pachetti.
...
...
...
5707 open("/var/lib/rpm/installed-through-deps.list", O_RDONLY|O_LARGEFILE) = 16
5707 ioctl(16, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0xbf954c78) = -1 ENOTTY (Inappropriate ioctl for device)
5707 _llseek(16, 0, [0], SEEK_CUR) = 0
5707 fstat64(16, {st_dev=makedev(8, 1), st_ino=259321, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=40, st_size=20177, st_atime=2012/12/27-11:50:49, st_mtime=2012/12/26-13:52:22, st_ctime=2012/12/26-13:52:22}) = 0
5707 fcntl64(16, F_SETFD, FD_CLOEXEC) = 0
5707 read(16, "a2ps\nabrt\nakonadi\nakonadi-archiv"..., 8192) = 8192
5707 read(16, "nssd4\nlibkemoticons4\nlibkephal4\n"..., 8192) = 8192
5707 read(16, <unfinished ...>
5711 <... poll resumed> ) = ? ERESTART_RESTARTBLOCK (To be restarted)
5711 --- {si_signo=SIGALRM, si_code=SI_KERNEL} (Alarm clock) ---
5711 --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x69c} (Segmentation fault) ---
5711 --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x4b8} (Segmentation fault) ---
5707 +++ killed by SIGSEGV (core dumped) +++
Ciao, Luca.

Re: problemi con rpmdrake in rosa 2012.1

Posted: 28 December 2012, 11:37
by rugyada
Ricopio parte della richiesta di ulteriori informazioni ricevuta:

Could the users provide more details about what they did at these steps, which commands were executed, etc. All info they think is important could be helpful here.

3.
It seems, that some of the users encountered that problem when running ROSA in VirtualBox. If so, could they post the configuration of their VBox VM? At least, the amount of RAM, number of CPUs, size of HDDs.

4.
To make crash dumps more useful, could the users install the packages with debug info, at least, "perl-URPM-debuginfo" and, just in case, "rpm-debuginfo"?

If the crash happens again, it will (hopefully) be possible to get at least a reasonable backtrace from the crash dumps.


Regards,
Eugene

Riusciamo a scrivere in inglese o in doppia lingua per agevolare la lettura degli sviluppatori di ROSA?

Chi non può scriva in italiano e poi Nicco o io proveremo a mettere sotto la traduzione.

Re: problemi con rpmdrake in rosa 2012.1

Posted: 28 December 2012, 15:41
by azioga
if i execute rpmdrake from konsole like superuser, sometimes i receive a segfault.
i'm not able to reproduce this from systemsettings->rpmdrake...strange, but true.


so i open a konsole
switch to su
# rpmdrake
the form starts
here , adding/deleting packages, frequently the program segfault

this in a vbox vm - https://dl.dropbox.com/u/41326823/vbox.png

after the rpm db is often corrupted and i have to rebuild it.

here is a coredump file with debug packages installed: https://dl.dropbox.com/u/41326823/core.7697.tar.gz

ciao, Luca.

Re: problemi con rpmdrake in rosa 2012.1

Posted: 28 December 2012, 21:36
by ominomichelin
Salve.
Scusate se mi intrometto e un problema che l'ho riscontrato dalla alfa, pensavo fosse isolato
sulle mie macchine e dopo un paio di mail di avvertimento ho smesso , ma vedo che viene riproposto
ciclicamente , quindi sbagliavo.
Unico modo sicuro per rigenerare la berkley db. in 2012.1 e rebuildare il db sui nuovi indici quindi:

Code: Select all

perl -MURPM -e 'URPM::DB::convert("/", "btree", 1, 1)'
e in base alla vostra CPU dura da 2 minuti a 15 .

OT:
Colgo l'occasione di fare gli auguri a quelli che mi conoscono .

Re: problemi con rpmdrake in rosa 2012.1

Posted: 9 January 2013, 16:39
by euspectre
Hi,
azioga wrote: so i open a konsole
switch to su
# rpmdrake
the form starts
here , adding/deleting packages, frequently the program segfault

this in a vbox vm - https://dl.dropbox.com/u/41326823/vbox.png
Thank you for the additional info.
I have prepared a VM with such settings and reproduced the crash. I'll try to figure out what is going wrong.

Regards,
Eugene

Re: problemi con rpmdrake in rosa 2012.1

Posted: 18 January 2013, 10:39
by euspectre
Perhaps, I have found what causes rpmdrake to crash. The problem seems to be in the GUI rather than in the code working with the DB.

Could you check the following fix:

1. Open /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/pkg.pm in a text editor and remove or comment out the following statement (should be on the line 643):

Code: Select all

my $_flush_guard = Gtk2::GUI_Update_Guard->new;
2. Save the file then start rpmdrake as root as you did before, try to install or remove some packages. See if it crashes this time.

3. Start rpmdrake as usual (that is, from KDE Control Center) and also install or remove some packages.

That code at pkg.pm:643 was introduced in 2007 to fix the problem described here: https://qa.mandriva.com/show_bug.cgi?id=15408 ("Rpmdrake doesn't refresh windows when installing or downloading packages"). However, after I have removed that " Gtk2::GUI_Update_Guard" stuff mentioned above, I still cannot reproduce that problem with UI refresh, everything seems to be fine.

Could you also check if covering the window of rpmdrake with another window while install is in progress prevents the refresh (update, redraw) of the progressbar and the main window of rpmdrake?

If everything is OK, we'll apply this fix to our official rpmdrake package.

Re: problemi con rpmdrake in rosa 2012.1

Posted: 18 January 2013, 11:45
by azioga
Hi,

1) i have modified the line 643
2) executing rpmdrake as root, i have no problem now(this was the only case i had crashes)
3) executing from kde control center i have no problem as before
4) covering the window of rpmdrake the refresh is ok for me

it seems fixed !

Thanks, Luca.