Ticket #349 (closed defect: fixed)

Opened 17 months ago

Last modified 8 months ago

Samsredir coredumps (ALTLinux Master 4.1 / VMWare)

Reported by: Dmitriy Litovchin <dmitriy.litovchin@…> Owned by: DmitryChemerik
Priority: major Milestone: sams-1.1.0
Component: redirectors Version: 1.0.4
Keywords: Cc:

Description

Приветствую!
Есть виртуальная машина с поднятым оригинальным ALTLinux Master 4.1. Ставлю sams-1.0.4-alt0.M40.1 из репозитория, всё по инструкции.
Работает всё, за исключением samsredir - он постоянно вываливается в coredump. Пример:

[root@linux-proxy soft]# echo -n 'http://ya.ru 127.0.0.1/- username get' | /usr/bin/samsredir -d
Connected database: squidctrl:localhost user=sams
authentification: IP addr
Get SAMS users: 0 users found

Search URL lists in the users templates: found 0 URL lists

Sorting URL lists in the users templates: found 5 URL lists
Found 1 URL in the SAMS URL lists
Segmentation fault

[root@linux-proxy soft]# echo -n 'http://ya.ru 127.0.0.1/- username get' | /usr/bin/samsredir -d
Connected database: squidctrl:localhost user=sams
authentification: IP addr
Get SAMS users: 1 users found
  0:       localhost                 127.  0.  0.  1  1    49ee41a48c90c 1111111 0 - 1439 1 0 0 0

Search URL lists in the users templates: found 0 URL lists

Sorting URL lists in the users templates: found 5 URL lists
Found 1 URL in the SAMS URL lists
Segmentation fault

Пробовал брать 1.0.4 и 1.0.5 в сорцах и собирать - ровно такой же эффект.

[root@linux-proxy soft]# uname -a
Linux linux-proxy.lab 2.6.18-ovz-smp-alt14 #1 SMP Tue Apr 2 12:30:15 MSD 2009 i686 GNU/Linux

Attachments

Change History

Changed 8 months ago by DmitryChemerik

  • status changed from new to closed
  • resolution set to wontfix

Както натыкался на такое с Альтом, вылечилось пересборкой sams из исходников. Криво был собран. Нужно пересобрать rpm.

Changed 8 months ago by DmitryChemerik

  • status changed from closed to reopened
  • resolution wontfix deleted

не, тут в другом проблема не работает функция trim, разбираюсь в чем дело

Changed 8 months ago by DmitryChemerik

  • status changed from reopened to closed
  • resolution set to fixed

пофиксил

интересно, почему в других дистрибутивах это не проявляется...

Changed 8 months ago by PavelVinogradov

  • milestone changed from sams-1.0.5 to sams-1.1.0

Add/Change #349 (Samsredir coredumps (ALTLinux Master 4.1 / VMWare))

Author


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


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.